Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001872/0.001872, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.585/1.585, allocations: 194.3 MB / 208.4 MB, free: 6.719 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001571/0.001572, allocations: 104.8 kB / 253.5 MB, free: 9.594 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.668e-05/2.669e-05, allocations: 4 kB / 305 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08583/0.08587, allocations: 44.5 MB / 349.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.318/0.4039, allocations: 82.04 MB / 431.5 MB, free: 8.961 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.4042, allocations: 90.48 kB / 431.6 MB, free: 8.941 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02918/0.4334, allocations: 13.1 MB / 444.7 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4334, allocations: 0 / 444.7 MB, free: 1.891 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.396e-05/0.4335, allocations: 16 kB / 444.7 MB, free: 1.875 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.001186/0.4347, allocations: 0.8564 MB / 445.6 MB, free: 1.004 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.4347, allocations: 15.97 kB / 445.6 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.4348, allocations: 83.02 kB / 445.6 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005851/0.4354, allocations: 492.2 kB / 446.1 MB, free: 484 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.95e-05/0.4355, allocations: 49.69 kB / 446.2 MB, free: 456 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.349e-05/0.4356, allocations: 69.09 kB / 446.2 MB, free: 408 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009995/0.4366, allocations: 0.6683 MB / 446.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.4366, allocations: 0 / 446.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.865e-05/0.4367, allocations: 30.75 kB / 446.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.4367, allocations: 16 kB / 447 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007723/0.4375, allocations: 483.9 kB / 447.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/0.441, allocations: 2.603 MB / 450 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.442, allocations: 0.5576 MB / 450.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005446/0.4426, allocations: 316.8 kB / 450.9 MB, free: 12.87 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.4427, allocations: 4.438 kB / 450.9 MB, free: 12.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005043/0.4432, allocations: 340.8 kB / 451.2 MB, free: 12.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 2.174e-06/0.4432, allocations: 4 kB / 451.2 MB, free: 12.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.0009673/0.4442, allocations: 0.5058 MB / 451.7 MB, free: 12.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.4443, allocations: 115.4 kB / 451.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005609/0.4448, allocations: 413.4 kB / 452.3 MB, free: 11.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.276e-05/0.4449, allocations: 46.94 kB / 452.3 MB, free: 11.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.4452, allocations: 305 kB / 452.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.4453, allocations: 164.4 kB / 452.8 MB, free: 11.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.4453, allocations: 14.5 kB / 452.8 MB, free: 11.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.4455, allocations: 367.8 kB / 453.1 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.4459, allocations: 184.8 kB / 453.3 MB, free: 10.92 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004288/0.4463, allocations: 337.2 kB / 453.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.4466, allocations: 199.6 kB / 453.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4467, allocations: 0 / 453.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001036/0.4477, allocations: 0.6499 MB / 454.5 MB, free: 10 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007719/0.4485, allocations: 1.572 MB / 456.1 MB, free: 8.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.4485, allocations: 4 kB / 456.1 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005248/0.449, allocations: 152.2 kB / 456.2 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.4494, allocations: 87.45 kB / 456.3 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/0.4524, allocations: 2.345 MB / 458.7 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006994/0.4532, allocations: 90.98 kB / 458.7 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.684e-05/0.4532, allocations: 23.12 kB / 458.8 MB, free: 6.031 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.4532, allocations: 0 / 458.8 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00108/0.4543, allocations: 0.5701 MB / 459.3 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.4543, allocations: 4 kB / 459.3 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004373/0.4548, allocations: 154.4 kB / 459.5 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.4551, allocations: 75.28 kB / 459.6 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/0.4578, allocations: 2.345 MB / 461.9 MB, free: 3.438 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004956/0.4583, allocations: 74.27 kB / 462 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.4584, allocations: 26.31 kB / 462 MB, free: 3.355 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002686/0.4587, allocations: 155.5 kB / 462.2 MB, free: 3.219 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.4588, allocations: 59.3 kB / 462.2 MB, free: 3.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.459, allocations: 63.48 kB / 462.3 MB, free: 3.137 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.459, allocations: 12 kB / 462.3 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.459, allocations: 0 / 462.3 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.4591, allocations: 3.984 kB / 462.3 MB, free: 3.121 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/0.4613, allocations: 1.349 MB / 463.6 MB, free: 2.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4613, allocations: 0 / 463.6 MB, free: 2.082 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.4615, allocations: 43.73 kB / 463.7 MB, free: 2.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003691/0.4619, allocations: 147.9 kB / 463.8 MB, free: 1.938 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.738e-05/0.4619, allocations: 11.8 kB / 463.8 MB, free: 1.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002535/0.4645, allocations: 2.244 MB / 466.1 MB, free: 0 / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.4645, allocations: 0 / 466.1 MB, free: 0 / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.4658, allocations: 0.8849 MB / 467 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/0.4661, allocations: 184.5 kB / 467.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/0.4662, allocations: 14.69 kB / 467.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.4665, allocations: 42.86 kB / 467.2 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.4667, allocations: 74.75 kB / 467.3 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.4668, allocations: 19.38 kB / 467.3 MB, free: 15.06 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000389/0.4672, allocations: 314.2 kB / 467.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4672, allocations: 4 kB / 467.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001067/0.4683, allocations: 330.7 kB / 467.9 MB, free: 14.53 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002339/0.4685, allocations: 148.1 kB / 468.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00183/0.4703, allocations: 1.161 MB / 469.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4704, allocations: 0 / 469.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006252/0.471, allocations: 434.6 kB / 469.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.4715, allocations: 111.4 kB / 469.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.4733, allocations: 0.878 MB / 470.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006236/0.474, allocations: 0.9437 MB / 471.6 MB, free: 11.31 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004019/0.4744, allocations: 112.9 kB / 471.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.46e-05/0.4745, allocations: 35.42 kB / 471.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of SimCode: time 9.71e-07/0.4745, allocations: 0 / 471.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of Templates: time 0.01802/0.4925, allocations: 10.62 MB / 482.4 MB, free: 0.5195 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1)