Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.416/1.416, allocations: 230.4 MB / 258.1 MB, free: 8.16 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 71.83 kB / 378.8 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2088, allocations: 53.31 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL): time 0.007952/0.2167, allocations: 6.25 MB / 438.3 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003115/0.2198, allocations: 1.707 MB / 440.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004385/0.2203, allocations: 19.94 kB / 440.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004634/0.2207, allocations: 206 kB / 440.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005623/0.2213, allocations: 305.4 kB / 440.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008681/0.2222, allocations: 467.2 kB / 441 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001483/0.2236, allocations: 1.485 MB / 442.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006423/0.2243, allocations: 376.9 kB / 442.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005398/0.2248, allocations: 0.506 MB / 443.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000644/0.2255, allocations: 0.5639 MB / 444 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.2257, allocations: 152 kB / 444.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.2259, allocations: 152 kB / 444.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002737/0.2261, allocations: 295 kB / 444.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000572/0.2267, allocations: 0.6181 MB / 445.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.2284, allocations: 1.67 MB / 446.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.2284, allocations: 4 kB / 446.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2284, allocations: 0 / 446.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.2284, allocations: 0 / 446.8 MB, free: 8.551 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.002897/0.2313, allocations: 1.638 MB / 448.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2313, allocations: 8.031 kB / 448.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.2315, allocations: 132.1 kB / 448.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.2328, allocations: 0.7201 MB / 449.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.542e-05/0.2329, allocations: 78.31 kB / 449.4 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.233, allocations: 92.36 kB / 449.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.2349, allocations: 1.038 MB / 450.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.235, allocations: 4 kB / 450.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-05/0.2351, allocations: 43.98 kB / 450.6 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.2351, allocations: 24 kB / 450.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.2369, allocations: 0.8041 MB / 451.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005101/0.242, allocations: 3.854 MB / 455.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.2438, allocations: 0.8482 MB / 456.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.2449, allocations: 496.1 kB / 456.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.308e-05/0.2449, allocations: 9 kB / 456.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/0.2459, allocations: 0.5241 MB / 457.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 2.665e-06/0.2459, allocations: 0 / 457.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.004799/0.2507, allocations: 1.784 MB / 458.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/0.2508, allocations: 123.8 kB / 459 MB, free: 11.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008583/0.2517, allocations: 0.6997 MB / 459.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.754e-05/0.2517, allocations: 45.69 kB / 459.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/0.2521, allocations: 401.2 kB / 460.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.2523, allocations: 273.8 kB / 460.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/0.2526, allocations: 158.6 kB / 460.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.2528, allocations: 398.7 kB / 461 MB, free: 10 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007209/0.2535, allocations: 316.7 kB / 461.3 MB, free: 9.688 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008526/0.2543, allocations: 488.8 kB / 461.8 MB, free: 9.148 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.2558, allocations: 0.7737 MB / 462.5 MB, free: 8.309 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2558, allocations: 3.938 kB / 462.5 MB, free: 8.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002095/0.2579, allocations: 1.086 MB / 463.6 MB, free: 7.199 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.2579, allocations: 33.7 kB / 463.7 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.2579, allocations: 4 kB / 463.7 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007969/0.2587, allocations: 285.6 kB / 463.9 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005254/0.2593, allocations: 135.7 kB / 464.1 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00585/0.2651, allocations: 5.047 MB / 469.1 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005784/0.2657, allocations: 103.5 kB / 469.2 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/0.2657, allocations: 31.98 kB / 469.3 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009272/0.2667, allocations: 0.4902 MB / 469.7 MB, free: 0.793 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008037/0.2675, allocations: 472.8 kB / 470.2 MB, free: 272 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001376/0.2689, allocations: 0.7503 MB / 471 MB, free: 15.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.006e-06/0.2689, allocations: 0 / 471 MB, free: 15.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.002004/0.2709, allocations: 1.059 MB / 472 MB, free: 14.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.2709, allocations: 37.64 kB / 472 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2709, allocations: 4 kB / 472.1 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007305/0.2716, allocations: 293.4 kB / 472.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.2721, allocations: 127.8 kB / 472.5 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005779/0.2779, allocations: 5.062 MB / 477.5 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/0.2785, allocations: 83.62 kB / 477.6 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.2785, allocations: 32 kB / 477.6 MB, free: 8.473 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.0002734/0.2788, allocations: 249.3 kB / 477.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.279, allocations: 99.33 kB / 478 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.2792, allocations: 101.2 kB / 478.1 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.2792, allocations: 3.984 kB / 478.1 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2792, allocations: 3.938 kB / 478.1 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/0.2796, allocations: 276.3 kB / 478.4 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.2797, allocations: 23.98 kB / 478.4 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004797/0.2802, allocations: 51.89 kB / 478.4 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.2804, allocations: 72.91 kB / 478.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003056/0.2834, allocations: 1.167 MB / 479.7 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002593/0.286, allocations: 1.403 MB / 481.1 MB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007185/0.2867, allocations: 347.8 kB / 481.4 MB, free: 4.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006239/0.2874, allocations: 487 kB / 481.9 MB, free: 4.164 MB / 382.1 MB Notification: Performance of Backend: time 3.81e-07/0.2874, allocations: 4 kB / 481.9 MB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00357/0.2909, allocations: 1.867 MB / 483.8 MB, free: 2.211 MB / 382.1 MB Notification: Performance of SimCode: time 0.002989/0.2939, allocations: 2.276 MB / 486 MB, free: 15.89 MB / 398.1 MB Notification: Performance of Templates: time 0.03168/0.3256, allocations: 20.4 MB / 0.4946 GB, free: 11.67 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.635044272057712] Failed to read output from testmodel.py, exit status != 0: 0.3335389597341418 0.346811645 0.115535513 Calling exit ...