Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.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.001634/0.001634, allocations: 107.8 kB / 21.99 MB, free: 5.223 MB / 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.00192/0.00192, allocations: 209.5 kB / 25.3 MB, free: 3.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 207.7 MB / 236.2 MB, free: 9.77 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.3e-05, allocations: 2.281 kB / 348.6 MB, free: 9.332 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R): time 0.005864/0.005887, allocations: 3.3 MB / 351.9 MB, free: 6.008 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.007944, allocations: 0.9279 MB / 352.8 MB, free: 5.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002243/0.008168, allocations: 11.88 kB / 352.8 MB, free: 5.059 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.008442, allocations: 79.17 kB / 352.9 MB, free: 4.98 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.008713, allocations: 123 kB / 353 MB, free: 4.859 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006359/0.009349, allocations: 199.7 kB / 353.2 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008394/0.01019, allocations: 0.6697 MB / 353.9 MB, free: 3.992 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003735/0.01056, allocations: 130.6 kB / 354 MB, free: 3.859 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.01086, allocations: 235.2 kB / 354.2 MB, free: 3.629 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.01116, allocations: 198.9 kB / 354.4 MB, free: 3.434 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.226e-05/0.01125, allocations: 52 kB / 354.5 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.276e-05/0.01134, allocations: 52 kB / 354.5 MB, free: 3.332 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.000963/0.0123, allocations: 0.9398 MB / 355.5 MB, free: 2.383 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005237/0.01283, allocations: 0.5822 MB / 356 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.8e-05/0.01292, allocations: 44 kB / 356.1 MB, free: 1.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001506/0.01307, allocations: 19.88 kB / 356.1 MB, free: 1.73 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 (97) * Number of variables: 97 (97) Notification: Performance of [SIM] Bindings: time 0.002576/0.01564, allocations: 2.202 MB / 358.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003416/0.01598, allocations: 255.7 kB / 358.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001272/0.01726, allocations: 1.167 MB / 359.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004863/0.01774, allocations: 268.3 kB / 360 MB, free: 13.62 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003199/0.02094, allocations: 2.001 MB / 362 MB, free: 11.38 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000351/0.02129, allocations: 201.5 kB / 362.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001727/0.02147, allocations: 127 kB / 362.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0006095/0.02208, allocations: 335.3 kB / 362.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0003171/0.02239, allocations: 172.8 kB / 362.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006909/0.02308, allocations: 458.1 kB / 363.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001353/0.02444, allocations: 0.8437 MB / 364.1 MB, free: 9.039 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009471/0.02538, allocations: 0.8156 MB / 364.9 MB, free: 8.223 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001292/0.02668, allocations: 0.6785 MB / 365.6 MB, free: 7.465 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001341/0.02802, allocations: 1.179 MB / 366.8 MB, free: 6.281 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.463e-05/0.02809, allocations: 39.94 kB / 366.8 MB, free: 6.234 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0004406/0.02853, allocations: 315.7 kB / 367.1 MB, free: 5.922 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.007455/0.03599, allocations: 4.886 MB / 372 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0007817/0.03677, allocations: 0.5128 MB / 372.5 MB, free: 500 kB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.643e-06/0.03677, allocations: 7.938 kB / 372.5 MB, free: 492 kB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003907/0.03716, allocations: 224.5 kB / 372.7 MB, free: 212 kB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.305e-05/0.03717, allocations: 11.94 kB / 372.7 MB, free: 200 kB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0002943/0.03747, allocations: 195.2 kB / 372.9 MB, free: 8 kB / 302.1 MB Notification: Performance of [SIM] Categorize: time 5.596e-05/0.03752, allocations: 12.03 kB / 372.9 MB, free: 15.99 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.001572/0.0391, allocations: 0.8976 MB / 373.8 MB, free: 15.09 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.002033/0.04113, allocations: 1.478 MB / 375.3 MB, free: 13.46 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: ............................. 2 (2) {meanCurrent.x, meanVoltage.x} * 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: ................. 23 (23) {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_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: ........... 38 (scalar:38, 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: ........... 84 (scalar:84, 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: ........... 84 (scalar:84, 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.0002268/0.04136, allocations: 81.23 kB / 375.4 MB, free: 13.39 MB / 318.1 MB Notification: Performance of SimCode: time 0.002645/0.044, allocations: 1.729 MB / 377.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of Templates: time 0.01188/0.05588, allocations: 4.665 MB / 381.8 MB, free: 6.953 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.447095374984201] Failed to read output from testmodel.py, exit status != 0: ['time', 'meanCurrent.x', 'meanVoltage.x', 'meanCurrent.y', 'meanVoltage.y', 'chopperStepDown.vDC1', 'chopperStepDown.iDC1', 'chopperStepDown.vDC2', 'chopperStepDown.iDC2'] 0.06568560097366571 0.312830643 0.296012404 Calling exit ...