Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001589/0.001589, allocations: 182.7 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.616/1.616, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001706/0.001706, allocations: 124.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.534e-05/2.535e-05, allocations: 3.984 kB / 305 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08032/0.08036, allocations: 44.51 MB / 349.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3414/0.4219, allocations: 81.56 MB / 431 MB, free: 9.5 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.4221, allocations: 87.78 kB / 431.1 MB, free: 9.484 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02837/0.4505, allocations: 12.09 MB / 443.2 MB, free: 3.531 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4506, allocations: 0 / 443.2 MB, free: 3.531 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.782e-05/0.4506, allocations: 15.91 kB / 443.2 MB, free: 3.52 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001522/0.4521, allocations: 0.8114 MB / 444 MB, free: 2.711 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4522, allocations: 8.031 kB / 444 MB, free: 2.703 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.4524, allocations: 79.11 kB / 444.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006818/0.4531, allocations: 472 kB / 444.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.4532, allocations: 50.42 kB / 444.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.479e-05/0.4532, allocations: 57.62 kB / 444.7 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009746/0.4542, allocations: 0.5764 MB / 445.3 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.4543, allocations: 11.91 kB / 445.3 MB, free: 1.719 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.95e-05/0.4543, allocations: 25.48 kB / 445.3 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.4544, allocations: 12 kB / 445.3 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006615/0.455, allocations: 415.4 kB / 445.7 MB, free: 1.438 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00298/0.458, allocations: 2.198 MB / 447.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008289/0.4589, allocations: 441.7 kB / 448.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004458/0.4593, allocations: 228.3 kB / 448.6 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.4594, allocations: 7.953 kB / 448.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004649/0.4598, allocations: 293.3 kB / 448.9 MB, free: 14.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=44): time 2.294e-06/0.4599, allocations: 4 kB / 448.9 MB, free: 14.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007623/0.4606, allocations: 419.7 kB / 449.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.743e-05/0.4607, allocations: 136.5 kB / 449.4 MB, free: 14.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.4612, allocations: 406.3 kB / 449.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/0.4613, allocations: 43.06 kB / 449.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.4615, allocations: 295.8 kB / 450.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.4616, allocations: 134.4 kB / 450.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.4617, allocations: 10.44 kB / 450.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.4618, allocations: 365.1 kB / 450.6 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.4621, allocations: 152.2 kB / 450.8 MB, free: 13.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.4625, allocations: 296.7 kB / 451.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.4628, allocations: 156.6 kB / 451.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.4628, allocations: 4 kB / 451.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008218/0.4636, allocations: 0.5385 MB / 451.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007334/0.4644, allocations: 1.657 MB / 453.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.4644, allocations: 4 kB / 453.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003517/0.4647, allocations: 99.25 kB / 453.5 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.465, allocations: 79.7 kB / 453.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.467, allocations: 1.849 MB / 455.4 MB, free: 8.859 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.4675, allocations: 79.33 kB / 455.5 MB, free: 8.789 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.4675, allocations: 27.61 kB / 455.5 MB, free: 8.766 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.4676, allocations: 4 kB / 455.6 MB, free: 8.762 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007097/0.4683, allocations: 470.3 kB / 456 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.4683, allocations: 4 kB / 456 MB, free: 8.438 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000229/0.4685, allocations: 88.09 kB / 456.1 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.4688, allocations: 83.77 kB / 456.2 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.4706, allocations: 1.84 MB / 458 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000383/0.471, allocations: 78.14 kB / 458.1 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.4711, allocations: 23.69 kB / 458.1 MB, free: 6.477 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (56): * Single equations (assignments): 55 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001698/0.4712, allocations: 149 kB / 458.3 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.793e-05/0.4713, allocations: 55.3 kB / 458.3 MB, free: 6.285 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.4715, allocations: 58.81 kB / 458.4 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.4715, allocations: 8 kB / 458.4 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4715, allocations: 4 kB / 458.4 MB, free: 6.242 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4715, allocations: 7.938 kB / 458.4 MB, free: 6.234 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.4732, allocations: 1.209 MB / 459.6 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.4732, allocations: 0 / 459.6 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.4734, allocations: 43.91 kB / 459.7 MB, free: 5.215 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000227/0.4737, allocations: 86.53 kB / 459.7 MB, free: 5.152 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.4737, allocations: 7.688 kB / 459.7 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/0.4755, allocations: 1.749 MB / 461.5 MB, free: 3.504 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4755, allocations: 32 / 461.5 MB, free: 3.504 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.4765, allocations: 0.734 MB / 462.2 MB, free: 2.941 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.4768, allocations: 169.7 kB / 462.4 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.859e-05/0.4768, allocations: 12.09 kB / 462.4 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003227/0.4772, allocations: 46.55 kB / 462.4 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.4773, allocations: 50.81 kB / 462.5 MB, free: 2.691 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/0.4774, allocations: 23.3 kB / 462.5 MB, free: 2.672 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003651/0.4777, allocations: 300 kB / 462.8 MB, free: 2.449 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4778, allocations: 0 / 462.8 MB, free: 2.449 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000909/0.4787, allocations: 285.7 kB / 463.1 MB, free: 2.195 MB / 314.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: 18 (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_p.off,rectifier.thyristor_n.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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002134/0.4789, allocations: 131.6 kB / 463.2 MB, free: 2.062 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.4804, allocations: 0.9158 MB / 464.1 MB, free: 1.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4804, allocations: 0 / 464.1 MB, free: 1.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004936/0.4809, allocations: 358.5 kB / 464.5 MB, free: 1.051 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.4813, allocations: 75.97 kB / 464.6 MB, free: 1.004 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.4828, allocations: 0.7516 MB / 465.3 MB, free: 340 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/0.4834, allocations: 0.9099 MB / 466.2 MB, free: 15.4 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003839/0.4838, allocations: 104.5 kB / 466.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.745e-05/0.4839, allocations: 31.44 kB / 466.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4839, allocations: 0 / 466.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of Templates: time 0.01498/0.4988, allocations: 7.899 MB / 474.3 MB, free: 7.379 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1)