Ticket #5806: TestLambda0DAEMode.mo

File TestLambda0DAEMode.mo, 291 bytes (added by Francesco Casella, 6 years ago)
Line 
1model TestLambda0DAEMode
2 Real x, y, z, w;
3equation
4 der(x) = z;
5 der(y) = w;
6 z = homotopy((x - y)^2, x - y);
7 w = homotopy((y - 1)^2, y - 1);
8initial equation
9 der(x) = 0;
10 der(y) = 0;
11//annotation(__OpenModelica_commandLineOptions="--daeMode");
12end TestLambda0DAEMode;