| 1 | package TestManyVariables
|
|---|
| 2 | model M
|
|---|
| 3 | parameter Integer N = 10;
|
|---|
| 4 | Real x[N];
|
|---|
| 5 | equation
|
|---|
| 6 | for i in 1:N loop
|
|---|
| 7 | x[i] = time*i;
|
|---|
| 8 | end for;
|
|---|
| 9 | annotation(experiment(StopTime = 1, Interval = 1e-3));
|
|---|
| 10 | end M;
|
|---|
| 11 |
|
|---|
| 12 | model M_10000
|
|---|
| 13 | extends M(N = 10000);
|
|---|
| 14 | annotation(experiment(StopTime = 1, Interval = 1e-3));
|
|---|
| 15 | end M_10000;
|
|---|
| 16 |
|
|---|
| 17 | model M_15000
|
|---|
| 18 | extends M(N = 15000);
|
|---|
| 19 | annotation(experiment(StopTime = 1, Interval = 1e-3));
|
|---|
| 20 | end M_15000;
|
|---|
| 21 |
|
|---|
| 22 | model M_20000
|
|---|
| 23 | extends M(N = 20000);
|
|---|
| 24 | annotation(experiment(StopTime = 1, Interval = 1e-3));
|
|---|
| 25 | end M_20000;
|
|---|
| 26 |
|
|---|
| 27 | model M_25000
|
|---|
| 28 | extends M(N = 25000);
|
|---|
| 29 | annotation(experiment(StopTime = 1, Interval = 1e-3));
|
|---|
| 30 | end M_25000;
|
|---|
| 31 |
|
|---|
| 32 | model M_30000
|
|---|
| 33 | extends M(N = 30000);
|
|---|
| 34 | annotation(experiment(StopTime = 1, Interval = 1e-3));
|
|---|
| 35 | end M_30000;
|
|---|
| 36 |
|
|---|
| 37 | model M_35000
|
|---|
| 38 | extends M(N = 35000);
|
|---|
| 39 | annotation(experiment(StopTime = 1, Interval = 1e-3));
|
|---|
| 40 | end M_35000;
|
|---|
| 41 |
|
|---|
| 42 | model M_40000
|
|---|
| 43 | extends M(N = 40000);
|
|---|
| 44 | annotation(experiment(StopTime = 1, Interval = 1e-3));
|
|---|
| 45 | end M_40000;
|
|---|
| 46 | end TestManyVariables;
|
|---|