Opened 11 years ago

Closed 11 years ago

#2616 closed defect (fixed)

Error: Error occurred while flattening model

Reported by: matthias.pfafferodt@… Owned by: Lennart Ochel
Priority: high Milestone: 1.9.1
Component: Frontend Version: trunk
Keywords: Bindings Cc: matthias.pfafferodt@…

Description

I got the error 'Error: Error occurred while flattening model' with no additional information. The files to reproduce the error are attached. Please run it as:

#> omc +showErrorMessages +d=failtrace script.mos > trace.txt 2>&1

The trace indicates the following reason: 'Inst.moveBindings failed:equation'

Run with OpenModelica version OpenModelica-1.9.1-Beta2-revision-19512.exe (from Modelica conference).

The test case runs fine with Dymola.

Attachments (3)

TestCaseBug01.mo (1.6 KB ) - added by anonymous 11 years ago.
test case
script.mos (151 bytes ) - added by anonymous 11 years ago.
test script
trace.txt (4.7 KB ) - added by anonymous 11 years ago.
trace result

Download all attachments as: .zip

Change History (4)

by anonymous, 11 years ago

Attachment: TestCaseBug01.mo added

test case

by anonymous, 11 years ago

Attachment: script.mos added

test script

by anonymous, 11 years ago

Attachment: trace.txt added

trace result

comment:1 by Per Östlund, 11 years ago

Component: Code GenerationFrontend
Resolution: fixed
Status: newclosed

Fixed in r19555.

Note: See TracTickets for help on using tickets.