Opened 9 years ago

Last modified 6 years ago

#4050 new defect

Array of component: Too many equations. — at Version 1

Reported by: Lennart Ochel Owned by: somebody
Priority: critical Milestone: 2.0.0
Component: Backend Version:
Keywords: PNlib Cc: Adrian Pop, Martin Sjölund, Per Östlund, Mahder Alemseged Gebremedhin

Description (last modified by Lennart Ochel)

I need to create an array of PC components, similar to the minimal example below. When doing so, OpenModelica reports 142 equations and 126 variables.

model test
  inner PNlib.Settings settings annotation(Placement(visible = true, transformation(origin = {-30, 30}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
  PNlib.PC P1[2] annotation(Placement(visible = true, transformation(origin = {0, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
  annotation(uses(PNlib(version = "1.4")));
end test;

Change History (1)

comment:1 by Lennart Ochel, 9 years ago

Description: modified (diff)

I just added an inner Settings component to the example to get rid of the warnings.

Note: See TracTickets for help on using tickets.