Opened 11 years ago
Last modified 6 years ago
#2689 assigned defect
mapping of zero crossings to equations does not work properly — at Initial Version
Reported by: | Lennart Ochel | Owned by: | probably noone |
---|---|---|---|
Priority: | high | Milestone: | 2.0.0 |
Component: | Backend | Version: | trunk |
Keywords: | Cc: | Martin Sjölund, Willi Braun |
Description
The mapping from zero crossings to equations does not work as soon as a model get split up into various equation systems (partitioning). The zero crossing contains only a equation index but no information about the appropriate equation system. The issue can be reproduced using the following model:
model test1 Boolean a; Real b(start=0.7, fixed=true); equation der(b) = if b > 0 then -1 else 1; a = time < 0.5 or time < 0.6; end test1;
The debugger pinpoints to a = time < 0.5 or time < 0.6
instead of der(b) = if b > 0 then -1 else 1
. If both equations get reordered the debugger pinpoints to the correct equation.
Note:
See TracTickets
for help on using tickets.