Opened 14 years ago

Last modified 14 years ago

#1325 closed defect (fixed)

When extending a class the overconstrained connection graph is built wrongly

Reported by: Adrian Pop Owned by: Adrian Pop
Priority: critical Milestone: Red October
Component: Instantiation Version: 1.6.0
Keywords: Cc: Adrian Pop, Adrian Pop, Peter Aronsson

Description

The overconstrained connection graph resulting from instantiating this model:

model DP
  extends Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum;
end DP;

is different from the overconstrained connection graph resulting from instaniating:

Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum;

Change History (2)

comment:1 by Adrian Pop, 14 years ago

The problem is with the Inst.mo cache\\
Using +d=noCache gives you correct results.
The current graph needs to be merged with the graph from cache to yield correct results\\
Working on a fix now.

comment:2 by Adrian Pop, 14 years ago

Fixed in revision 6455. Added tests. See SCMCommits.

Note: See TracTickets for help on using tickets.