Opened 6 years ago
Last modified 4 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)
Change History (4)
by , 6 years ago
| Attachment: | TestDaeMode.mo added |
|---|
comment:1 by , 5 years ago
| Milestone: | 1.16.0 → 1.17.0 |
|---|
comment:2 by , 5 years ago
| Milestone: | 1.17.0 → 1.18.0 |
|---|
Retargeted to 1.18.0 because of 1.17.0 timed release.

Retargeted to 1.17.0 after 1.16.0 release