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_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001614/0.001614, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.475/1.475, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001675/0.001675, allocations: 116 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.322e-05/1.293e-05, allocations: 0 / 298.1 MB, free: 8.227 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07611/0.07614, allocations: 44.5 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2564/0.3325, allocations: 81.21 MB / 423.8 MB, free: 14.67 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.3328, allocations: 80.7 kB / 423.9 MB, free: 14.62 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02835/0.3611, allocations: 12.3 MB / 436.2 MB, free: 4.512 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3612, allocations: 0 / 436.2 MB, free: 4.512 MB / 315.1 MB Notification: Performance of Transformations before backend: time 3.475e-05/0.3612, allocations: 16 kB / 436.2 MB, free: 4.496 MB / 315.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001225/0.3625, allocations: 0.834 MB / 437 MB, free: 3.656 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3625, allocations: 8.031 kB / 437 MB, free: 3.648 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.3626, allocations: 82.33 kB / 437.1 MB, free: 3.57 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007073/0.3634, allocations: 478.4 kB / 437.6 MB, free: 3.141 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.3634, allocations: 16 kB / 437.6 MB, free: 3.125 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.862e-05/0.3635, allocations: 43.86 kB / 437.6 MB, free: 3.086 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005815/0.3641, allocations: 391.2 kB / 438 MB, free: 2.852 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007188/0.3648, allocations: 0.5293 MB / 438.6 MB, free: 2.445 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.3648, allocations: 0 / 438.6 MB, free: 2.445 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.3649, allocations: 0 / 438.6 MB, free: 2.445 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.3649, allocations: 20 kB / 438.6 MB, free: 2.426 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002621/0.3675, allocations: 2.16 MB / 440.7 MB, free: 0.6016 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.3682, allocations: 439.6 kB / 441.2 MB, free: 312 kB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.3686, allocations: 228 kB / 441.4 MB, free: 148 kB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.3686, allocations: 4.469 kB / 441.4 MB, free: 144 kB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003906/0.369, allocations: 296 kB / 441.7 MB, free: 15.9 MB / 331.1 MB Notification: Performance of pre-optimization done (n=46): time 1.913e-06/0.369, allocations: 0 / 441.7 MB, free: 15.9 MB / 331.1 MB Notification: Performance of matching and sorting (n=46): time 0.0006541/0.3697, allocations: 389.9 kB / 442.1 MB, free: 15.6 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.3698, allocations: 141.4 kB / 442.2 MB, free: 15.44 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.3702, allocations: 348.7 kB / 442.5 MB, free: 15.17 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.3702, allocations: 29.7 kB / 442.6 MB, free: 15.13 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.3704, allocations: 314.2 kB / 442.9 MB, free: 14.9 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.3705, allocations: 134.6 kB / 443 MB, free: 14.79 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.3705, allocations: 0 / 443 MB, free: 14.79 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3707, allocations: 367.2 kB / 443.4 MB, free: 14.44 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.3709, allocations: 138 kB / 443.5 MB, free: 14.36 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.3712, allocations: 291.5 kB / 443.8 MB, free: 14.08 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.3715, allocations: 159 kB / 443.9 MB, free: 13.98 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3715, allocations: 0 / 443.9 MB, free: 13.98 MB / 331.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.000731/0.3723, allocations: 0.489 MB / 444.4 MB, free: 13.59 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006029/0.3729, allocations: 1.656 MB / 446.1 MB, free: 11.84 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3729, allocations: 4.938 kB / 446.1 MB, free: 11.84 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003535/0.3733, allocations: 82.52 kB / 446.2 MB, free: 11.77 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.3736, allocations: 94.95 kB / 446.3 MB, free: 11.68 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.3751, allocations: 1.687 MB / 447.9 MB, free: 10.09 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/0.3756, allocations: 79.48 kB / 448 MB, free: 10.01 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.3756, allocations: 23.72 kB / 448 MB, free: 9.988 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/0.3756, allocations: 4 kB / 448.1 MB, free: 9.984 MB / 331.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006245/0.3762, allocations: 416.5 kB / 448.5 MB, free: 9.688 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3763, allocations: 14.39 kB / 448.5 MB, free: 9.676 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001953/0.3765, allocations: 79.42 kB / 448.6 MB, free: 9.613 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.3768, allocations: 85.53 kB / 448.6 MB, free: 9.535 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.3782, allocations: 1.698 MB / 450.3 MB, free: 7.922 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.3785, allocations: 59.62 kB / 450.4 MB, free: 7.863 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.3786, allocations: 26.81 kB / 450.4 MB, free: 7.844 MB / 331.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: 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 (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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.3787, allocations: 123.5 kB / 450.5 MB, free: 7.719 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.549e-05/0.3788, allocations: 51.42 kB / 450.6 MB, free: 7.668 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.3789, allocations: 54.23 kB / 450.6 MB, free: 7.641 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3789, allocations: 8 kB / 450.6 MB, free: 7.633 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.3789, allocations: 4 kB / 450.7 MB, free: 7.629 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.379, allocations: 3.984 kB / 450.7 MB, free: 7.625 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.3804, allocations: 1.114 MB / 451.8 MB, free: 6.723 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3804, allocations: 4 kB / 451.8 MB, free: 6.719 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.3806, allocations: 51.94 kB / 451.8 MB, free: 6.668 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001821/0.3808, allocations: 69.88 kB / 451.9 MB, free: 6.617 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.3809, allocations: 11.48 kB / 451.9 MB, free: 6.609 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/0.3822, allocations: 1.582 MB / 453.5 MB, free: 5.098 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3823, allocations: 0 / 453.5 MB, free: 5.098 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009847/0.3832, allocations: 0.709 MB / 454.2 MB, free: 4.551 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.3835, allocations: 155.9 kB / 454.3 MB, free: 4.398 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/0.3835, allocations: 16.62 kB / 454.4 MB, free: 4.387 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.3838, allocations: 35.97 kB / 454.4 MB, free: 4.352 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.384, allocations: 49.05 kB / 454.4 MB, free: 4.312 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.384, allocations: 19.17 kB / 454.5 MB, free: 4.297 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0002598/0.3843, allocations: 264.8 kB / 454.7 MB, free: 4.102 MB / 331.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3843, allocations: 0 / 454.7 MB, free: 4.102 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0008339/0.3851, allocations: 247.1 kB / 455 MB, free: 3.859 MB / 331.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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 (39): * Single equations (assignments): 33 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001774/0.3853, allocations: 138.1 kB / 455.1 MB, free: 3.723 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.3865, allocations: 0.8619 MB / 456 MB, free: 3.059 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3865, allocations: 0 / 456 MB, free: 3.059 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003659/0.3869, allocations: 327.3 kB / 456.3 MB, free: 2.801 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.3873, allocations: 60.75 kB / 456.3 MB, free: 2.758 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.3887, allocations: 0.8069 MB / 457.1 MB, free: 2.016 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/0.3892, allocations: 0.9174 MB / 458.1 MB, free: 1.078 MB / 331.1 MB Notification: Performance of simCode: alias equations: time 0.000433/0.3897, allocations: 96.3 kB / 458.2 MB, free: 0.9805 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.884e-05/0.3898, allocations: 38.48 kB / 458.2 MB, free: 0.9453 MB / 331.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3898, allocations: 0 / 458.2 MB, free: 0.9453 MB / 331.1 MB Notification: Performance of Templates: time 0.01219/0.402, allocations: 6.856 MB / 465.1 MB, free: 10.15 MB / 347.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1)