Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 186.9 kB / 24.53 MB, free: 3.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.7 MB / 253.4 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.428e-05, allocations: 6.219 kB / 371.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R): time 0.006075/0.006099, allocations: 3.626 MB / 375.4 MB, free: 5.445 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.008549, allocations: 0.9662 MB / 376.4 MB, free: 4.477 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005195/0.009069, allocations: 15.88 kB / 376.4 MB, free: 4.461 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.009443, allocations: 91.09 kB / 376.5 MB, free: 4.371 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005029/0.009946, allocations: 146.6 kB / 376.6 MB, free: 4.227 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008121/0.01076, allocations: 231.6 kB / 376.8 MB, free: 4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.01191, allocations: 0.7832 MB / 377.6 MB, free: 3.215 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004634/0.01237, allocations: 165.1 kB / 377.8 MB, free: 3.051 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005304/0.0129, allocations: 283 kB / 378.1 MB, free: 2.773 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000426/0.01333, allocations: 242.7 kB / 378.3 MB, free: 2.535 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.01351, allocations: 60 kB / 378.4 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.01367, allocations: 60 kB / 378.4 MB, free: 2.418 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001071/0.01474, allocations: 1.114 MB / 379.5 MB, free: 1.293 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006432/0.01539, allocations: 0.6977 MB / 380.2 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.01557, allocations: 48 kB / 380.3 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001212/0.01569, allocations: 19.88 kB / 380.3 MB, free: 0.5195 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: 116 (116) * Number of variables: 116 (116) Notification: Performance of [SIM] Bindings: time 0.2301/0.2458, allocations: 2.562 MB / 382.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005884/0.2464, allocations: 303.4 kB / 383.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001565/0.2479, allocations: 1.358 MB / 384.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000662/0.2486, allocations: 308 kB / 384.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003978/0.2526, allocations: 2.427 MB / 387.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003465/0.2529, allocations: 225.8 kB / 387.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000171/0.2531, allocations: 142.5 kB / 387.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005597/0.2536, allocations: 376.7 kB / 388 MB, free: 13.17 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0003139/0.254, allocations: 211.9 kB / 388.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006356/0.2546, allocations: 0.501 MB / 388.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0015/0.2561, allocations: 0.9738 MB / 389.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009934/0.2571, allocations: 0.9481 MB / 390.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001372/0.2585, allocations: 0.7685 MB / 391.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001724/0.2602, allocations: 1.353 MB / 392.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 9.373e-05/0.2603, allocations: 43.44 kB / 392.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0004146/0.2607, allocations: 360.2 kB / 393.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.01004/0.2707, allocations: 5.565 MB / 398.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.00109/0.2718, allocations: 0.5347 MB / 399.2 MB, free: 9.164 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.616e-06/0.2718, allocations: 0 / 399.2 MB, free: 9.164 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0006515/0.2725, allocations: 293.8 kB / 399.5 MB, free: 8.957 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.494e-05/0.2725, allocations: 1.688 kB / 399.5 MB, free: 8.953 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0005485/0.273, allocations: 202.3 kB / 399.7 MB, free: 8.867 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 4.431e-05/0.2731, allocations: 7.156 kB / 399.7 MB, free: 8.863 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.002115/0.2752, allocations: 1.1 MB / 400.8 MB, free: 8.297 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.001269/0.2765, allocations: 1.41 MB / 402.2 MB, free: 7.156 MB / 302.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: ............................. 4 (4) {chopperStepDown.iDC2, meanCurrent.x, meanVoltage.x, capacitor.v} * 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: ........... 50 (scalar:50, 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: ........... 102 (scalar:102, 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: ........... 102 (scalar:102, 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.0001007/0.2766, allocations: 67.75 kB / 402.3 MB, free: 7.102 MB / 302.1 MB Notification: Performance of SimCode: time 0.002609/0.2792, allocations: 2.019 MB / 404.3 MB, free: 5.559 MB / 302.1 MB Notification: Performance of Templates: time 0.01047/0.2896, allocations: 5.295 MB / 409.6 MB, free: 0.5273 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.9881325520109385] 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.29843644599895924 0.31319753999999994 0.29447046299999996 Calling exit ...