IDA is allocating a lot

In general, for DAEs, IDA is the only solver that actually works (e.g. callback support).