Opened 9 years ago

Closed 7 years ago

Last modified 7 years ago

#3628 closed defect (fixed)

Model simulation breaks since commit 7dfbb01

Reported by: palm86@… Owned by: Lennart Ochel
Priority: high Milestone: 1.13.0
Component: Backend Version:
Keywords: Cc:

Description

OM properly simulates my model up until commit c3dd385, but breaks on 7dfbb01. I have tried to pull out as many parts of my model as possible to arrive at a minimal failing model. Attached is my attempt. I realize that it is still rather big.

I've noticed that if I substitute a certain parameter with its value (which happens to be 0.0), the model simulates again. Mathematically the models are identical. Attached is the original model (TransformationUnsorted.mo) and also the model in which the parameter has been substituted with its value (TransformationSubstituted.mo).

Moreover, if I sort the variable and parameter declarations, the model results are different. Attached is also the TransformationSorted.mo file.

I apologize for the large model, I tried to reduce it even further, but the bug started disappearing after making even seemingly simple replacements, for instance, consider equations of the form:

a + b = 0

Replacing a with -b, would sometimes "fix" the model again.

Attachments (3)

TransformationSorted.mo (3.3 KB ) - added by anonymous 9 years ago.
TransformationUnsorted.mo (3.3 KB ) - added by anonymous 9 years ago.
TransformationSubstituted.mo (3.3 KB ) - added by anonymous 9 years ago.

Download all attachments as: .zip

Change History (6)

by anonymous, 9 years ago

Attachment: TransformationSorted.mo added

by anonymous, 9 years ago

Attachment: TransformationUnsorted.mo added

by anonymous, 9 years ago

comment:2 by Patrick Täuber, 7 years ago

Resolution: fixed
Status: newclosed

This issue seems to be fixed by now.

comment:3 by Adrian Pop, 7 years ago

Milestone: Future1.13.0
Note: See TracTickets for help on using tickets.