Hi,

I have a model that I just exported as an FMU (2.0). It is, however, way too slow using pyFMI to be practically usable. It takes ten minutes to reach one model second, quite long when I want to model a full day (24 hrs, 24*3600 seconds). The model is not very big, less than 1000 equations, mostly Real variables and some components with Fluid and Media stuff.

The funny thing is, I have a similar model that is superfast, it solves 1000s in about one second (wall time). This model does not contain any transient input so I run it to steady-state, so this is a difference.

But the transient effects are not very large in the newer model. It runs fine under Wolfram SystemModeler and modeling a full 24 hrs takes a minute or so.

Any tips from someone regarding solver settings that might speed things up?