The trace generation fails for the following models. This affects 4.1.1 but not 4.0.8.
Created attachment 224 [details] Model file 1
Created attachment 225 [details] Query file 1
Created attachment 226 [details] Model file 2
Created attachment 227 [details] Query file 2
Fixed in rev. 4404. The bug was introduced in rev. 4261.