Opened 13 years ago
Closed 12 years ago
#1608 closed defect (fixed)
compiler wrongly claims simple system as structurally singular
Reported by: | Peter Junglas | Owned by: | Peter Junglas |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Backend | Version: | |
Keywords: | Cc: | Peter Junglas, Frenkel, TUD |
Description
Running the attached system testGear2 with two inertias on both sides of a switched gear leads to internal errors. The structurally identical systems testGear3 and testGear4 work though.
Attachments (6)
Change History (6)
by , 13 years ago
Attachment: | testGear2.mo added |
---|
by , 13 years ago
Attachment: | testGear4.mo added |
---|
comment:1 by , 13 years ago
I think the error-message that said it was structurally singular is just an error caused by the real problem: Some equation could not be symbolically differentiated. I did not have a closer look though.
comment:2 by , 13 years ago
Jens, can you have a closer look?
when initial() then tableID=tableInit(if tableOnFile then tableName else "NoName", if tableOnFile then fileName else "NoName", table, smoothness); end when;
is selected for differentiation by dummy derivatives, which seems very silly:
1) It's discrete, so the derivative is always 0
2) It's an initial equation
comment:4 by , 12 years ago
Cc: | added; removed |
---|---|
Component: | → Backend |
Resolution: | → fixed |
Status: | accepted → closed |
Was working when I tested it in trunk (r15922)
additional test files