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.001221/0.001221, allocations: 180.3 kB / 16.38 MB, free: 5.766 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.295/1.295, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001592/0.001592, allocations: 114.5 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 8 kB / 310.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08161/0.08196, allocations: 44.5 MB / 355.1 MB, free: 2.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2414/0.3234, allocations: 81.95 MB / 437 MB, free: 7.777 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.3237, allocations: 92.16 kB / 437.1 MB, free: 7.727 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02821/0.3519, allocations: 12.42 MB / 449.5 MB, free: 13.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.352, allocations: 0 / 449.5 MB, free: 13.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.911e-05/0.352, allocations: 15.98 kB / 449.6 MB, free: 13.38 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001521/0.3535, allocations: 0.9046 MB / 450.5 MB, free: 12.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.3536, allocations: 8.031 kB / 450.5 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.3538, allocations: 79.06 kB / 450.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007346/0.3545, allocations: 482.2 kB / 451 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.3546, allocations: 53 kB / 451.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.239e-05/0.3546, allocations: 58.56 kB / 451.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.3557, allocations: 0.6349 MB / 451.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.3557, allocations: 8.703 kB / 451.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/0.3558, allocations: 20 kB / 451.8 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.3558, allocations: 16 kB / 451.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000881/0.3567, allocations: 492.9 kB / 452.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003302/0.36, allocations: 2.281 MB / 454.6 MB, free: 8.473 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009069/0.3609, allocations: 480.3 kB / 455 MB, free: 7.992 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/0.361, allocations: 8 kB / 455 MB, free: 7.984 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005253/0.3615, allocations: 307.5 kB / 455.3 MB, free: 7.668 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 2.074e-06/0.3615, allocations: 0 / 455.3 MB, free: 7.668 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.001521/0.3631, allocations: 0.7413 MB / 456.1 MB, free: 6.898 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.84e-05/0.3632, allocations: 118.8 kB / 456.2 MB, free: 6.758 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005268/0.3637, allocations: 421 kB / 456.6 MB, free: 6.344 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.65e-05/0.3638, allocations: 45.69 kB / 456.7 MB, free: 6.293 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.364, allocations: 300.4 kB / 456.9 MB, free: 5.992 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.3641, allocations: 134.1 kB / 457.1 MB, free: 5.859 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.3641, allocations: 12 kB / 457.1 MB, free: 5.848 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3643, allocations: 370.8 kB / 457.5 MB, free: 5.477 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.3646, allocations: 173 kB / 457.6 MB, free: 5.309 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004365/0.3651, allocations: 334 kB / 457.9 MB, free: 4.922 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.3654, allocations: 200.7 kB / 458.1 MB, free: 4.723 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3655, allocations: 4 kB / 458.1 MB, free: 4.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009928/0.3665, allocations: 0.598 MB / 458.7 MB, free: 4.109 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005773/0.367, allocations: 1.566 MB / 460.3 MB, free: 2.422 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.3671, allocations: 11.95 kB / 460.3 MB, free: 2.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002912/0.3674, allocations: 80.77 kB / 460.4 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.3677, allocations: 91.81 kB / 460.5 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/0.3694, allocations: 1.791 MB / 462.3 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004364/0.3699, allocations: 87.61 kB / 462.4 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.3699, allocations: 20 kB / 462.4 MB, free: 224 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.3699, allocations: 4 kB / 462.4 MB, free: 220 kB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008222/0.3708, allocations: 0.4954 MB / 462.9 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3708, allocations: 8 kB / 462.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/0.371, allocations: 93.88 kB / 463 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.3713, allocations: 83.83 kB / 463.1 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.3729, allocations: 1.793 MB / 464.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.3733, allocations: 72.81 kB / 464.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.3733, allocations: 20 kB / 465 MB, free: 13.52 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 (60): * Single equations (assignments): 59 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003721/0.3737, allocations: 304.9 kB / 465.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.372e-05/0.3738, allocations: 51.44 kB / 465.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.3739, allocations: 57.05 kB / 465.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3739, allocations: 4 kB / 465.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3739, allocations: 1.438 kB / 465.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3739, allocations: 3.984 kB / 465.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.3755, allocations: 1.164 MB / 466.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3755, allocations: 0 / 466.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.3757, allocations: 43.91 kB / 466.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002123/0.376, allocations: 80.8 kB / 466.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.376, allocations: 8 kB / 466.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.3776, allocations: 1.805 MB / 468.5 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3776, allocations: 0 / 468.5 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.3787, allocations: 0.759 MB / 469.2 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.3789, allocations: 168.9 kB / 469.4 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.09e-05/0.379, allocations: 12 kB / 469.4 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.3793, allocations: 43.97 kB / 469.4 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.3794, allocations: 47.92 kB / 469.5 MB, free: 8.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.3794, allocations: 19.98 kB / 469.5 MB, free: 8.727 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003638/0.3798, allocations: 319.1 kB / 469.8 MB, free: 8.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3798, allocations: 7.875 kB / 469.8 MB, free: 8.402 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008202/0.3806, allocations: 279.1 kB / 470.1 MB, free: 8.129 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Number of clocked states: 0 () * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001615/0.3808, allocations: 133.4 kB / 470.2 MB, free: 7.992 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.3822, allocations: 0.9812 MB / 471.2 MB, free: 6.984 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3822, allocations: 0 / 471.2 MB, free: 6.984 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004664/0.3827, allocations: 358.1 kB / 471.6 MB, free: 6.621 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.3831, allocations: 84.3 kB / 471.6 MB, free: 6.543 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.3849, allocations: 1.35 MB / 473 MB, free: 5.168 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.3854, allocations: 0.9284 MB / 473.9 MB, free: 4.211 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000287/0.3857, allocations: 84.5 kB / 474 MB, free: 4.129 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.109e-05/0.3858, allocations: 43.42 kB / 474 MB, free: 4.086 MB / 346.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3858, allocations: 0 / 474 MB, free: 4.086 MB / 346.7 MB Notification: Performance of Templates: time 0.01156/0.3973, allocations: 7.159 MB / 481.2 MB, free: 12.98 MB / 362.7 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)