Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_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.001487/0.001487, 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.001451/0.001451, 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.835/1.835, allocations: 225.7 MB / 253.4 MB, free: 12.77 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.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor.v|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepUp.vDC1|chopperStepUp.iDC1|chopperStepUp.vDC2|chopperStepUp.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor.v|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepUp.vDC1|chopperStepUp.iDC1|chopperStepUp.vDC2|chopperStepUp.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/2.802e-05, allocations: 4.109 kB / 371.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R): time 0.006125/0.006153, allocations: 3.619 MB / 375.4 MB, free: 5.449 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.008527, allocations: 0.9739 MB / 376.4 MB, free: 4.473 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002774/0.008804, allocations: 15.88 kB / 376.4 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.009111, allocations: 87.09 kB / 376.5 MB, free: 4.371 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.009447, allocations: 150.7 kB / 376.6 MB, free: 4.223 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006947/0.01014, allocations: 231.6 kB / 376.8 MB, free: 3.996 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009451/0.01109, allocations: 0.7909 MB / 377.6 MB, free: 3.203 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003767/0.01146, allocations: 153.1 kB / 377.8 MB, free: 3.051 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003658/0.01183, allocations: 287 kB / 378.1 MB, free: 2.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003437/0.01217, allocations: 242.7 kB / 378.3 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.01227, allocations: 60 kB / 378.4 MB, free: 2.473 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.01238, allocations: 60 kB / 378.4 MB, free: 2.414 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001034/0.01342, allocations: 1.114 MB / 379.5 MB, free: 1.289 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000541/0.01396, allocations: 0.7016 MB / 380.2 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.01406, allocations: 48 kB / 380.3 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001244/0.01419, allocations: 27.81 kB / 380.3 MB, free: 0.5039 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.2266/0.2408, allocations: 2.564 MB / 382.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003974/0.2412, allocations: 299.9 kB / 383.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001352/0.2426, allocations: 1.358 MB / 384.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005554/0.2431, allocations: 298.4 kB / 384.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003421/0.2465, allocations: 2.433 MB / 387.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003277/0.2469, allocations: 217.8 kB / 387.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001583/0.247, allocations: 146.4 kB / 387.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005284/0.2476, allocations: 377.4 kB / 388 MB, free: 13.17 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0003317/0.2479, allocations: 206.1 kB / 388.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006418/0.2485, allocations: 0.5057 MB / 388.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001657/0.2502, allocations: 0.9658 MB / 389.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001336/0.2515, allocations: 0.9489 MB / 390.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001391/0.2529, allocations: 0.7682 MB / 391.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001324/0.2542, allocations: 1.365 MB / 392.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 8.362e-05/0.2543, allocations: 39.78 kB / 392.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.000335/0.2547, allocations: 363.7 kB / 393.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.008416/0.2631, allocations: 5.599 MB / 398.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0009092/0.264, allocations: 0.5388 MB / 399.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.815e-06/0.264, allocations: 0 / 399.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005527/0.2645, allocations: 284 kB / 399.5 MB, free: 8.973 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.317e-05/0.2645, allocations: 1.938 kB / 399.5 MB, free: 8.969 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0004791/0.265, allocations: 206.8 kB / 399.7 MB, free: 8.879 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 3.18e-05/0.2651, allocations: 6.844 kB / 399.7 MB, free: 8.879 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0019/0.267, allocations: 1.088 MB / 400.8 MB, free: 8.305 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.001138/0.2681, allocations: 1.401 MB / 402.2 MB, free: 7.18 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) {meanCurrent.x, meanVoltage.x, chopperStepUp.iDC1, 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) {chopperStepUp.enableLogic.internalEnable, chopperStepUp.andCondition_p.u2, chopperStepUp.andCondition_p.y, chopperStepUp.fire_p, chopperStepUp.transistor.off, chopperStepUp.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: ........... 103 (scalar:103, 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: ........... 103 (scalar:103, 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.000116/0.2682, allocations: 76.2 kB / 402.3 MB, free: 7.125 MB / 302.1 MB Notification: Performance of SimCode: time 0.002246/0.2705, allocations: 2.021 MB / 404.3 MB, free: 5.582 MB / 302.1 MB Notification: Performance of Templates: time 0.009532/0.28, allocations: 5.337 MB / 409.7 MB, free: 452 kB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.200806370005012] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor.v', 'inductor.i', 'meanCurrent.x', 'meanVoltage.x', 'meanCurrent.y', 'meanVoltage.y', 'chopperStepUp.vDC1', 'chopperStepUp.iDC1', 'chopperStepUp.vDC2', 'chopperStepUp.iDC2'] 0.28840608400059864 0.30338002000000003 0.286097451 Calling exit ...