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.0009885/0.0009886, allocations: 179.7 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.196/1.196, allocations: 194.5 MB / 211.6 MB, free: 3.059 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.002014/0.002014, allocations: 113.7 kB / 256.9 MB, free: 4.324 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002961, allocations: 8 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09675/0.09706, allocations: 44.51 MB / 355.1 MB, free: 2.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3026/0.3998, allocations: 82.12 MB / 437.2 MB, free: 7.492 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.4001, allocations: 92.56 kB / 437.3 MB, free: 7.438 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03037/0.4305, allocations: 13.1 MB / 450.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4305, allocations: 4 kB / 450.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.382e-05/0.4306, allocations: 12 kB / 450.4 MB, free: 12.54 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.002164/0.4328, allocations: 0.937 MB / 451.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.4329, allocations: 8.031 kB / 451.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002692/0.4331, allocations: 87.7 kB / 451.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000961/0.4341, allocations: 496.9 kB / 451.9 MB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.078e-05/0.4342, allocations: 58.91 kB / 452 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.4343, allocations: 63.44 kB / 452 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.4356, allocations: 0.6908 MB / 452.7 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.4356, allocations: 0 / 452.7 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.767e-05/0.4357, allocations: 31.98 kB / 452.8 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.4357, allocations: 12 kB / 452.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.4368, allocations: 0.5282 MB / 453.3 MB, free: 9.848 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004007/0.4408, allocations: 2.599 MB / 455.9 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.4419, allocations: 0.5747 MB / 456.5 MB, free: 6.555 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.442, allocations: 4.438 kB / 456.5 MB, free: 6.551 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000577/0.4426, allocations: 358.9 kB / 456.8 MB, free: 6.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=55): time 2.534e-06/0.4426, allocations: 0 / 456.8 MB, free: 6.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=55): time 0.00244/0.445, allocations: 0.977 MB / 457.8 MB, free: 5.176 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.838e-05/0.4451, allocations: 115.4 kB / 457.9 MB, free: 5.039 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006382/0.4458, allocations: 429 kB / 458.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.239e-05/0.4459, allocations: 45.69 kB / 458.4 MB, free: 4.566 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.4462, allocations: 308.4 kB / 458.7 MB, free: 4.258 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.4464, allocations: 169.7 kB / 458.8 MB, free: 4.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.4464, allocations: 12 kB / 458.9 MB, free: 4.078 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002245/0.4466, allocations: 366.7 kB / 459.2 MB, free: 3.711 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004728/0.4471, allocations: 209.2 kB / 459.4 MB, free: 3.504 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/0.4477, allocations: 356.1 kB / 459.8 MB, free: 3.098 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.4482, allocations: 222.1 kB / 460 MB, free: 2.879 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.4483, allocations: 0 / 460 MB, free: 2.879 MB / 330.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001374/0.4497, allocations: 0.6947 MB / 460.7 MB, free: 2.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008137/0.4505, allocations: 1.574 MB / 462.2 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.4505, allocations: 7.984 kB / 462.3 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005479/0.4511, allocations: 157.9 kB / 462.4 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.4514, allocations: 93.27 kB / 462.5 MB, free: 228 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003047/0.4545, allocations: 2.401 MB / 464.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005078/0.455, allocations: 87.39 kB / 465 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/0.4551, allocations: 24 kB / 465 MB, free: 13.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.4551, allocations: 8 kB / 465 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000997/0.4561, allocations: 0.5881 MB / 465.6 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.4561, allocations: 8 kB / 465.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003825/0.4565, allocations: 152.9 kB / 465.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.4568, allocations: 79.84 kB / 465.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0027/0.4595, allocations: 2.395 MB / 468.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004301/0.4599, allocations: 67.7 kB / 468.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.628e-05/0.46, allocations: 20 kB / 468.3 MB, free: 10.14 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: 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 () * Number of clocked 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.0005063/0.4605, allocations: 316.9 kB / 468.6 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.4607, allocations: 63.2 kB / 468.7 MB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.4608, allocations: 69.5 kB / 468.8 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.4609, allocations: 4.094 kB / 468.8 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4609, allocations: 1.312 kB / 468.8 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.4609, allocations: 3.984 kB / 468.8 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.4631, allocations: 1.35 MB / 470.1 MB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.4631, allocations: 0 / 470.1 MB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.4633, allocations: 47.91 kB / 470.2 MB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003904/0.4637, allocations: 145.4 kB / 470.3 MB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/0.4638, allocations: 14.36 kB / 470.3 MB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002642/0.4664, allocations: 2.301 MB / 472.6 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4664, allocations: 4 kB / 472.6 MB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.4679, allocations: 0.9092 MB / 473.5 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/0.4681, allocations: 180.4 kB / 473.7 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.594e-05/0.4682, allocations: 12 kB / 473.7 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.4686, allocations: 43.97 kB / 473.8 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.4688, allocations: 76.44 kB / 473.8 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.4688, allocations: 15.94 kB / 473.9 MB, free: 4.363 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004295/0.4692, allocations: 339.1 kB / 474.2 MB, free: 4.027 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.574e-06/0.4693, allocations: 0 / 474.2 MB, free: 4.027 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001092/0.4704, allocations: 331.1 kB / 474.5 MB, free: 3.703 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: 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) * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002475/0.4706, allocations: 149.1 kB / 474.7 MB, free: 3.551 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.4726, allocations: 1.199 MB / 475.9 MB, free: 2.328 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4727, allocations: 0 / 475.9 MB, free: 2.328 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000617/0.4733, allocations: 456.6 kB / 476.3 MB, free: 1.875 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/0.4738, allocations: 97.92 kB / 476.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.4763, allocations: 1.427 MB / 477.8 MB, free: 340 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006104/0.4769, allocations: 0.9467 MB / 478.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003468/0.4773, allocations: 80.78 kB / 478.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.4774, allocations: 39.44 kB / 478.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4774, allocations: 0 / 478.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of Templates: time 0.01808/0.4955, allocations: 9.981 MB / 488.9 MB, free: 5.285 MB / 362.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)