Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 208.7 kB / 24.55 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.588/1.588, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.801e-05, allocations: 2.281 kB / 379.1 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL): time 0.1765/0.1766, allocations: 3.94 MB / 383 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.1787, allocations: 1.104 MB / 384.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002663/0.179, allocations: 17.66 kB / 384.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.1792, allocations: 104.7 kB / 384.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.1795, allocations: 154.3 kB / 384.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000588/0.1801, allocations: 245.2 kB / 384.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008674/0.181, allocations: 0.8465 MB / 385.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003663/0.1814, allocations: 182.6 kB / 385.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003383/0.1817, allocations: 291.3 kB / 386 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003311/0.182, allocations: 249.2 kB / 386.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.1821, allocations: 64.62 kB / 386.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.1823, allocations: 63.41 kB / 386.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007462/0.183, allocations: 1.181 MB / 387.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003362/0.1833, allocations: 0.7357 MB / 388.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.1835, allocations: 50.28 kB / 388.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001094/0.1836, allocations: 30.12 kB / 388.3 MB, free: 10.3 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 (122) * Number of variables: 122 (122) Notification: Performance of [SIM] Bindings: time 0.002296/0.1859, allocations: 2.702 MB / 391 MB, free: 8.414 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003191/0.1862, allocations: 313.9 kB / 391.3 MB, free: 8.215 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001387/0.1876, allocations: 1.429 MB / 392.8 MB, free: 7.348 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005016/0.1881, allocations: 318.7 kB / 393.1 MB, free: 7.176 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003331/0.1914, allocations: 2.545 MB / 395.6 MB, free: 5.746 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003047/0.1917, allocations: 227.7 kB / 395.8 MB, free: 5.605 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001475/0.1919, allocations: 152.7 kB / 396 MB, free: 5.492 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005239/0.1924, allocations: 404.2 kB / 396.4 MB, free: 5.195 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002815/0.1927, allocations: 193.2 kB / 396.6 MB, free: 5.09 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.000594/0.1933, allocations: 0.5241 MB / 397.1 MB, free: 4.789 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.00141/0.1947, allocations: 0.9894 MB / 398.1 MB, free: 4.461 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009125/0.1956, allocations: 0.9724 MB / 399.1 MB, free: 3.941 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001132/0.1967, allocations: 0.7968 MB / 399.9 MB, free: 3.484 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001235/0.1979, allocations: 1.412 MB / 401.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.813e-05/0.198, allocations: 39.19 kB / 401.3 MB, free: 2.598 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002588/0.1983, allocations: 387.5 kB / 401.7 MB, free: 2.277 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.007507/0.2058, allocations: 5.773 MB / 407.5 MB, free: 80 kB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0007423/0.2065, allocations: 0.5495 MB / 408 MB, free: 15.54 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 1.984e-06/0.2065, allocations: 0 / 408 MB, free: 15.54 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0004562/0.207, allocations: 305.6 kB / 408.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.655e-06/0.207, allocations: 0.5 kB / 408.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0002998/0.2073, allocations: 211.3 kB / 408.5 MB, free: 14.99 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 1.862e-05/0.2073, allocations: 7.938 kB / 408.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.001724/0.209, allocations: 1.139 MB / 409.7 MB, free: 13.84 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.001583/0.2106, allocations: 1.433 MB / 411.1 MB, free: 12.27 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 6 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 5 (5) {chopperStepDown.iDC2, meanCurrent.x, meanVoltage.x, capacitor.v, loadInductor.i} * Number of discrete states: .................... 6 (6) {meanVoltage.y, meanCurrent.y, signalPWM.sawtooth.T_start, signalPWM.sawtooth.count, signalPWM.zeroOrderHold.firstTrigger, signalPWM.zeroOrderHold.ySample} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 25 (25) {chopperStepDown.enableLogic.internalEnable, chopperStepDown.andCondition_p.u2, chopperStepDown.andCondition_p.y, chopperStepDown.fire_p, chopperStepDown.transistor.off, chopperStepDown.diode.off, signalPWM.zeroOrderHold.sampleTrigger, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 52 (scalar:52, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:0, when:6, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 106 (scalar:106, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 106 (scalar:106, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 0.0001018/0.2107, allocations: 87 kB / 411.2 MB, free: 12.19 MB / 318.1 MB Notification: Performance of SimCode: time 0.002652/0.2134, allocations: 2.111 MB / 413.3 MB, free: 10.03 MB / 318.1 MB Notification: Performance of Templates: time 0.0117/0.2251, allocations: 5.542 MB / 418.8 MB, free: 4.562 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.951583126967307] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', 'meanCurrent.x', 'meanVoltage.x', 'meanCurrent.y', 'meanVoltage.y', 'chopperStepDown.vDC1', 'chopperStepDown.iDC1', 'chopperStepDown.vDC2', 'chopperStepDown.iDC2'] 0.23347539402311668 0.24888537000000002 0.062153412000000005 Calling exit ...