Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.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.00196/0.00196, allocations: 109.8 kB / 21.99 MB, free: 4.594 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.002615/0.002615, allocations: 214 kB / 25.3 MB, free: 2.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 207.7 MB / 236.2 MB, free: 9.762 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|inductor.i|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_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|inductor.i|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_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.406e-05, allocations: 2.281 kB / 348.6 MB, free: 9.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL): time 0.008305/0.008329, allocations: 5.223 MB / 353.8 MB, free: 4.066 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00417/0.0125, allocations: 1.54 MB / 355.3 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007998/0.0133, allocations: 27.81 kB / 355.3 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006284/0.01393, allocations: 198 kB / 355.5 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007715/0.0147, allocations: 285.6 kB / 355.8 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.01574, allocations: 423.5 kB / 356.2 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001774/0.01751, allocations: 1.591 MB / 357.8 MB, free: 8 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006905/0.0182, allocations: 325.4 kB / 358.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007224/0.01892, allocations: 0.5139 MB / 358.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000659/0.01958, allocations: 465.5 kB / 359.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002078/0.01979, allocations: 144 kB / 359.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.02002, allocations: 144 kB / 359.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002095/0.02211, allocations: 2.139 MB / 361.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001115/0.02323, allocations: 1.311 MB / 362.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002327/0.02346, allocations: 88 kB / 362.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002727/0.02373, allocations: 55.72 kB / 363 MB, free: 10.79 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.005659/0.02939, allocations: 4.71 MB / 367.7 MB, free: 5.887 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007431/0.03014, allocations: 0.5894 MB / 368.3 MB, free: 5.27 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.003233/0.03337, allocations: 2.73 MB / 371 MB, free: 2.496 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001034/0.0344, allocations: 476.6 kB / 371.5 MB, free: 1.961 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0078/0.0422, allocations: 4.592 MB / 376.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005868/0.04279, allocations: 341.5 kB / 376.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000363/0.04315, allocations: 232 kB / 376.6 MB, free: 12.27 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0008677/0.04402, allocations: 0.5797 MB / 377.2 MB, free: 11.63 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0005438/0.04456, allocations: 319.6 kB / 377.5 MB, free: 11.3 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001346/0.04591, allocations: 0.9268 MB / 378.4 MB, free: 10.32 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.003805/0.04972, allocations: 2.018 MB / 380.5 MB, free: 8.23 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00246/0.05218, allocations: 1.807 MB / 382.3 MB, free: 6.422 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.002889/0.05506, allocations: 1.335 MB / 383.6 MB, free: 4.969 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.003539/0.0586, allocations: 2.783 MB / 386.4 MB, free: 2.176 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.00017/0.05877, allocations: 75.98 kB / 386.5 MB, free: 2.086 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0008024/0.05958, allocations: 0.7143 MB / 387.2 MB, free: 1.363 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.2999/0.3594, allocations: 11.67 MB / 398.8 MB, free: 36.06 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.003445/0.3629, allocations: 1.883 MB / 400.7 MB, free: 35.69 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 5.36e-06/0.3629, allocations: 1.25 kB / 400.7 MB, free: 35.69 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0009884/0.3639, allocations: 0.51 MB / 401.2 MB, free: 35.5 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.059e-05/0.3639, allocations: 0.6562 kB / 401.2 MB, free: 35.5 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.000989/0.3649, allocations: 0.6932 MB / 401.9 MB, free: 35.37 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 2.777e-05/0.3649, allocations: 6.875 kB / 401.9 MB, free: 35.37 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.003323/0.3682, allocations: 2.219 MB / 404.2 MB, free: 35.17 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.00349/0.3717, allocations: 3.357 MB / 407.5 MB, free: 32.81 MB / 318.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: ............................. 3 (3) {meanCurrent.x, meanVoltage.x, inductor.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: ................. 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: ........... 79 (scalar:79, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 170 (scalar:170, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 170 (scalar:170, 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 0.000132/0.3719, allocations: 112.7 kB / 407.6 MB, free: 32.71 MB / 318.1 MB Notification: Performance of SimCode: time 0.003793/0.3757, allocations: 4.212 MB / 411.8 MB, free: 29.86 MB / 318.1 MB Notification: Performance of Templates: time 0.01593/0.3916, allocations: 10.33 MB / 422.2 MB, free: 19.57 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.54040320700733] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', '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.4004313410259783 0.41102316600000005 0.384839926 Calling exit ...