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_DC_Drive.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.001742/0.001742, 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.00211/0.00211, 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.391/1.391, allocations: 230.4 MB / 258.1 MB, free: 8.168 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_DC_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=120000,variableFilter="time|hbridge.vDC1|hbridge.iDC1|hbridge.vDC2|hbridge.iDC2|meanCurrent.y|meanVoltage.y|dcpm.inertiaRotor.phi|dcpm.inertiaRotor.w|inductor.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=120000,variableFilter="time|hbridge.vDC1|hbridge.iDC1|hbridge.vDC2|hbridge.iDC2|meanCurrent.y|meanVoltage.y|dcpm.inertiaRotor.phi|dcpm.inertiaRotor.w|inductor.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive") [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.001925/0.001925, allocations: 67.83 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2108, allocations: 53.32 MB / 432.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive): time 0.01388/0.2247, allocations: 11.54 MB / 443.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006075/0.2308, allocations: 3.806 MB / 447.5 MB, free: 8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006256/0.2314, allocations: 47.81 kB / 447.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.233, allocations: 0.788 MB / 448.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.2342, allocations: 0.7603 MB / 449 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.2355, allocations: 0.7409 MB / 449.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002561/0.2381, allocations: 2.664 MB / 452.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.2391, allocations: 0.6891 MB / 453.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.2402, allocations: 0.9846 MB / 454.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.2414, allocations: 1.093 MB / 455.2 MB, free: 160 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003122/0.2417, allocations: 260 kB / 455.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006247/0.2423, allocations: 451.7 kB / 455.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004433/0.2428, allocations: 0.5178 MB / 456.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.2438, allocations: 1.147 MB / 457.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003158/0.2469, allocations: 3.195 MB / 460.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2469, allocations: 0 / 460.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2469, allocations: 0 / 460.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.247, allocations: 4 kB / 460.8 MB, free: 10.58 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.004501/0.2515, allocations: 2.824 MB / 463.6 MB, free: 7.664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.2515, allocations: 8.031 kB / 463.6 MB, free: 7.656 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006598/0.2522, allocations: 283.4 kB / 463.9 MB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/0.2543, allocations: 1.254 MB / 465.1 MB, free: 6.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.2544, allocations: 123.6 kB / 465.3 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002354/0.2546, allocations: 172.3 kB / 465.4 MB, free: 5.781 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002963/0.2576, allocations: 1.759 MB / 467.2 MB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.175e-05/0.2576, allocations: 8 kB / 467.2 MB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.2578, allocations: 64 kB / 467.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/0.2578, allocations: 44 kB / 467.3 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002618/0.2604, allocations: 1.316 MB / 468.6 MB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008747/0.2692, allocations: 6.917 MB / 475.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.2712, allocations: 1.034 MB / 476.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.2724, allocations: 0.6237 MB / 477.2 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.434e-05/0.2725, allocations: 9 kB / 477.2 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001313/0.2738, allocations: 0.7615 MB / 478 MB, free: 8.867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=124): time 2.806e-06/0.2738, allocations: 0 / 478 MB, free: 8.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.008976/0.2828, allocations: 4.265 MB / 482.2 MB, free: 4.453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.2829, allocations: 212.8 kB / 482.4 MB, free: 4.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.2848, allocations: 1.426 MB / 483.9 MB, free: 2.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.956e-05/0.2849, allocations: 57.69 kB / 483.9 MB, free: 2.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007115/0.2856, allocations: 0.8382 MB / 484.8 MB, free: 1.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003443/0.2859, allocations: 408.6 kB / 485.2 MB, free: 1.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004042/0.2863, allocations: 275.5 kB / 485.4 MB, free: 1.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.2865, allocations: 313.1 kB / 485.7 MB, free: 0.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009874/0.2875, allocations: 480.6 kB / 486.2 MB, free: 412 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.2888, allocations: 0.9017 MB / 487.1 MB, free: 15.31 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002335/0.2911, allocations: 1.505 MB / 488.6 MB, free: 13.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.2912, allocations: 4 kB / 488.6 MB, free: 13.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003313/0.2945, allocations: 1.883 MB / 490.5 MB, free: 11.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.85e-05/0.2946, allocations: 105.1 kB / 490.6 MB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.2946, allocations: 12 kB / 490.6 MB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009422/0.2955, allocations: 341.4 kB / 490.9 MB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008419/0.2964, allocations: 243.5 kB / 491.2 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007295/0.3037, allocations: 6.788 MB / 498 MB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008956/0.3045, allocations: 79.95 kB / 498 MB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.546e-05/0.3046, allocations: 60 kB / 498.1 MB, free: 3.633 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001391/0.306, allocations: 0.7695 MB / 498.9 MB, free: 2.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001275/0.3073, allocations: 0.8939 MB / 499.8 MB, free: 1.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002191/0.3095, allocations: 1.478 MB / 0.4895 GB, free: 96 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.566e-06/0.3095, allocations: 4 kB / 0.4895 GB, free: 92 kB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.003193/0.3127, allocations: 1.86 MB / 0.4913 GB, free: 14.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.839e-05/0.3128, allocations: 105.1 kB / 0.4914 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.3128, allocations: 20.02 kB / 0.4914 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008647/0.3137, allocations: 349.4 kB / 0.4918 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000803/0.3145, allocations: 239.6 kB / 0.492 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007233/0.3217, allocations: 6.787 MB / 0.4986 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009246/0.3226, allocations: 80.02 kB / 0.4987 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.712e-05/0.3227, allocations: 60 kB / 0.4988 GB, free: 6.137 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 47 (signalPWM.zeroOrderHold.firstTrigger,$PRE.signalPWM.zeroOrderHold.firstTrigger,meanCurrent.y_last,$PRE.meanCurrent.y_last,meanVoltage.y_last,$PRE.meanVoltage.y_last,$whenCondition4,$whenCondition3,signalPWM.zeroOrderHold.sampleTrigger,$whenCondition6,dutyCycleTable.nextEventScaled,dutyCycleTable.nextEvent,$PRE.dutyCycleTable.nextEvent,dutyCycleTable.last,dutyCycleTable.b,dutyCycleTable.a,torqueTable.nextEventScaled,torqueTable.nextEvent,$PRE.torqueTable.nextEvent,torqueTable.last,torqueTable.b,torqueTable.a,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,hbridge.fire_p,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,11), (4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000373/0.3231, allocations: 368.6 kB / 0.4991 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.3233, allocations: 178.9 kB / 0.4993 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003106/0.3264, allocations: 1.627 MB / 0.5009 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.3264, allocations: 3.984 kB / 0.5009 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3264, allocations: 0 / 0.5009 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000566/0.327, allocations: 375.8 kB / 0.5012 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.3272, allocations: 28 kB / 0.5013 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007085/0.3279, allocations: 63.88 kB / 0.5013 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.3281, allocations: 96.81 kB / 0.5014 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003915/0.332, allocations: 1.839 MB / 0.5032 GB, free: 1.457 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003607/0.3356, allocations: 2.174 MB / 0.5053 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009215/0.3366, allocations: 0.4883 MB / 0.5058 GB, free: 14.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001307/0.3379, allocations: 0.9479 MB / 0.5067 GB, free: 13.82 MB / 430.1 MB Notification: Performance of Backend: time 3.91e-07/0.3379, allocations: 0 / 0.5067 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004988/0.3429, allocations: 3.03 MB / 0.5097 GB, free: 10.64 MB / 430.1 MB Notification: Performance of SimCode: time 0.005299/0.3482, allocations: 3.898 MB / 0.5135 GB, free: 6.66 MB / 430.1 MB Notification: Performance of Templates: time 0.2043/0.5525, allocations: 32.16 MB / 0.5449 GB, free: 100.3 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 24.65902834990993] Failed to read output from testmodel.py, exit status != 0: ['time', 'hbridge.vDC1', 'hbridge.iDC1', 'hbridge.vDC2', 'hbridge.iDC2', 'meanCurrent.y', 'meanVoltage.y', 'dcpm.inertiaRotor.phi', 'dcpm.inertiaRotor.w', 'inductor.i'] 0.5600806400179863 0.568344627 0.31929222500000004 Calling exit ...