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.001078/0.001078, allocations: 111 kB / 18.45 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.001192/0.001192, 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.327/1.327, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2182, allocations: 50.55 MB / 410 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL): time 0.006289/0.2245, allocations: 5.18 MB / 415.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.227, allocations: 1.612 MB / 416.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003173/0.2274, allocations: 19.88 kB / 416.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.2277, allocations: 138.5 kB / 416.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004438/0.2282, allocations: 218 kB / 417.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007166/0.2289, allocations: 427.2 kB / 417.6 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009222/0.2298, allocations: 1.114 MB / 418.7 MB, free: 8.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000579/0.2304, allocations: 426.6 kB / 419.1 MB, free: 8.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004637/0.2309, allocations: 422.3 kB / 419.5 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004487/0.2314, allocations: 449.9 kB / 419.9 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.2315, allocations: 108 kB / 420.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.2317, allocations: 124 kB / 420.2 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.2319, allocations: 227.2 kB / 420.4 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003851/0.2323, allocations: 489.5 kB / 420.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.2334, allocations: 1.169 MB / 422 MB, free: 5.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2334, allocations: 0 / 422 MB, free: 5.434 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2334, allocations: 0 / 422 MB, free: 5.434 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.2334, allocations: 0 / 422 MB, free: 5.434 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.002204/0.2356, allocations: 1.264 MB / 423.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.2356, allocations: 8.031 kB / 423.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006085/0.2363, allocations: 147.7 kB / 423.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.2373, allocations: 0.6338 MB / 424.1 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.726e-05/0.2374, allocations: 62.36 kB / 424.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.2375, allocations: 68.38 kB / 424.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.2388, allocations: 0.7827 MB / 425 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.2388, allocations: 3.984 kB / 425 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.047e-05/0.2389, allocations: 36 kB / 425 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.2389, allocations: 16 kB / 425.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.2401, allocations: 0.5699 MB / 425.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003725/0.2438, allocations: 2.713 MB / 428.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.2449, allocations: 0.56 MB / 428.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005683/0.2455, allocations: 302.4 kB / 429.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.993e-05/0.2456, allocations: 16.55 kB / 429.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007892/0.2464, allocations: 448.8 kB / 429.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.414e-06/0.2464, allocations: 0 / 429.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.003079/0.2495, allocations: 1.222 MB / 430.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.2495, allocations: 123.3 kB / 431 MB, free: 12.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006294/0.2502, allocations: 0.5782 MB / 431.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.903e-05/0.2502, allocations: 49.7 kB / 431.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/0.2505, allocations: 360.4 kB / 432 MB, free: 11.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.2507, allocations: 213 kB / 432.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.2509, allocations: 142.6 kB / 432.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2511, allocations: 382.8 kB / 432.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005398/0.2516, allocations: 244.7 kB / 432.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000623/0.2523, allocations: 414.2 kB / 433.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.2534, allocations: 0.6505 MB / 434 MB, free: 8.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.2534, allocations: 4 kB / 434 MB, free: 8.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001509/0.2549, allocations: 0.844 MB / 434.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.2549, allocations: 38.25 kB / 434.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.255, allocations: 16 kB / 434.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000436/0.2554, allocations: 144.8 kB / 435 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/0.2559, allocations: 123.8 kB / 435.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/0.2587, allocations: 2.522 MB / 437.7 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.2592, allocations: 91.19 kB / 437.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/0.2593, allocations: 27.98 kB / 437.8 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000659/0.2599, allocations: 390 kB / 438.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005693/0.2605, allocations: 406.1 kB / 438.6 MB, free: 4.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009963/0.2615, allocations: 0.631 MB / 439.2 MB, free: 3.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.2615, allocations: 0 / 439.2 MB, free: 3.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.00143/0.263, allocations: 0.8282 MB / 440 MB, free: 2.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.263, allocations: 34.27 kB / 440.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.263, allocations: 4.125 kB / 440.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003799/0.2634, allocations: 151.7 kB / 440.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.2639, allocations: 119.8 kB / 440.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/0.2666, allocations: 2.518 MB / 442.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/0.2671, allocations: 75.5 kB / 442.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.684e-05/0.2671, allocations: 24 kB / 442.9 MB, free: 15.56 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.0002032/0.2673, allocations: 251.9 kB / 443.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.2675, allocations: 75.06 kB / 443.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.2691, allocations: 0.7609 MB / 444 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.2691, allocations: 11.92 kB / 444 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2691, allocations: 0 / 444 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/0.2694, allocations: 208 kB / 444.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.369e-05/0.2695, allocations: 16 kB / 444.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/0.2699, allocations: 47.95 kB / 444.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.27, allocations: 52.48 kB / 444.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002066/0.2721, allocations: 0.869 MB / 445.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001877/0.274, allocations: 1.139 MB / 446.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005251/0.2745, allocations: 276.3 kB / 446.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000429/0.275, allocations: 411 kB / 447 MB, free: 11.41 MB / 366.1 MB Notification: Performance of Backend: time 4.91e-07/0.275, allocations: 4 kB / 447 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002448/0.2774, allocations: 1.357 MB / 448.4 MB, free: 9.988 MB / 366.1 MB Notification: Performance of SimCode: time 0.002299/0.2797, allocations: 1.902 MB / 450.3 MB, free: 8.039 MB / 366.1 MB Notification: Performance of Templates: time 0.02296/0.3027, 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)