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_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009983/0.0009983, allocations: 187.9 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.332/1.332, 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.001682/0.001682, allocations: 115 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.472e-05/1.476e-05, allocations: 0 / 298.1 MB, free: 8.227 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08746/0.08749, allocations: 44.49 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3155/0.403, allocations: 81.68 MB / 424.3 MB, free: 14.25 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.4033, allocations: 82.14 kB / 424.3 MB, free: 14.2 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03041/0.4338, allocations: 13.31 MB / 437.7 MB, free: 3.262 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4338, allocations: 0 / 437.7 MB, free: 3.262 MB / 315.1 MB Notification: Performance of Transformations before backend: time 5.92e-05/0.4339, allocations: 19.56 kB / 437.7 MB, free: 3.246 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001665/0.4356, allocations: 0.8749 MB / 438.5 MB, free: 2.367 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.4356, allocations: 12.03 kB / 438.6 MB, free: 2.355 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.4359, allocations: 86.97 kB / 438.6 MB, free: 2.27 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007978/0.4367, allocations: 0.4925 MB / 439.1 MB, free: 1.824 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.4367, allocations: 27.92 kB / 439.2 MB, free: 1.797 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.4368, allocations: 47.84 kB / 439.2 MB, free: 1.75 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007586/0.4376, allocations: 456.8 kB / 439.7 MB, free: 1.484 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009141/0.4385, allocations: 0.5924 MB / 440.2 MB, free: 1.027 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.4386, allocations: 3.125 kB / 440.3 MB, free: 1.027 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.257e-05/0.4386, allocations: 0 / 440.3 MB, free: 1.027 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.4386, allocations: 19.95 kB / 440.3 MB, free: 1.008 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003461/0.4421, allocations: 2.506 MB / 442.8 MB, free: 14.94 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009744/0.4431, allocations: 0.5505 MB / 443.3 MB, free: 14.58 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006027/0.4437, allocations: 329.5 kB / 443.6 MB, free: 14.35 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.045e-05/0.4438, allocations: 4.438 kB / 443.7 MB, free: 14.35 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005521/0.4443, allocations: 341.4 kB / 444 MB, free: 14.08 MB / 331.1 MB Notification: Performance of pre-optimization done (n=57): time 3.426e-06/0.4444, allocations: 3.984 kB / 444 MB, free: 14.07 MB / 331.1 MB Notification: Performance of matching and sorting (n=57): time 0.0008713/0.4452, allocations: 0.491 MB / 444.5 MB, free: 13.71 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/0.4453, allocations: 118.7 kB / 444.6 MB, free: 13.57 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/0.4458, allocations: 363.4 kB / 445 MB, free: 13.29 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.4458, allocations: 41.91 kB / 445 MB, free: 13.25 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.4461, allocations: 314 kB / 445.3 MB, free: 13.02 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.4462, allocations: 172.3 kB / 445.5 MB, free: 12.87 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.4462, allocations: 7.875 kB / 445.5 MB, free: 12.86 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.4464, allocations: 364.9 kB / 445.8 MB, free: 12.52 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.4468, allocations: 175.5 kB / 446 MB, free: 12.42 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003998/0.4472, allocations: 330.5 kB / 446.3 MB, free: 12.13 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.4475, allocations: 191.3 kB / 446.5 MB, free: 12.01 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.4475, allocations: 4 kB / 446.5 MB, free: 12 MB / 331.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0009989/0.4485, allocations: 0.6223 MB / 447.1 MB, free: 11.53 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006163/0.4491, allocations: 1.576 MB / 448.7 MB, free: 9.863 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.4492, allocations: 4 kB / 448.7 MB, free: 9.859 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004318/0.4496, allocations: 157.3 kB / 448.9 MB, free: 9.746 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.45, allocations: 91.14 kB / 449 MB, free: 9.66 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003303/0.4533, allocations: 3.506 MB / 452.5 MB, free: 6.383 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004689/0.4538, allocations: 59.66 kB / 452.5 MB, free: 6.324 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/0.4538, allocations: 30.17 kB / 452.6 MB, free: 6.301 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.4538, allocations: 8.062 kB / 452.6 MB, free: 6.293 MB / 331.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008279/0.4547, allocations: 0.5296 MB / 453.1 MB, free: 5.914 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.4547, allocations: 8 kB / 453.1 MB, free: 5.906 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003491/0.455, allocations: 155.7 kB / 453.3 MB, free: 5.793 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.4554, allocations: 87.77 kB / 453.3 MB, free: 5.711 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003083/0.4585, allocations: 3.512 MB / 456.9 MB, free: 2.43 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/0.4589, allocations: 55.56 kB / 456.9 MB, free: 2.375 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.4589, allocations: 26 kB / 456.9 MB, free: 2.355 MB / 331.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002004/0.4592, allocations: 148.1 kB / 457.1 MB, free: 2.215 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.4593, allocations: 47.44 kB / 457.1 MB, free: 2.168 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.4594, allocations: 60.95 kB / 457.2 MB, free: 2.141 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.4595, allocations: 8 kB / 457.2 MB, free: 2.133 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4595, allocations: 0 / 457.2 MB, free: 2.133 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.4595, allocations: 3.984 kB / 457.2 MB, free: 2.129 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.4614, allocations: 1.261 MB / 458.5 MB, free: 1.172 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4615, allocations: 0 / 458.5 MB, free: 1.172 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.4617, allocations: 51.41 kB / 458.5 MB, free: 1.125 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003562/0.4621, allocations: 153.9 kB / 458.7 MB, free: 1.012 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.4621, allocations: 3.984 kB / 458.7 MB, free: 1.008 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003096/0.4652, allocations: 3.389 MB / 462 MB, free: 13.84 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.4653, allocations: 0 / 462 MB, free: 13.84 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.4666, allocations: 0.8716 MB / 462.9 MB, free: 13.21 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.4669, allocations: 183.4 kB / 463.1 MB, free: 13.04 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.616e-05/0.467, allocations: 7.688 kB / 463.1 MB, free: 13.03 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.4673, allocations: 35.95 kB / 463.1 MB, free: 13 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.4675, allocations: 77.77 kB / 463.2 MB, free: 12.93 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.4676, allocations: 19.55 kB / 463.2 MB, free: 12.91 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0003268/0.4679, allocations: 267.1 kB / 463.5 MB, free: 12.71 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4679, allocations: 4 kB / 463.5 MB, free: 12.71 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.001365/0.4693, allocations: 303 kB / 463.8 MB, free: 12.41 MB / 347.1 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: 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_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 34 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002325/0.4695, allocations: 136.2 kB / 463.9 MB, free: 12.28 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001903/0.4715, allocations: 1.291 MB / 465.2 MB, free: 11.25 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4715, allocations: 0 / 465.2 MB, free: 11.25 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006096/0.4721, allocations: 0.5017 MB / 465.7 MB, free: 10.84 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005265/0.4726, allocations: 79.41 kB / 465.8 MB, free: 10.78 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.4748, allocations: 0.9226 MB / 466.7 MB, free: 9.949 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000545/0.4754, allocations: 0.9583 MB / 467.7 MB, free: 8.973 MB / 347.1 MB Notification: Performance of simCode: alias equations: time 0.0003984/0.4758, allocations: 100.6 kB / 467.8 MB, free: 8.871 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.4758, allocations: 34.94 kB / 467.8 MB, free: 8.84 MB / 347.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4759, allocations: 4 kB / 467.8 MB, free: 8.836 MB / 347.1 MB Notification: Performance of Templates: time 0.01745/0.4933, allocations: 9.671 MB / 477.5 MB, free: 15.23 MB / 363.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1)