Ticket #6437: TestPackage.mo

File TestPackage.mo, 569 bytes (added by ceraolo, 3 years ago)
Line 
1package  TestPackage
2  model Test
3    Modelica.Blocks.Sources.Step step annotation(
4      Placement(visible = true, transformation(origin = {-38, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
5  MyModel myModel annotation(
6      Placement(visible = true, transformation(origin = {20, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
7  equation
8    connect(myModel.u, step.y) annotation(
9      Line(points = {{10, 0}, {-26, 0}}, color = {0, 0, 127}));
10  end Test;
11equation
12
13annotation(
14    uses(Modelica(version = "3.2.3")));
15end TestPackage;