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)

GearWithExternalRatio.mo (571 bytes ) - added by Peter Junglas 13 years ago.
schaltgetriebe.txt (220 bytes ) - added by Peter Junglas 13 years ago.
testGear2.mo (2.3 KB ) - added by Peter Junglas 13 years ago.
testGear2.mos (165 bytes ) - added by Peter Junglas 13 years ago.
additional test files
testGear3.mo (2.3 KB ) - added by Peter Junglas 13 years ago.
additional test files
testGear4.mo (1.6 KB ) - added by Peter Junglas 13 years ago.
additional test files

Download all attachments as: .zip

Change History (6)

by Peter Junglas, 13 years ago

Attachment: testGear2.mo added

by Peter Junglas, 13 years ago

Attachment: testGear4.mo added

additional test files

comment:1 by Martin Sjölund, 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 Martin Sjölund, 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

Version 0, edited 13 years ago by Martin Sjölund (next)

comment:3 by Jens Frenkel, 13 years ago

  • index reduction works now in 10866 but simulation fails (no idea why)

comment:4 by Martin Sjölund, 12 years ago

Cc: Frenkel TUD added; Jens Frenkel removed
Component: Backend
Resolution: fixed
Status: acceptedclosed

Was working when I tested it in trunk (r15922)

Note: See TracTickets for help on using tickets.