Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Results "mat" file not closed properly

Results "mat" file not closed properly

When I use  simulate(amodel)  the mat file appears to be left in corrupted state when the simulation either aborted or when the solver fails to converge and aborts the integration.  If I use csv output however, I am able to read the results upto the point where the integration was successful.

I suspect that with "mat" file format unclean closure of the file and this probably can be addressed if the results file is closed between writes on each successful time step is written.

Any comments on this matter would be much appreciated.


The behavior I refer to is on a Linux platform.  I have no idea if this happens in windows environment.

There are 0 guests and 0 other users also viewing this topic
You are here: