Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_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.001893/0.001893, allocations: 104 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.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.002042/0.002042, allocations: 190.7 kB / 24.53 MB, free: 3.852 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.565/1.565, 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.HBridge.HBridge_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.y|meanVoltage.y|hbridge.dc_n1.v|hbridge.dc_n1.i|hbridge.dc_p1.v|hbridge.dc_p1.i|hbridge.dc_n2.v|hbridge.dc_n2.i|hbridge.dc_p2.v|hbridge.dc_p2.i",fileNamePrefix="Modelica_4.0.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|meanCurrent.y|meanVoltage.y|hbridge.dc_n1.v|hbridge.dc_n1.i|hbridge.dc_p1.v|hbridge.dc_p1.i|hbridge.dc_n2.v|hbridge.dc_n2.i|hbridge.dc_p2.v|hbridge.dc_p2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.094e-05, allocations: 2.281 kB / 371.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R): time 0.008014/0.008035, allocations: 5.168 MB / 376.9 MB, free: 3.992 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003545/0.01158, allocations: 1.497 MB / 378.4 MB, free: 2.488 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005979/0.01218, allocations: 27.81 kB / 378.4 MB, free: 2.461 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004928/0.01267, allocations: 194.2 kB / 378.6 MB, free: 2.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006653/0.01334, allocations: 273.7 kB / 378.9 MB, free: 2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009883/0.01432, allocations: 427.1 kB / 379.3 MB, free: 1.586 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001853/0.01618, allocations: 1.563 MB / 380.9 MB, free: 16 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2242/0.2404, allocations: 309.7 kB / 381.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009475/0.2413, allocations: 0.5064 MB / 381.7 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000589/0.2419, allocations: 455.5 kB / 382.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002111/0.2421, allocations: 142 kB / 382.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002426/0.2424, allocations: 143 kB / 382.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001664/0.244, allocations: 2.103 MB / 384.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008373/0.2449, allocations: 1.284 MB / 385.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.2452, allocations: 87.41 kB / 385.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002572/0.2454, allocations: 59.77 kB / 385.9 MB, free: 11.43 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: 218 (218) * Number of variables: 218 (218) Notification: Performance of [SIM] Bindings: time 0.004398/0.2498, allocations: 4.624 MB / 390.6 MB, free: 9.473 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007221/0.2505, allocations: 0.5882 MB / 391.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002657/0.2532, allocations: 2.686 MB / 393.8 MB, free: 7.344 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001001/0.2542, allocations: 468.4 kB / 394.3 MB, free: 7.133 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.006913/0.2611, allocations: 4.525 MB / 398.8 MB, free: 4.695 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005876/0.2617, allocations: 327.7 kB / 399.1 MB, free: 4.539 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002752/0.262, allocations: 230.4 kB / 399.4 MB, free: 4.375 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0008233/0.2628, allocations: 0.5871 MB / 400 MB, free: 3.941 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.000532/0.2633, allocations: 307.8 kB / 400.3 MB, free: 3.758 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.001142/0.2645, allocations: 0.9236 MB / 401.2 MB, free: 3.25 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.003719/0.2682, allocations: 2.001 MB / 403.2 MB, free: 2.688 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002065/0.2702, allocations: 1.785 MB / 405 MB, free: 1.637 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002548/0.2728, allocations: 1.329 MB / 406.3 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.002778/0.2756, allocations: 2.744 MB / 409 MB, free: 14.58 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0001647/0.2757, allocations: 64.66 kB / 409.1 MB, free: 14.54 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.000713/0.2764, allocations: 0.7187 MB / 409.8 MB, free: 13.92 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.01776/0.2942, allocations: 11.49 MB / 421.3 MB, free: 3.531 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.00198/0.2962, allocations: 1.368 MB / 422.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 3.536e-06/0.2962, allocations: 0 / 422.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0008694/0.2971, allocations: 0.5021 MB / 423.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.768e-06/0.2971, allocations: 0.6562 kB / 423.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0008804/0.298, allocations: 0.5532 MB / 423.7 MB, free: 1.125 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 2.293e-05/0.298, allocations: 6.625 kB / 423.7 MB, free: 1.121 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.003167/0.3011, allocations: 2.138 MB / 425.9 MB, free: 15 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.004163/0.3053, allocations: 3.187 MB / 429.1 MB, free: 11.78 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.andCondition_n.u2, hbridge.inverter_p.andCondition_n.y, hbridge.inverter_p.fire_n, 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.andCondition_n.u2, hbridge.inverter_n.andCondition_n.y, hbridge.inverter_n.fire_n, 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.0001728/0.3055, allocations: 110.1 kB / 429.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of SimCode: time 0.005278/0.3108, allocations: 4.157 MB / 433.3 MB, free: 7.461 MB / 334.1 MB Notification: Performance of Templates: time 0.02004/0.3308, allocations: 10.19 MB / 443.5 MB, free: 13.36 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.182105228013825] Failed to read output from testmodel.py, exit status != 0: ['time', 'meanCurrent.y', 'meanVoltage.y', 'hbridge.dc_n1.v', 'hbridge.dc_n1.i', 'hbridge.dc_p1.v', 'hbridge.dc_p1.i', 'hbridge.dc_n2.v', 'hbridge.dc_n2.i', 'hbridge.dc_p2.v', 'hbridge.dc_p2.i'] 0.3401738019892946 0.35624153799999997 0.107488647 Calling exit ...