Ticket #3999: TestPlant.mo

File TestPlant.mo, 593 bytes (added by robert@…, 8 years ago)

Test model for reproducing the issue.

Line 
1class Model2Unit1 = TestLibrary.Containers.Container1.SubContainer1.Unit1(
2 redeclare TestLibrary.Models.ModelContainer2.Model2.SubModel1 sm1,
3 redeclare TestLibrary.Models.ModelContainer2.Model2.SubModel3 sm3,
4 redeclare TestLibrary.Models.ModelContainer2.Model2.SubModel4 sm4,
5 redeclare TestLibrary.Models.ModelContainer2.Model2.SubModel5 sm5);
6
7class Model2Unit2 = TestLibrary.Containers.Container1.SubContainer1.Unit2(
8 redeclare TestLibrary.Models.ModelContainer2.Model2.SubModel5 sm5);
9
10model Model2Test
11 Model2Unit1 i;
12 Model2Unit2 e;
13
14equation
15 connect(i.sm5, e.sm5);
16end Model2Test;