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_RL.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.00184/0.00184, allocations: 104 kB / 21.25 MB, free: 420 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.001512/0.001512, allocations: 186.9 kB / 24.53 MB, free: 3.742 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.564/1.564, 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.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.658e-05, allocations: 6.219 kB / 371.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL): time 0.007665/0.007692, allocations: 3.707 MB / 375.5 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002867/0.01056, allocations: 0.9854 MB / 376.5 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006508/0.01121, allocations: 11.94 kB / 376.5 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00046/0.01167, allocations: 103 kB / 376.6 MB, free: 4.266 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007412/0.01241, allocations: 142.7 kB / 376.7 MB, free: 4.125 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009702/0.01338, allocations: 239.6 kB / 377 MB, free: 3.891 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.01474, allocations: 0.822 MB / 377.8 MB, free: 3.066 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004473/0.01518, allocations: 161.2 kB / 377.9 MB, free: 2.906 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003911/0.01558, allocations: 291 kB / 378.2 MB, free: 2.621 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003305/0.01591, allocations: 254.6 kB / 378.5 MB, free: 2.371 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.01601, allocations: 60 kB / 378.5 MB, free: 2.312 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.01613, allocations: 64 kB / 378.6 MB, free: 2.25 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001092/0.01722, allocations: 1.16 MB / 379.7 MB, free: 1.078 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005683/0.01779, allocations: 0.7209 MB / 380.5 MB, free: 356 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.0179, allocations: 52 kB / 380.5 MB, free: 304 kB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001338/0.01803, allocations: 27.86 kB / 380.5 MB, free: 276 kB / 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.2134/0.2315, allocations: 2.666 MB / 383.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004178/0.2319, allocations: 313 kB / 383.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001378/0.2332, allocations: 1.418 MB / 384.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0006018/0.2339, allocations: 312 kB / 385.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003388/0.2372, allocations: 2.558 MB / 387.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003226/0.2376, allocations: 226.4 kB / 388 MB, free: 13.27 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001639/0.2377, allocations: 158.8 kB / 388.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005031/0.2382, allocations: 378.1 kB / 388.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002947/0.2385, allocations: 201 kB / 388.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006347/0.2392, allocations: 0.5215 MB / 389.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001435/0.2406, allocations: 0.9823 MB / 390.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00118/0.2418, allocations: 0.9622 MB / 391.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001585/0.2434, allocations: 0.7813 MB / 392 MB, free: 11.25 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001482/0.2448, allocations: 1.394 MB / 393.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 9.954e-05/0.2449, allocations: 47.77 kB / 393.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0003722/0.2453, allocations: 379 kB / 393.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.008698/0.254, allocations: 5.732 MB / 399.5 MB, free: 8.969 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0007672/0.2548, allocations: 0.5617 MB / 400.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.104e-06/0.2548, allocations: 0 / 400.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003845/0.2552, allocations: 291.9 kB / 400.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.052e-05/0.2552, allocations: 7.125 kB / 400.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0002602/0.2554, allocations: 204.1 kB / 400.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.168e-05/0.2555, allocations: 2.875 kB / 400.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001896/0.2574, allocations: 1.15 MB / 401.7 MB, free: 7.84 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.00152/0.2589, allocations: 1.43 MB / 403.2 MB, free: 6.688 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: ............................. 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.0001362/0.259, allocations: 93.89 kB / 403.3 MB, free: 6.625 MB / 302.1 MB Notification: Performance of SimCode: time 0.002882/0.2619, allocations: 2.102 MB / 405.4 MB, free: 4.785 MB / 302.1 MB Notification: Performance of Templates: time 0.01327/0.2752, allocations: 5.458 MB / 410.8 MB, free: 15.42 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.111251552007161] 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.2857904080301523 0.302150855 0.281007978 Calling exit ...