Opened 14 years ago
Closed 11 years ago
#1585 closed enhancement (duplicate)
mixed system involving algorithms or other complex-equations
| Reported by: | jlettau | Owned by: | Willi Braun |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Backend | Version: | |
| Keywords: | Cc: | Lennart Ochel |
Description (last modified by )
function int2real
input Integer inp;
output Real outp;
protected Real a = 1.0;
algorithm
outp := inp * a;
end int2real;
model bug
Integer t;
Boolean b;
Real r1;
equation
b = r1>0;
t = if edge(b) then r1 else t;
r1=int2real(t);
end bug;
error message
Error processing file: simple.mo Error: Internal error BackendDAETransform.findDiscreteEquation failed. Your model contains a mixed system involving algorithms or other complex-equations. Sorry. Currently are supported only mixed system involving simple equations and boolean variables. Try to break the loop by using the pre operator. Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed Error: Internal error sorting equations(strongComponents failed) Error: Internal error Transformation Module sort components failed! # Error encountered! Exiting... # Please check the error message and the flags. Execution failed!
Change History (5)
comment:1 by , 14 years ago
comment:2 by , 13 years ago
| Cc: | added; removed |
|---|---|
| Component: | → Backend |
| Description: | modified (diff) |
| Priority: | blocker → major |
| Type: | defect → enhancement |
comment:3 by , 13 years ago
| Description: | modified (diff) |
|---|---|
| Summary: | error message running makefile → mixed system involving algorithms or other complex-equations |
comment:4 by , 13 years ago
| Cc: | added; removed |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
comment:5 by , 11 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | assigned → closed |
It's about adding support for mixed systems so #2432 it the current one.
Note:
See TracTickets
for help on using tickets.

Funny bug. I will probably not fix this myself, but it seems pre() (and edge(), etc) replaces crefs improperly. edge(b) should become xloc[ix] and not $PRE$b or similar...