Ticket #4360: TestStaticTearing.mos
| File TestStaticTearing.mos, 483 bytes (added by , 9 years ago) |
|---|
| Line | |
|---|---|
| 1 | loadString(" |
| 2 | model M |
| 3 | parameter Real a = 1; |
| 4 | parameter Real b = 0.5; |
| 5 | parameter Real c = 0.5; |
| 6 | parameter Real d = 1; |
| 7 | Real x,y; |
| 8 | equation |
| 9 | a*x + b*y = 1; |
| 10 | c*x + d*y = -1; |
| 11 | end M; |
| 12 | "); getErrorString(); |
| 13 | |
| 14 | setCommandLineOptions("-d=dumpSimCode");getErrorString(); |
| 15 | simulate(M, simflags="-lv=LOG_STATS");getErrorString(); |
| 16 | simulate(M, simflags="-lv=LOG_STATS -override=b=0");getErrorString(); |
| 17 | simulate(M, simflags="-lv=LOG_STATS -override=b=1e-9");getErrorString(); |
| 18 |
