Opened 9 years ago

Last modified 9 years ago

#3917 assigned defect

stategraph2 expamples not working

Reported by: rahul.dutta.bits@… Owned by: Adrian Pop
Priority: high Milestone: Future
Component: Frontend Version: v1.10.0-dev-nightly
Keywords: Cc:

Description

Application examples are failing in translation phase. Tried ControlledTanks example. Gives the following error related to uniqueRootIndices:

[21] 22:21:34 Translation Error
[Modelica_StateGraph2: 14992:7-14999:4]: Type mismatch for positional argument 1 in Connections.uniqueRootIndices(roots={local_entry[1].node, local_entry[2].node}). The argument has type:

record Modelica_StateGraph2.Internal.Interfaces.Node
Boolean suspend;
Boolean resume;

end Modelica_StateGraph2.Internal.Interfaces.Node;[2]
expected type:

OpenModelica.Code.VariableName[:]

[22] 22:21:34 Translation Error
Error occurred while flattening model Modelica_StateGraph2.Examples.Applications.ControlledTanks.ControlledTanks2

Change History (2)

comment:1 by Adrian Pop, 9 years ago

StateGraph library is using non-standard Connections.uniqueRootIndices which is not defined anywhere in the Modelica Specification and we don't have proper support for it.

comment:2 by Adeel Asghar, 9 years ago

Component: OMEditFrontend
Owner: changed from Adeel Asghar to Adrian Pop
Status: newassigned
Note: See TracTickets for help on using tickets.