Opened 5 years ago

Last modified 3 years ago

#5865 new defect

Missing transformational debugger information for $cse implicit equations

Reported by: Francesco Casella Owned by: Karim Adbdelhak
Priority: high Milestone:
Component: Backend Version:
Keywords: Cc: Martin Sjölund

Description

Please run the attached test case with the OMEdit transformational debugger.

The debugger shows the chain of symbolic transformations and a pointer to the original equation in the source code. However, this does not happen in the case of implicit equations defining the CSE variables. In standard odeMode, this happens for

(residual) $cse2 - TestDaeMode.sq(w12, 0.01) = 0
(residual) $cse1 - TestDaeMode.sq(w34, 0.01) = 0

while in daeMode (uncomment the vendor annotation to get it) this happens for

(assign) $DAEres5 := TestDaeMode.sq(w34, 0.01) - $cse1
(assign) $DAEres0 := TestDaeMode.sq(w12, 0.01) - $cse2

I guess this requires fixing one specific point of the backend or code generation, though I have no idea exactly where. I hope these two test cases allow to pinpoint the exact location easily.

Attachments (1)

TestDaeMode.mo (705 bytes ) - added by Francesco Casella 5 years ago.

Download all attachments as: .zip

Change History (4)

by Francesco Casella, 5 years ago

Attachment: TestDaeMode.mo added

comment:1 by Francesco Casella, 4 years ago

Milestone: 1.16.01.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:2 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:3 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.