Opened 12 years ago
Closed 12 years ago
#1774 closed defect (fixed)
Instantiation fails for Modelica.StateGraph.Examples.ControlledTanks
Reported by: | Jens Frenkel | Owned by: | Per Östlund |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Frontend | Version: | trunk |
Keywords: | Cc: |
Description
For the model Modelica.StateGraph.Examples.ControlledTanks the equation
tankController.makeProduct.stateGraphRoot.subgraphStatePort.activeStepsDummy
0;
is not generated.
but the model is balanced, hence there must be another equations which should not be there.
Note:
See TracTickets
for help on using tickets.
This was fixed in r12666. The problem was that the inner/outer handling doesn't work well with the way instantiation is done, so the equation lost the tankController.makeProduct prefix. I fixed this by improving the element sorting in Inst.instElementList so that the elements are sorted slightly more correct, which fixes the problem for this particular model. The real problem remains, but I'll open a new ticket for that.