Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_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.001723/0.001723, allocations: 112.3 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.002095/0.002095, allocations: 211 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.406/1.406, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|inductor.i|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|inverter.ac.v|inverter.ac.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|inductor.i|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|inverter.ac.v|inverter.ac.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_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.001932/0.001932, allocations: 71.83 kB / 378.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2163, allocations: 53.31 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL): time 0.006853/0.2232, allocations: 5.256 MB / 437.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002632/0.2258, allocations: 1.622 MB / 439 MB, free: 484 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.2261, allocations: 19.88 kB / 439 MB, free: 464 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.2264, allocations: 146.5 kB / 439.1 MB, free: 316 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004805/0.2269, allocations: 222 kB / 439.4 MB, free: 92 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008284/0.2278, allocations: 441.6 kB / 439.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001122/0.2289, allocations: 1.11 MB / 440.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004958/0.2294, allocations: 298.6 kB / 441.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005174/0.2299, allocations: 410.4 kB / 441.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005662/0.2305, allocations: 457.8 kB / 442 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.2306, allocations: 104 kB / 442.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.2308, allocations: 124 kB / 442.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.231, allocations: 227.2 kB / 442.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004626/0.2315, allocations: 477.5 kB / 442.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.2328, allocations: 1.183 MB / 444.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2328, allocations: 8 kB / 444.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2328, allocations: 0 / 444.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.2328, allocations: 0 / 444.1 MB, free: 11.27 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002712/0.2355, allocations: 1.54 MB / 445.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2355, allocations: 16.03 kB / 445.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006437/0.2362, allocations: 156.2 kB / 445.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.2373, allocations: 0.6382 MB / 446.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.274e-05/0.2374, allocations: 50.38 kB / 446.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.2375, allocations: 80.36 kB / 446.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.2389, allocations: 0.7827 MB / 447.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.2389, allocations: 0 / 447.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.016e-05/0.239, allocations: 35.98 kB / 447.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.239, allocations: 19.94 kB / 447.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.2403, allocations: 0.5739 MB / 448 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004129/0.2445, allocations: 2.706 MB / 450.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.2456, allocations: 0.5254 MB / 451.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006037/0.2462, allocations: 282.4 kB / 451.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/0.2463, allocations: 12.55 kB / 451.5 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008615/0.2472, allocations: 461.6 kB / 452 MB, free: 3.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.054e-06/0.2472, allocations: 0 / 452 MB, free: 3.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.00332/0.2505, allocations: 1.215 MB / 453.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.2506, allocations: 111.4 kB / 453.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007117/0.2513, allocations: 0.5899 MB / 453.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.326e-05/0.2513, allocations: 45.7 kB / 453.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.2516, allocations: 361 kB / 454.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.2518, allocations: 226.2 kB / 454.5 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.252, allocations: 138.6 kB / 454.7 MB, free: 396 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.2522, allocations: 386.8 kB / 455 MB, free: 0 / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000574/0.2528, allocations: 240.7 kB / 455.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000716/0.2535, allocations: 422.1 kB / 455.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.2547, allocations: 0.6505 MB / 456.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2547, allocations: 4 kB / 456.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001654/0.2564, allocations: 0.8446 MB / 457.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.2564, allocations: 37.69 kB / 457.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.2564, allocations: 4 kB / 457.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004425/0.2569, allocations: 137 kB / 457.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/0.2574, allocations: 127.8 kB / 457.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003053/0.2604, allocations: 2.528 MB / 460 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/0.2609, allocations: 87.48 kB / 460.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.261, allocations: 28 kB / 460.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000722/0.2617, allocations: 386 kB / 460.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006557/0.2623, allocations: 410.1 kB / 460.9 MB, free: 9.754 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001107/0.2634, allocations: 0.631 MB / 461.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.736e-06/0.2635, allocations: 0 / 461.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001561/0.265, allocations: 0.8251 MB / 462.4 MB, free: 8.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.265, allocations: 33.7 kB / 462.4 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2651, allocations: 4 kB / 462.4 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003827/0.2654, allocations: 144.9 kB / 462.5 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004824/0.2659, allocations: 128 kB / 462.7 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003017/0.2689, allocations: 2.518 MB / 465.2 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.2694, allocations: 79.67 kB / 465.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-05/0.2695, allocations: 28 kB / 465.3 MB, free: 5.145 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 30 (signalPWM.zeroOrderHold.firstTrigger,$PRE.signalPWM.zeroOrderHold.firstTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fundamentalWaveCurrent.mean2.y_last,$PRE.fundamentalWaveCurrent.mean2.y_last,fundamentalWaveCurrent.mean1.y_last,$PRE.fundamentalWaveCurrent.mean1.y_last,fundamentalWaveVoltage.mean2.y_last,$PRE.fundamentalWaveVoltage.mean2.y_last,fundamentalWaveVoltage.mean1.y_last,$PRE.fundamentalWaveVoltage.mean1.y_last,signalPWM.zeroOrderHold.sampleTrigger,$whenCondition6,signalPWM.sawtooth.count,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.T_start,signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.zeroOrderHold.ySample,signalPWM.notFire,inverter.diode_n.off,inverter.transistor_n.off,inverter.diode_p.off,inverter.transistor_p.off,inverter.andCondition_n.y,inverter.andCondition_p.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0002427/0.2697, allocations: 247.9 kB / 465.5 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.2699, allocations: 79.48 kB / 465.6 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.2715, allocations: 0.7609 MB / 466.4 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.2715, allocations: 7.922 kB / 466.4 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2715, allocations: 0 / 466.4 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/0.2718, allocations: 208.4 kB / 466.6 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.2719, allocations: 16 kB / 466.6 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/0.2724, allocations: 44.05 kB / 466.6 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.2725, allocations: 56.47 kB / 466.7 MB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002202/0.2747, allocations: 0.8703 MB / 467.6 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002052/0.2768, allocations: 1.14 MB / 468.7 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000567/0.2773, allocations: 252.3 kB / 468.9 MB, free: 1.406 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000502/0.2778, allocations: 415.1 kB / 469.3 MB, free: 1.004 MB / 366.1 MB Notification: Performance of Backend: time 1.6e-07/0.2778, allocations: 3.938 kB / 469.4 MB, free: 1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002756/0.2806, allocations: 1.3 MB / 470.7 MB, free: 15.65 MB / 382.1 MB Notification: Performance of SimCode: time 0.00265/0.2832, allocations: 1.95 MB / 472.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of Templates: time 0.02461/0.3078, allocations: 14.34 MB / 486.9 MB, free: 15.46 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.575674494728446] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', 'fundamentalWaveCurrent.mean1.y', 'fundamentalWaveCurrent.mean2.y', 'fundamentalWaveVoltage.mean1.y', 'fundamentalWaveVoltage.mean2.y', 'inverter.ac.v', 'inverter.ac.i'] 0.31603623693808913 0.32974873099999996 0.094034478 Calling exit ...