Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.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.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001068/0.001068, allocations: 109.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2245, allocations: 50.54 MB / 410 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse): time 0.00587/0.2304, allocations: 4.908 MB / 414.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002405/0.2328, allocations: 1.464 MB / 416.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003262/0.2332, allocations: 19.94 kB / 416.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.2335, allocations: 146.6 kB / 416.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004702/0.234, allocations: 202.2 kB / 416.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.2346, allocations: 319.5 kB / 417 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000862/0.2355, allocations: 0.9783 MB / 418 MB, free: 9.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006281/0.2361, allocations: 478 kB / 418.4 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004366/0.2366, allocations: 358.7 kB / 418.8 MB, free: 8.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000407/0.237, allocations: 390.1 kB / 419.2 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.2371, allocations: 92 kB / 419.3 MB, free: 8.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.2373, allocations: 92 kB / 419.4 MB, free: 8.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.2375, allocations: 199.4 kB / 419.6 MB, free: 7.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003621/0.2378, allocations: 433.9 kB / 420 MB, free: 7.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009498/0.2388, allocations: 1.068 MB / 421 MB, free: 6.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2388, allocations: 0 / 421 MB, free: 6.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2388, allocations: 0 / 421 MB, free: 6.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.2388, allocations: 0 / 421 MB, free: 6.418 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.00183/0.2407, allocations: 1.084 MB / 422.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.2407, allocations: 8.031 kB / 422.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/0.2409, allocations: 95.98 kB / 422.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007306/0.2417, allocations: 0.5182 MB / 422.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.229e-05/0.2417, allocations: 57.67 kB / 422.8 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.442e-05/0.2418, allocations: 64.38 kB / 422.9 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.243, allocations: 0.7305 MB / 423.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.2431, allocations: 0 / 423.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-05/0.2431, allocations: 28 kB / 423.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.2432, allocations: 16 kB / 423.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.2442, allocations: 0.5477 MB / 424.2 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003507/0.2477, allocations: 2.596 MB / 426.8 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009884/0.2487, allocations: 0.5641 MB / 427.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006338/0.2493, allocations: 339.1 kB / 427.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.2494, allocations: 8.438 kB / 427.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006151/0.25, allocations: 373.7 kB / 428.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=59): time 2.034e-06/0.25, allocations: 0 / 428.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=59): time 0.002824/0.2529, allocations: 1.117 MB / 429.2 MB, free: 14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.2529, allocations: 141.1 kB / 429.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005321/0.2535, allocations: 493.9 kB / 429.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.588e-05/0.2536, allocations: 45.69 kB / 429.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.2538, allocations: 324.4 kB / 430.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.2539, allocations: 177.4 kB / 430.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.2541, allocations: 122.3 kB / 430.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.2543, allocations: 362.8 kB / 430.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.2547, allocations: 219.4 kB / 431 MB, free: 12.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005895/0.2553, allocations: 377.8 kB / 431.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007958/0.2561, allocations: 0.5222 MB / 431.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2561, allocations: 0 / 431.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00119/0.2573, allocations: 0.7179 MB / 432.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2573, allocations: 8.031 kB / 432.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2574, allocations: 4 kB / 432.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004585/0.2578, allocations: 148.8 kB / 432.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.2582, allocations: 87.83 kB / 432.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.261, allocations: 2.567 MB / 435.4 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/0.2614, allocations: 71.44 kB / 435.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.2615, allocations: 20 kB / 435.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000532/0.262, allocations: 365.3 kB / 435.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004523/0.2625, allocations: 369.8 kB / 436.2 MB, free: 6.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000726/0.2632, allocations: 0.5105 MB / 436.7 MB, free: 5.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.937e-06/0.2632, allocations: 3.938 kB / 436.8 MB, free: 5.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001094/0.2643, allocations: 0.6866 MB / 437.4 MB, free: 5.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.2644, allocations: 8 kB / 437.4 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.2644, allocations: 4 kB / 437.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003906/0.2648, allocations: 152.7 kB / 437.6 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.2651, allocations: 88.2 kB / 437.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002753/0.2679, allocations: 2.548 MB / 440.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003998/0.2683, allocations: 67.61 kB / 440.3 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.2683, allocations: 27.98 kB / 440.3 MB, free: 2.211 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 27 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,pulse2.fire_n,pulse2.fire_p,pulse2.twoPulse.timerNegative[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p1.off,rectifier.andCondition_n.y,rectifier.andCondition_p.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002135/0.2685, allocations: 248.3 kB / 440.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.582e-05/0.2686, allocations: 55.34 kB / 440.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.2688, allocations: 73.7 kB / 440.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.2688, allocations: 3.984 kB / 440.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2688, allocations: 0 / 440.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/0.2691, allocations: 192.2 kB / 440.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-05/0.2691, allocations: 19.98 kB / 440.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.2695, allocations: 31.91 kB / 440.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.2696, allocations: 52.44 kB / 441 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001602/0.2712, allocations: 0.7402 MB / 441.7 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001385/0.2726, allocations: 0.9743 MB / 442.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003905/0.273, allocations: 244.3 kB / 442.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003832/0.2734, allocations: 334.9 kB / 443.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of Backend: time 2.7e-07/0.2734, allocations: 4 kB / 443.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002103/0.2755, allocations: 1.143 MB / 444.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of SimCode: time 0.002059/0.2776, allocations: 1.712 MB / 446.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of Templates: time 0.02041/0.298, allocations: 12.48 MB / 458.6 MB, free: 15.98 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1)