Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_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.001874/0.001874, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.002031/0.002031, allocations: 211 kB / 24.55 MB, free: 3.824 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.643/1.643, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.HBridge.HBridge_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|hbridge.vDC1|hbridge.iDC1|hbridge.vDC2|hbridge.iDC2|meanCurrent.y|meanVoltage.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|hbridge.vDC1|hbridge.iDC1|hbridge.vDC2|hbridge.iDC2|meanCurrent.y|meanVoltage.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.334e-05, allocations: 2.281 kB / 379.1 MB, free: 2.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R): time 0.2274/0.2275, allocations: 5.424 MB / 384.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003455/0.2309, allocations: 1.628 MB / 386.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000834/0.2317, allocations: 30.81 kB / 386.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005101/0.2323, allocations: 198.8 kB / 386.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006896/0.2329, allocations: 278.4 kB / 386.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009868/0.2339, allocations: 432.5 kB / 387.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001763/0.2357, allocations: 1.609 MB / 388.7 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000622/0.2363, allocations: 330.3 kB / 389 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006659/0.237, allocations: 0.5114 MB / 389.5 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005022/0.2375, allocations: 463.4 kB / 389.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.2377, allocations: 144.1 kB / 390.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.2379, allocations: 144 kB / 390.2 MB, free: 9.152 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001334/0.2392, allocations: 2.145 MB / 392.4 MB, free: 7.648 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006212/0.2398, allocations: 1.315 MB / 393.7 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.24, allocations: 88.84 kB / 393.8 MB, free: 6.723 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002017/0.2402, allocations: 57.55 kB / 393.8 MB, free: 6.699 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: 222 (222) * Number of variables: 222 (222) Notification: Performance of [SIM] Bindings: time 0.003828/0.2441, allocations: 4.695 MB / 398.5 MB, free: 3.426 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000592/0.2447, allocations: 0.5884 MB / 399.1 MB, free: 3.023 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002443/0.2471, allocations: 2.735 MB / 401.9 MB, free: 1.238 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0008664/0.248, allocations: 466.5 kB / 402.3 MB, free: 1.016 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.007098/0.2551, allocations: 4.612 MB / 406.9 MB, free: 14.22 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005283/0.2556, allocations: 332.1 kB / 407.2 MB, free: 14 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002842/0.2559, allocations: 230.3 kB / 407.5 MB, free: 13.79 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0007753/0.2567, allocations: 0.5815 MB / 408.1 MB, free: 13.25 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0005278/0.2572, allocations: 309.3 kB / 408.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001243/0.2584, allocations: 0.9263 MB / 409.3 MB, free: 12.36 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.00289/0.2613, allocations: 2.002 MB / 411.3 MB, free: 11.55 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002009/0.2633, allocations: 1.802 MB / 413.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.002474/0.2658, allocations: 1.326 MB / 414.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.002897/0.2687, allocations: 2.775 MB / 417.2 MB, free: 5.957 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0001648/0.2689, allocations: 64.06 kB / 417.2 MB, free: 5.879 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0008558/0.2697, allocations: 0.7182 MB / 418 MB, free: 5.152 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.01816/0.2879, allocations: 11.52 MB / 429.5 MB, free: 9.477 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.001941/0.2898, allocations: 1.374 MB / 430.9 MB, free: 8.113 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 2.174e-06/0.2898, allocations: 0 / 430.9 MB, free: 8.113 MB / 334.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0008801/0.2907, allocations: 0.4925 MB / 431.3 MB, free: 7.574 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.508e-05/0.2907, allocations: 4.656 kB / 431.4 MB, free: 7.57 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 0.0009682/0.2917, allocations: 0.5629 MB / 431.9 MB, free: 7.023 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 3.075e-05/0.2917, allocations: 12 kB / 431.9 MB, free: 7.012 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.003247/0.295, allocations: 2.132 MB / 434.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.004346/0.2993, allocations: 3.192 MB / 437.3 MB, free: 1.625 MB / 334.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: ................. 52 (52) {hbridge.enableLogic.internalEnable, hbridge.andCondition_p.u2, hbridge.andCondition_n.u2, hbridge.inverter_p.enableLogic.internalEnable, hbridge.inverter_p.andCondition_p.u2, hbridge.inverter_p.andCondition_p.y, hbridge.inverter_p.fire_p, hbridge.inverter_p.andCondition_n.u2, hbridge.inverter_p.andCondition_n.y, hbridge.inverter_p.transistor_p.off, hbridge.inverter_p.diode_p.off, hbridge.inverter_p.transistor_n.off, hbridge.inverter_p.diode_n.off, hbridge.inverter_n.enableLogic.internalEnable, hbridge.inverter_n.andCondition_p.u2, hbridge.inverter_n.andCondition_p.y, hbridge.inverter_n.fire_p, hbridge.inverter_n.andCondition_n.u2, hbridge.inverter_n.andCondition_n.y, hbridge.inverter_n.transistor_p.off, hbridge.inverter_n.diode_p.off, hbridge.inverter_n.transistor_n.off, hbridge.inverter_n.diode_n.off, signalPWM.fire, signalPWM.zeroOrderHold.sampleTrigger, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $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: ........... 73 (scalar:73, 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: ........... 162 (scalar:162, 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: ........... 162 (scalar:162, 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.0001849/0.2995, allocations: 119.5 kB / 437.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of SimCode: time 0.006/0.3055, allocations: 4.204 MB / 441.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of Templates: time 0.02086/0.3264, allocations: 10.25 MB / 451.8 MB, free: 3.055 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.365237565012649] Failed to read output from testmodel.py, exit status != 0: ['time', 'hbridge.vDC1', 'hbridge.iDC1', 'hbridge.vDC2', 'hbridge.iDC2', 'meanCurrent.y', 'meanVoltage.y'] 0.3358459660084918 0.351681386 0.10824476399999994 Calling exit ...