Opened 5 years ago

Closed 4 years ago

#5599 closed defect (fixed)

Backend rerun initial if equation with assert at reinit phase

Reported by: Sven Bätzing <Sven.Baetzing@…> Owned by: Lennart Ochel
Priority: blocker Milestone: 2.0.0
Component: Backend Version: v1.14.0-dev-nightly
Keywords: Cc:

Description (last modified by Francesco Casella)

There seems to be a related bug with the initial if equation with assert (#5294). In total it is working now, but while reinitialization (e.g. inside a when clause) these asserts are checked additionally even its not a when initial() statement.
So simulation time is great zero but initial asserts are checked.

Attachments (1)

initialasserts.zip (1.5 KB ) - added by Sven Bätzing <Sven.Baetzing@…> 5 years ago.

Download all attachments as: .zip

Change History (5)

by Sven Bätzing <Sven.Baetzing@…>, 5 years ago

Attachment: initialasserts.zip added

comment:1 by Francesco Casella, 5 years ago

Description: modified (diff)

comment:2 by Francesco Casella, 5 years ago

Milestone: 1.14.02.0.0
Priority: highblocker

Probably uncritical for most users, but yet totally wrong behaviour, should be fixed in 2.0.0

comment:3 by Niklas Worschech, 5 years ago

Because of this error in our library about 4% of the test models do not work.For the OpenModelica support of our library this fix is essential. Therefore it would be important if the bug could be fixed before 2.0.0.

comment:4 by Karim Adbdelhak, 4 years ago

Resolution: fixed
Status: newclosed

The minimal model is fixed with PR6709 so i will close this ticket.

@Niklas, if your problems still exist please reopen this ticket if it is related or open a new one, if the problem has a different origin!

Note: See TracTickets for help on using tickets.