Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=1000,variableFilter="time|inductor.i|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|inverter.ac.v|inverter.ac.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|inverter.ac.v|inverter.ac.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001546/0.001546, allocations: 111 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001922/0.001922, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 59.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.222, allocations: 50.54 MB / 410 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL): time 0.006338/0.2284, allocations: 5.187 MB / 415.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002965/0.2313, allocations: 1.612 MB / 416.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007012/0.2321, allocations: 15.94 kB / 416.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000495/0.2326, allocations: 150.5 kB / 416.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007924/0.2334, allocations: 221.9 kB / 417.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.2344, allocations: 427.2 kB / 417.6 MB, free: 9.953 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001351/0.2358, allocations: 1.106 MB / 418.7 MB, free: 8.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006782/0.2365, allocations: 434.6 kB / 419.1 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006353/0.2371, allocations: 414.4 kB / 419.5 MB, free: 7.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006314/0.2378, allocations: 461.8 kB / 420 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000224/0.238, allocations: 104 kB / 420.1 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.2383, allocations: 120 kB / 420.2 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.2385, allocations: 227.2 kB / 420.4 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004429/0.2389, allocations: 485.5 kB / 420.9 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.2401, allocations: 1.169 MB / 422 MB, free: 5.445 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2401, allocations: 4 kB / 422.1 MB, free: 5.441 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2401, allocations: 0 / 422.1 MB, free: 5.441 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.2401, allocations: 0 / 422.1 MB, free: 5.441 MB / 334.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.002302/0.2424, allocations: 1.262 MB / 423.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2425, allocations: 8.031 kB / 423.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006176/0.2431, allocations: 155.7 kB / 423.5 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.2441, allocations: 0.6376 MB / 424.1 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.25e-05/0.2442, allocations: 50.38 kB / 424.2 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.2443, allocations: 80.36 kB / 424.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.2457, allocations: 0.7827 MB / 425 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.2457, allocations: 0 / 425 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.044e-05/0.2458, allocations: 35.98 kB / 425.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.2458, allocations: 16 kB / 425.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.247, allocations: 0.5739 MB / 425.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003789/0.2508, allocations: 2.702 MB / 428.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.252, allocations: 0.5678 MB / 428.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005813/0.2526, allocations: 302.4 kB / 429.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.2526, allocations: 16.55 kB / 429.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007994/0.2534, allocations: 453.7 kB / 429.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.154e-06/0.2534, allocations: 0 / 429.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.003116/0.2566, allocations: 1.218 MB / 430.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.2566, allocations: 119.3 kB / 431 MB, free: 12.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006237/0.2573, allocations: 0.5861 MB / 431.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.922e-05/0.2573, allocations: 41.7 kB / 431.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.2576, allocations: 364.4 kB / 432 MB, free: 11.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.2577, allocations: 209 kB / 432.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.2579, allocations: 138.6 kB / 432.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2581, allocations: 386.8 kB / 432.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/0.2586, allocations: 244.7 kB / 432.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006279/0.2593, allocations: 418.1 kB / 433.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.2604, allocations: 0.6505 MB / 434 MB, free: 8.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2604, allocations: 0 / 434 MB, free: 8.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001546/0.2619, allocations: 0.8561 MB / 434.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.262, allocations: 37.69 kB / 434.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.262, allocations: 4 kB / 434.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000446/0.2625, allocations: 140.8 kB / 435 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.263, allocations: 123.8 kB / 435.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002881/0.2659, allocations: 2.524 MB / 437.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004919/0.2664, allocations: 91.25 kB / 437.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.863e-05/0.2664, allocations: 28 kB / 437.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006734/0.2671, allocations: 386 kB / 438.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006042/0.2677, allocations: 406.1 kB / 438.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001022/0.2688, allocations: 0.631 MB / 439.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.298e-06/0.2688, allocations: 4 kB / 439.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001479/0.2703, allocations: 0.8328 MB / 440 MB, free: 2.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.2703, allocations: 33.7 kB / 440.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2703, allocations: 7.938 kB / 440.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/0.2707, allocations: 147.7 kB / 440.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.2711, allocations: 119.7 kB / 440.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002767/0.2739, allocations: 2.518 MB / 442.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/0.2744, allocations: 71.53 kB / 442.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/0.2745, allocations: 36 kB / 443 MB, free: 15.55 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.0002191/0.2747, allocations: 243.9 kB / 443.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.2748, allocations: 79.06 kB / 443.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.2764, allocations: 0.7649 MB / 444 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.2765, allocations: 7.922 kB / 444.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2765, allocations: 0 / 444.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002663/0.2767, allocations: 212 kB / 444.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.977e-05/0.2769, allocations: 20 kB / 444.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.2773, allocations: 44.08 kB / 444.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.2774, allocations: 56.48 kB / 444.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002092/0.2795, allocations: 0.869 MB / 445.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001911/0.2814, allocations: 1.135 MB / 446.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005286/0.282, allocations: 276.3 kB / 446.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004402/0.2824, allocations: 411.1 kB / 447.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of Backend: time 3.9e-07/0.2824, allocations: 0 / 447.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002419/0.2849, allocations: 1.356 MB / 448.4 MB, free: 9.984 MB / 366.1 MB Notification: Performance of SimCode: time 0.002252/0.2871, allocations: 1.9 MB / 450.3 MB, free: 8.039 MB / 366.1 MB Notification: Performance of Templates: time 0.02258/0.3097, allocations: 13.79 MB / 464.1 MB, free: 10.39 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe 2>&1)