Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_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.001333/0.001333, allocations: 110.4 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.001431/0.001431, allocations: 204.7 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.425/1.425, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.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_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_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 51.92 kB / 379 MB, free: 2.527 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2196, allocations: 53.36 MB / 432.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL): time 0.006611/0.2262, allocations: 4.713 MB / 437.1 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002748/0.229, allocations: 1.572 MB / 438.7 MB, free: 420 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003369/0.2293, allocations: 31.81 kB / 438.7 MB, free: 388 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.2297, allocations: 138.5 kB / 438.8 MB, free: 248 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005224/0.2302, allocations: 222 kB / 439 MB, free: 24 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008358/0.231, allocations: 431.3 kB / 439.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001132/0.2322, allocations: 1.102 MB / 440.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005085/0.2327, allocations: 299.1 kB / 440.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005089/0.2332, allocations: 426.4 kB / 441.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005173/0.2337, allocations: 453.9 kB / 441.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.2338, allocations: 108 kB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.234, allocations: 120 kB / 441.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.2343, allocations: 227.2 kB / 442.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003931/0.2347, allocations: 394 kB / 442.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.2359, allocations: 1.186 MB / 443.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.236, allocations: 3.984 kB / 443.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.236, allocations: 3.938 kB / 443.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.236, allocations: 0 / 443.7 MB, free: 11.29 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.002798/0.2388, allocations: 1.476 MB / 445.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2388, allocations: 8.031 kB / 445.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006909/0.2395, allocations: 160.2 kB / 445.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.2406, allocations: 0.5532 MB / 445.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.158e-05/0.2407, allocations: 62.36 kB / 446 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.2408, allocations: 76.38 kB / 446.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.2424, allocations: 0.8328 MB / 446.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.2424, allocations: 0 / 446.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.919e-05/0.2425, allocations: 28 kB / 446.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.2425, allocations: 16 kB / 447 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.2438, allocations: 0.5816 MB / 447.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004007/0.2478, allocations: 2.345 MB / 449.9 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.249, allocations: 0.5027 MB / 450.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006022/0.2496, allocations: 282.6 kB / 450.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.2497, allocations: 12.64 kB / 450.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009048/0.2506, allocations: 480.9 kB / 451.1 MB, free: 3.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.435e-06/0.2506, allocations: 0 / 451.1 MB, free: 3.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.003349/0.2539, allocations: 1.134 MB / 452.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/0.254, allocations: 123.4 kB / 452.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006251/0.2546, allocations: 0.5029 MB / 452.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/0.2547, allocations: 53.69 kB / 452.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.255, allocations: 368.9 kB / 453.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.2552, allocations: 226.1 kB / 453.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.2554, allocations: 142.7 kB / 453.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.2556, allocations: 374.7 kB / 454 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005923/0.2562, allocations: 278.4 kB / 454.3 MB, free: 416 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007619/0.257, allocations: 499.2 kB / 454.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.2582, allocations: 0.6495 MB / 455.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.2582, allocations: 0 / 455.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001722/0.2599, allocations: 0.864 MB / 456.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.26, allocations: 37.7 kB / 456.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.26, allocations: 7.984 kB / 456.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004847/0.2605, allocations: 149.3 kB / 456.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005365/0.261, allocations: 123.7 kB / 456.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003068/0.2641, allocations: 2.351 MB / 459 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.2646, allocations: 83.62 kB / 459.1 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/0.2646, allocations: 31.94 kB / 459.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007485/0.2654, allocations: 419.7 kB / 459.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007024/0.2661, allocations: 492.8 kB / 460 MB, free: 10.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001131/0.2672, allocations: 0.6339 MB / 460.6 MB, free: 9.652 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.936e-06/0.2672, allocations: 0 / 460.6 MB, free: 9.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001602/0.2688, allocations: 0.8445 MB / 461.5 MB, free: 8.781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.2688, allocations: 33.7 kB / 461.5 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2688, allocations: 4.562 kB / 461.5 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004136/0.2693, allocations: 156.8 kB / 461.6 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005065/0.2698, allocations: 111.8 kB / 461.8 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002954/0.2727, allocations: 2.367 MB / 464.1 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005081/0.2732, allocations: 75.64 kB / 464.2 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/0.2733, allocations: 32.09 kB / 464.2 MB, free: 5.898 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.0002316/0.2735, allocations: 248 kB / 464.5 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.2736, allocations: 71.58 kB / 464.5 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.2754, allocations: 0.7625 MB / 465.3 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.2754, allocations: 3.984 kB / 465.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2754, allocations: 7.938 kB / 465.3 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.2757, allocations: 123.4 kB / 465.4 MB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.921e-05/0.2758, allocations: 15.94 kB / 465.4 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004331/0.2762, allocations: 47.95 kB / 465.5 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.2763, allocations: 60.55 kB / 465.6 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002243/0.2786, allocations: 0.86 MB / 466.4 MB, free: 3.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002103/0.2807, allocations: 1.143 MB / 467.6 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005532/0.2812, allocations: 261 kB / 467.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004194/0.2817, allocations: 350.8 kB / 468.2 MB, free: 1.926 MB / 366.1 MB Notification: Performance of Backend: time 4.4e-07/0.2817, allocations: 0 / 468.2 MB, free: 1.926 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002637/0.2843, allocations: 1.362 MB / 469.5 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of SimCode: time 0.002555/0.2868, allocations: 1.928 MB / 471.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of Templates: time 0.02511/0.312, allocations: 14.74 MB / 486.2 MB, free: 20 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.6966705130034825] 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.32018062599672703 0.33466085900000003 0.095643896 Calling exit ...