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.001258/0.001259, allocations: 179.8 kB / 16.38 MB, free: 5.762 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.378/1.379, allocations: 194.5 MB / 211.6 MB, free: 3.062 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.001585/0.001585, allocations: 119.7 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002842/0.0002842, allocations: 15.98 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07886/0.07916, allocations: 44.49 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2448/0.324, allocations: 81.65 MB / 436.7 MB, free: 8.004 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.3243, allocations: 90.14 kB / 436.8 MB, free: 7.953 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02626/0.3506, allocations: 12.1 MB / 448.9 MB, free: 13.9 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.687e-06/0.3506, allocations: 3.984 kB / 448.9 MB, free: 13.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.492e-05/0.3507, allocations: 12 kB / 448.9 MB, free: 13.89 MB / 330.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.001387/0.352, allocations: 0.8803 MB / 449.8 MB, free: 13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3521, allocations: 16.03 kB / 449.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.3522, allocations: 79.05 kB / 449.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006281/0.3529, allocations: 467.7 kB / 450.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/0.3529, allocations: 47.17 kB / 450.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.305e-05/0.353, allocations: 56.69 kB / 450.4 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009511/0.3539, allocations: 0.6219 MB / 451.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.354, allocations: 2 kB / 451.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.792e-05/0.354, allocations: 21.56 kB / 451.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.3541, allocations: 16 kB / 451.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008112/0.3549, allocations: 478 kB / 451.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003029/0.3579, allocations: 2.208 MB / 453.8 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008075/0.3587, allocations: 463.4 kB / 454.2 MB, free: 8.848 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.3588, allocations: 4.719 kB / 454.2 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004602/0.3592, allocations: 305.1 kB / 454.5 MB, free: 8.527 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 3.516e-06/0.3593, allocations: 3.984 kB / 454.5 MB, free: 8.523 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.001512/0.3608, allocations: 0.7329 MB / 455.3 MB, free: 7.762 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.3609, allocations: 122.7 kB / 455.4 MB, free: 7.617 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004945/0.3614, allocations: 409 kB / 455.8 MB, free: 7.211 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.417e-05/0.3614, allocations: 45.69 kB / 455.8 MB, free: 7.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.3616, allocations: 300.4 kB / 456.1 MB, free: 6.863 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.851e-05/0.3617, allocations: 130.2 kB / 456.3 MB, free: 6.734 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.3618, allocations: 12 kB / 456.3 MB, free: 6.723 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3619, allocations: 362.7 kB / 456.6 MB, free: 6.359 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.3623, allocations: 173 kB / 456.8 MB, free: 6.191 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/0.3627, allocations: 322.7 kB / 457.1 MB, free: 5.812 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.363, allocations: 189.3 kB / 457.3 MB, free: 5.629 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.363, allocations: 1.594 kB / 457.3 MB, free: 5.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009541/0.364, allocations: 0.5916 MB / 457.9 MB, free: 5.027 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005794/0.3646, allocations: 1.564 MB / 459.5 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3646, allocations: 4 kB / 459.5 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002921/0.3649, allocations: 88.81 kB / 459.5 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.3652, allocations: 89.77 kB / 459.6 MB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.3671, allocations: 1.852 MB / 461.5 MB, free: 1.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004151/0.3675, allocations: 87.61 kB / 461.6 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.3675, allocations: 20 kB / 461.6 MB, free: 1.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/0.3676, allocations: 4 kB / 461.6 MB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007719/0.3683, allocations: 0.4892 MB / 462.1 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3684, allocations: 8 kB / 462.1 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002116/0.3686, allocations: 84.81 kB / 462.2 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.3688, allocations: 79.83 kB / 462.2 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/0.3706, allocations: 1.846 MB / 464.1 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.3709, allocations: 68.09 kB / 464.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.371, allocations: 20 kB / 464.2 MB, free: 14.34 MB / 346.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: 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 () * Number of clocked 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.0003664/0.3713, allocations: 304.9 kB / 464.5 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.829e-05/0.3714, allocations: 51.44 kB / 464.5 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.3715, allocations: 66.73 kB / 464.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3715, allocations: 4 kB / 464.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3715, allocations: 0 / 464.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3716, allocations: 0 / 464.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.3731, allocations: 1.151 MB / 465.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3731, allocations: 0 / 465.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.3733, allocations: 43.97 kB / 465.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002175/0.3736, allocations: 76.75 kB / 465.9 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.3736, allocations: 19.98 kB / 465.9 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/0.3753, allocations: 1.77 MB / 467.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3753, allocations: 0 / 467.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.3765, allocations: 0.7439 MB / 468.4 MB, free: 9.906 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.3767, allocations: 172.4 kB / 468.6 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.334e-05/0.3768, allocations: 15.98 kB / 468.6 MB, free: 9.703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.3771, allocations: 40.53 kB / 468.6 MB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.3772, allocations: 47.92 kB / 468.7 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.3772, allocations: 12 kB / 468.7 MB, free: 9.605 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003788/0.3776, allocations: 327.1 kB / 469 MB, free: 9.281 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3776, allocations: 3.938 kB / 469 MB, free: 9.277 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008238/0.3784, allocations: 279.2 kB / 469.3 MB, free: 9.004 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Number of clocked states: 0 () * 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.0002082/0.3786, allocations: 128.6 kB / 469.4 MB, free: 8.871 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.3802, allocations: 0.9789 MB / 470.4 MB, free: 7.871 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3802, allocations: 0 / 470.4 MB, free: 7.871 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004894/0.3807, allocations: 364 kB / 470.7 MB, free: 7.504 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.3811, allocations: 78.83 kB / 470.8 MB, free: 7.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.3829, allocations: 1.241 MB / 472.1 MB, free: 6.152 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.3834, allocations: 0.9063 MB / 473 MB, free: 5.219 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004606/0.3839, allocations: 80.36 kB / 473 MB, free: 5.137 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.3841, allocations: 39.44 kB / 473.1 MB, free: 5.098 MB / 346.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3841, allocations: 0 / 473.1 MB, free: 5.098 MB / 346.7 MB Notification: Performance of Templates: time 0.01408/0.3982, allocations: 7.276 MB / 480.4 MB, free: 13.86 MB / 362.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)