Opened 12 years ago

Closed 11 years ago

#2018 closed defect (worksforme)

Error in functions call with discarded outputs

Reported by: Bruno Scaglioni Owned by: probably noone
Priority: normal Milestone: 1.9.1
Component: Backend Version: trunk
Keywords: Cc: Willi Braun, Lennart Ochel

Description

Calling a function with multiple outputs in initial equation section while discarding some of the outputs causes error in removeSimpleEquations module, see attached file as example.
Reported error is:

Error: Internal error DAEUtil.traverseDAEEquationsStmts not implemented correctly: (outp, _) := Test.random2({phi[1], phi[2], phi[3]}, 1.0);

Error: Internal error Optimisation Module removeSimpleEquations failed.
Error: Internal error DAEUtil.traverseDAEEquationsStmts not implemented correctly: (outp, _) := Test.random2({phi[1], phi[2], phi[3]}, 1.0);

Error: Internal error Optimisation Module removeSimpleEquations failed.

Attachments (1)

TwoOutputFunc.mo (817 bytes ) - added by Bruno Scaglioni 12 years ago.

Download all attachments as: .zip

Change History (4)

by Bruno Scaglioni, 12 years ago

Attachment: TwoOutputFunc.mo added

comment:1 by Lennart Ochel, 12 years ago

Cc: Lennart Ochel added

comment:2 by Martin Sjölund, 11 years ago

Milestone: 1.9.01.9.1

Postponed until 1.9.1

comment:3 by Martin Sjölund, 11 years ago

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.