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_TrianglePWM_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.001337/0.001337, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001437/0.001437, allocations: 211.6 kB / 24.49 MB, free: 3.965 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.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 7.789 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_TrianglePWM_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|hbridge.vDC1|hbridge.iDC1|hbridge.vDC2|hbridge.iDC2|meanCurrent.y|meanVoltage.y|inductor.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|hbridge.vDC1|hbridge.iDC1|hbridge.vDC2|hbridge.iDC2|meanCurrent.y|meanVoltage.y|inductor.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 47.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2075, allocations: 53.37 MB / 432.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL): time 0.007825/0.2153, allocations: 5.549 MB / 437.9 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002795/0.2181, allocations: 1.668 MB / 439.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003289/0.2185, allocations: 27.81 kB / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004201/0.2189, allocations: 202 kB / 439.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00056/0.2194, allocations: 305.4 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008045/0.2203, allocations: 455.4 kB / 440.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.2217, allocations: 1.477 MB / 442 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006335/0.2223, allocations: 388.3 kB / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005315/0.2229, allocations: 0.5216 MB / 442.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006259/0.2235, allocations: 0.56 MB / 443.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001903/0.2237, allocations: 152 kB / 443.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.2239, allocations: 152 kB / 443.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002808/0.2242, allocations: 303 kB / 444.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005022/0.2247, allocations: 0.4939 MB / 444.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.2263, allocations: 1.685 MB / 446.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2263, allocations: 4 kB / 446.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2263, allocations: 0 / 446.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.2264, allocations: 0 / 446.3 MB, free: 8.75 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.002989/0.2293, allocations: 1.559 MB / 447.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2294, allocations: 12.03 kB / 447.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.2296, allocations: 124.2 kB / 448 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.2309, allocations: 0.6623 MB / 448.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.733e-05/0.231, allocations: 74.36 kB / 448.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.2312, allocations: 92.38 kB / 448.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/0.2332, allocations: 1.092 MB / 449.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.2332, allocations: 4 kB / 449.9 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.425e-05/0.2333, allocations: 39.98 kB / 449.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.2334, allocations: 24 kB / 450 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.2351, allocations: 0.8041 MB / 450.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005066/0.2402, allocations: 3.333 MB / 454.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/0.2421, allocations: 0.8467 MB / 454.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.2432, allocations: 492.4 kB / 455.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.537e-05/0.2432, allocations: 9 kB / 455.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/0.2444, allocations: 0.5569 MB / 456 MB, free: 14.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 3.306e-06/0.2444, allocations: 0 / 456 MB, free: 14.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.004999/0.2494, allocations: 1.618 MB / 457.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.2495, allocations: 115.8 kB / 457.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000771/0.2503, allocations: 0.5691 MB / 458.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.588e-05/0.2504, allocations: 49.64 kB / 458.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.2507, allocations: 413.1 kB / 458.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/0.251, allocations: 273.8 kB / 459 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002892/0.2513, allocations: 170.6 kB / 459.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.2515, allocations: 382.8 kB / 459.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007719/0.2522, allocations: 346.4 kB / 459.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009233/0.2532, allocations: 0.5551 MB / 460.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.2547, allocations: 0.7698 MB / 461.2 MB, free: 9.328 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.2547, allocations: 4 kB / 461.2 MB, free: 9.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002248/0.2569, allocations: 1.096 MB / 462.3 MB, free: 8.203 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.318e-05/0.257, allocations: 37.62 kB / 462.3 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.257, allocations: 8 kB / 462.4 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009015/0.2579, allocations: 285.5 kB / 462.6 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005535/0.2584, allocations: 127.9 kB / 462.8 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006148/0.2646, allocations: 4.752 MB / 467.5 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006312/0.2652, allocations: 91.66 kB / 467.6 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.538e-05/0.2653, allocations: 32 kB / 467.6 MB, free: 2.672 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001043/0.2663, allocations: 0.5153 MB / 468.1 MB, free: 2.148 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008905/0.2672, allocations: 0.5448 MB / 468.7 MB, free: 1.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001429/0.2686, allocations: 0.7503 MB / 469.4 MB, free: 0.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.346e-06/0.2686, allocations: 0 / 469.4 MB, free: 0.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.002182/0.2708, allocations: 1.064 MB / 470.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/0.2709, allocations: 37.69 kB / 470.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2709, allocations: 4 kB / 470.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008549/0.2717, allocations: 294 kB / 470.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005151/0.2722, allocations: 127.7 kB / 471 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005923/0.2782, allocations: 4.735 MB / 475.7 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005925/0.2788, allocations: 83.62 kB / 475.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.978e-05/0.2788, allocations: 35.94 kB / 475.8 MB, free: 10.11 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 38 (signalPWM.zeroOrderHold.firstTrigger,$PRE.signalPWM.zeroOrderHold.firstTrigger,meanCurrent.y_last,$PRE.meanCurrent.y_last,meanVoltage.y_last,$PRE.meanVoltage.y_last,zeroOrderHold.firstTrigger,$PRE.zeroOrderHold.firstTrigger,$whenCondition3,$whenCondition2,zeroOrderHold.sampleTrigger,$whenCondition1,signalPWM.zeroOrderHold.sampleTrigger,$whenCondition5,zeroOrderHold.ySample,$PRE.zeroOrderHold.ySample,signalPWM.triangle.count,$PRE.signalPWM.triangle.count,signalPWM.triangle.T_start,$PRE.signalPWM.triangle.T_start,signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.zeroOrderHold.ySample,signalPWM.notFire,hbridge.not_n.y,hbridge.not_p.y,hbridge.inverter_n.diode_n.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_p.diode_n.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.andCondition_p.y,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,11), (4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002975/0.2791, allocations: 249.3 kB / 476.1 MB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.2793, allocations: 79.48 kB / 476.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.2795, allocations: 91.81 kB / 476.2 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.2795, allocations: 3.984 kB / 476.2 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2795, allocations: 0 / 476.2 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003754/0.2799, allocations: 179.2 kB / 476.4 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.28, allocations: 16 kB / 476.4 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004899/0.2805, allocations: 56.03 kB / 476.5 MB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.2806, allocations: 76.86 kB / 476.5 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003042/0.2837, allocations: 1.162 MB / 477.7 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002642/0.2863, allocations: 1.395 MB / 479.1 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007415/0.287, allocations: 351.8 kB / 479.4 MB, free: 6.438 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004723/0.2875, allocations: 378.8 kB / 479.8 MB, free: 6.066 MB / 382.1 MB Notification: Performance of Backend: time 4e-07/0.2875, allocations: 0 / 479.8 MB, free: 6.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003591/0.2911, allocations: 1.925 MB / 481.7 MB, free: 4.047 MB / 382.1 MB Notification: Performance of SimCode: time 0.0031/0.2942, allocations: 2.209 MB / 483.9 MB, free: 1.781 MB / 382.1 MB Notification: Performance of Templates: time 0.03196/0.3262, allocations: 20.07 MB / 0.4922 GB, free: 13.96 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.7608556730046985] Failed to read output from testmodel.py, exit status != 0: ['time', 'hbridge.vDC1', 'hbridge.iDC1', 'hbridge.vDC2', 'hbridge.iDC2', 'meanCurrent.y', 'meanVoltage.y', 'inductor.i'] 0.33416530200338457 0.347934881 0.118644226 Calling exit ...