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: adrpo Owned by: adrpo
Priority: critical Milestone: Red October
Component: Instantiation Version: 1.6.0
Keywords: Cc: adrpo, adrpo, petar

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 Changed 14 years ago by adrpo

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 Changed 14 years ago by adrpo

Fixed in revision 6455. Added tests. See SCMCommits.

Note: See TracTickets for help on using tickets.