Opened 16 years ago
Last modified 8 years ago
#1228 closed defect
Backend fails on when equations — at Version 2
| Reported by: | Martin Sjölund | Owned by: | Willi Braun |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Backend | Version: | 1.6.0 |
| Keywords: | Cc: | Lennart Ochel |
Description (last modified by )
Backend fails to generate residuals for the following Modelica code:
model WhenValidResult Real x,y; equation x + y = 5; when sample(0,2) then y = 7 - 2*x; end when; end WhenValidResult;
Note: Changing the problem slightly does change the error messages from the backend.
x = y-5 removes "findDiscreteEquation failed, searching for $x" for example.
From forums: http://www.openmodelica.org/index.php/forum/topic?id=64&p=1#p284
Change History (2)
comment:1 by , 11 years ago
| Cc: | added; removed |
|---|---|
| Component: | Simulation Code Generation → Backend |
| Milestone: | → 1.9.1 |
| Owner: | changed from to |
| Status: | accepted → assigned |
comment:2 by , 11 years ago
| Description: | modified (diff) |
|---|
Note:
See TracTickets
for help on using tickets.
