Ticket #6360: test.mo

File test.mo, 448 bytes (added by Simone Bosotti <simone1.bosotti@…>, 5 years ago)

Package to recreate the bug

Line 
1package Test
2 model BaseModel
3 parameter Real a;
4 equation
5
6 end BaseModel;
7
8 model ExtendedModel
9 extends Test.BaseModel;
10 parameter Real b;
11 Real c;
12 equation
13 c = b+a;
14 end ExtendedModel;
15
16 model Container
17 ExtendedModel extendedModel annotation(
18 Placement(visible = true, transformation(origin = {-16, 8}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
19 equation
20
21 end Container;
22end Test;