I am integrating a relative small Finite Element (FE) model into Modelica. In doing so, I created a Model (Modelica class) that can read the mass (M) and stiffness (K) matrix in
Starting from Dymola 2015 FD01 you can set Advanced.CompileBigObject=true; inside Dymola - i.e. no need to modify the bat-files.
Advanced.CompileBigObject=true;
It didn't work when the original question was asked, but if someone else has the same problem that should be more convenient.