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.001431/0.001431, allocations: 179.6 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.258/1.258, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001786/0.001786, allocations: 117.4 kB / 256.9 MB, free: 4.367 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 8 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1094, allocations: 44.5 MB / 355.1 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3019/0.4114, allocations: 82.43 MB / 437.5 MB, free: 7.219 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.4117, allocations: 89.19 kB / 437.6 MB, free: 7.168 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03052/0.4422, allocations: 13.43 MB / 451 MB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4422, allocations: 1.406 kB / 451 MB, free: 12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.055e-05/0.4423, allocations: 16 kB / 451 MB, free: 11.98 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002125/0.4444, allocations: 0.9624 MB / 452 MB, free: 11.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.4445, allocations: 8.031 kB / 452 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003188/0.4448, allocations: 91 kB / 452.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009805/0.4458, allocations: 0.4888 MB / 452.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-05/0.4459, allocations: 52.38 kB / 452.6 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.446, allocations: 74.23 kB / 452.7 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.4473, allocations: 0.707 MB / 453.4 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.4474, allocations: 4 kB / 453.4 MB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.419e-05/0.4474, allocations: 24 kB / 453.4 MB, free: 9.715 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.4475, allocations: 16 kB / 453.5 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.4485, allocations: 0.5437 MB / 454 MB, free: 9.152 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003964/0.4525, allocations: 2.651 MB / 456.7 MB, free: 6.391 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.4536, allocations: 0.594 MB / 457.2 MB, free: 5.785 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.4537, allocations: 6.125 kB / 457.3 MB, free: 5.781 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005891/0.4542, allocations: 353.7 kB / 457.6 MB, free: 5.414 MB / 330.7 MB Notification: Performance of pre-optimization done (n=57): time 2.314e-06/0.4543, allocations: 0 / 457.6 MB, free: 5.414 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.002073/0.4563, allocations: 0.9834 MB / 458.6 MB, free: 4.383 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.932e-05/0.4564, allocations: 111.4 kB / 458.7 MB, free: 4.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005839/0.457, allocations: 445 kB / 459.1 MB, free: 3.809 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.895e-05/0.4571, allocations: 49.7 kB / 459.2 MB, free: 3.754 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.4573, allocations: 312.3 kB / 459.5 MB, free: 3.445 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.4575, allocations: 177.6 kB / 459.7 MB, free: 3.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.4575, allocations: 8 kB / 459.7 MB, free: 3.262 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4577, allocations: 374.7 kB / 460 MB, free: 2.887 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.4581, allocations: 205.2 kB / 460.2 MB, free: 2.684 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005252/0.4586, allocations: 368.2 kB / 460.6 MB, free: 2.266 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.4591, allocations: 222.1 kB / 460.8 MB, free: 2.047 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.4591, allocations: 0 / 460.8 MB, free: 2.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001166/0.4603, allocations: 0.7188 MB / 461.5 MB, free: 1.316 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006928/0.461, allocations: 1.574 MB / 463.1 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.461, allocations: 4 kB / 463.1 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004614/0.4615, allocations: 141.6 kB / 463.2 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.4618, allocations: 99.83 kB / 463.3 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00339/0.4652, allocations: 3.479 MB / 466.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004725/0.4657, allocations: 95.52 kB / 466.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.4658, allocations: 20 kB / 466.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.4658, allocations: 7.953 kB / 466.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001012/0.4668, allocations: 0.6042 MB / 467.5 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.4668, allocations: 4 kB / 467.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003494/0.4672, allocations: 146.9 kB / 467.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.4675, allocations: 95.83 kB / 467.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003016/0.4705, allocations: 3.476 MB / 471.3 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.4709, allocations: 67.66 kB / 471.3 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.471, allocations: 24.06 kB / 471.3 MB, free: 6.824 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 (67): * Single equations (assignments): 65 * 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 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003679/0.4713, allocations: 323.8 kB / 471.7 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-05/0.4714, allocations: 59.25 kB / 471.7 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.4716, allocations: 69.5 kB / 471.8 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.4716, allocations: 7.953 kB / 471.8 MB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4716, allocations: 0 / 471.8 MB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.4716, allocations: 3.938 kB / 471.8 MB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.4736, allocations: 1.379 MB / 473.2 MB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.4736, allocations: 0 / 473.2 MB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.4739, allocations: 59.91 kB / 473.2 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003511/0.4742, allocations: 134.9 kB / 473.4 MB, free: 4.727 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/0.4743, allocations: 15.92 kB / 473.4 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003041/0.4773, allocations: 3.322 MB / 476.7 MB, free: 1.125 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4773, allocations: 0 / 476.7 MB, free: 1.125 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.4788, allocations: 0.9257 MB / 477.6 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000261/0.4791, allocations: 184.4 kB / 477.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.483e-05/0.4792, allocations: 19.92 kB / 477.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.4795, allocations: 43.97 kB / 477.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.4797, allocations: 80.31 kB / 478 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.4797, allocations: 15.98 kB / 478 MB, free: 15.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004197/0.4802, allocations: 342.9 kB / 478.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4802, allocations: 0 / 478.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001098/0.4813, allocations: 331.1 kB / 478.6 MB, free: 15.17 MB / 362.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: 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 36 * 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 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002208/0.4815, allocations: 145.8 kB / 478.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001923/0.4834, allocations: 1.383 MB / 480.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4835, allocations: 8.062 kB / 480.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006634/0.4841, allocations: 0.52 MB / 480.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005555/0.4847, allocations: 98.84 kB / 480.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.4873, allocations: 1.529 MB / 482.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000656/0.488, allocations: 0.9504 MB / 483.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000352/0.4883, allocations: 88.81 kB / 483.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.4885, allocations: 39.44 kB / 483.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4885, allocations: 0 / 483.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of Templates: time 0.01908/0.5076, allocations: 9.924 MB / 493.3 MB, free: 384 kB / 362.7 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)