Opened 10 years ago

Closed 4 years ago

#2963 closed defect (worksforme)

Assert within Initial Equation triggers during simulation

Reported by: andreas.hofmann7@… Owned by: somebody
Priority: high Milestone: Future
Component: *unknown* Version: trunk
Keywords: Cc:

Description

Hi everyone,

find attached an example where an assert within an initial equation is triggered during simulation time.
Is this intended?

Best regards,
Andreas

Attachments (1)

OMCFailureProvoking.mo (719 bytes ) - added by andreas.hofmann7@… 10 years ago.
example model

Download all attachments as: .zip

Change History (2)

by andreas.hofmann7@…, 10 years ago

Attachment: OMCFailureProvoking.mo added

example model

comment:1 by Andreas Heuermann, 4 years ago

Resolution: worksforme
Status: newclosed

Is this intended?

No it's not.

I tested this example again with v1.17.0-dev and -d=newInst and no assert is triggered. So it was fixed in the meantime.
Closing this issue. If you find the issue to still be relevant please open a new issue.

Note: See TracTickets for help on using tickets.