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_RLV.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_RLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001443/0.001443, allocations: 187.8 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.375/1.375, 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.001589/0.00159, allocations: 117.9 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.101e-05/2.093e-05, allocations: 7.984 kB / 298.1 MB, free: 8.219 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0906/0.09064, allocations: 44.49 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.328/0.4187, allocations: 81.93 MB / 424.5 MB, free: 13.99 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.419, allocations: 87.5 kB / 424.6 MB, free: 13.94 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03244/0.4515, allocations: 13.58 MB / 438.2 MB, free: 2.777 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4516, allocations: 0 / 438.2 MB, free: 2.777 MB / 315.1 MB Notification: Performance of Transformations before backend: time 6.197e-05/0.4516, allocations: 19.98 kB / 438.2 MB, free: 2.758 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001949/0.4536, allocations: 0.8972 MB / 439.1 MB, free: 1.855 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.4537, allocations: 8.031 kB / 439.1 MB, free: 1.848 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003237/0.454, allocations: 90.23 kB / 439.2 MB, free: 1.762 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009409/0.4549, allocations: 0.4994 MB / 439.7 MB, free: 1.316 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.766e-05/0.455, allocations: 20 kB / 439.7 MB, free: 1.297 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.4551, allocations: 40 kB / 439.7 MB, free: 1.258 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008825/0.456, allocations: 483.3 kB / 440.2 MB, free: 0.9688 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009637/0.457, allocations: 0.6058 MB / 440.8 MB, free: 0.5039 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.457, allocations: 7.938 kB / 440.8 MB, free: 0.4961 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.525e-05/0.4571, allocations: 3.938 kB / 440.8 MB, free: 0.4922 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.4571, allocations: 16 kB / 440.9 MB, free: 488 kB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004198/0.4613, allocations: 2.558 MB / 443.4 MB, free: 14.36 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009545/0.4623, allocations: 0.5536 MB / 444 MB, free: 14.01 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006483/0.463, allocations: 360.7 kB / 444.3 MB, free: 13.75 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.903e-05/0.463, allocations: 8.438 kB / 444.3 MB, free: 13.74 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005296/0.4636, allocations: 332.7 kB / 444.7 MB, free: 13.48 MB / 331.1 MB Notification: Performance of pre-optimization done (n=58): time 2.464e-06/0.4636, allocations: 1.312 kB / 444.7 MB, free: 13.48 MB / 331.1 MB Notification: Performance of matching and sorting (n=58): time 0.0009323/0.4645, allocations: 0.4981 MB / 445.1 MB, free: 13.11 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/0.4646, allocations: 118 kB / 445.3 MB, free: 12.97 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/0.4651, allocations: 377.1 kB / 445.6 MB, free: 12.68 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 5.731e-05/0.4651, allocations: 37.58 kB / 445.7 MB, free: 12.64 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.4654, allocations: 323.6 kB / 446 MB, free: 12.4 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.4655, allocations: 166 kB / 446.1 MB, free: 12.26 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.4656, allocations: 0 / 446.1 MB, free: 12.26 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4657, allocations: 359.9 kB / 446.5 MB, free: 11.92 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.466, allocations: 181.5 kB / 446.7 MB, free: 11.82 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004966/0.4665, allocations: 330.5 kB / 447 MB, free: 11.53 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.4668, allocations: 191.8 kB / 447.2 MB, free: 11.41 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4668, allocations: 4 kB / 447.2 MB, free: 11.4 MB / 331.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009685/0.4678, allocations: 0.6397 MB / 447.8 MB, free: 10.92 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006094/0.4684, allocations: 1.565 MB / 449.4 MB, free: 9.258 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.4684, allocations: 4 kB / 449.4 MB, free: 9.254 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004543/0.4689, allocations: 166.2 kB / 449.6 MB, free: 9.133 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.4693, allocations: 95.39 kB / 449.7 MB, free: 9.043 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003153/0.4724, allocations: 3.502 MB / 453.2 MB, free: 5.777 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/0.4729, allocations: 71.58 kB / 453.2 MB, free: 5.707 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/0.473, allocations: 27.69 kB / 453.3 MB, free: 5.684 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/0.473, allocations: 8.062 kB / 453.3 MB, free: 5.676 MB / 331.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008411/0.4739, allocations: 0.5416 MB / 453.8 MB, free: 5.293 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.4739, allocations: 4 kB / 453.8 MB, free: 5.289 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003652/0.4742, allocations: 160.3 kB / 454 MB, free: 5.172 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.4746, allocations: 91.64 kB / 454.1 MB, free: 5.086 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.4777, allocations: 3.504 MB / 457.6 MB, free: 1.816 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.4781, allocations: 55.59 kB / 457.6 MB, free: 1.762 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.4782, allocations: 27.5 kB / 457.6 MB, free: 1.742 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 (66): * Single equations (assignments): 64 * 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.000223/0.4784, allocations: 141.3 kB / 457.8 MB, free: 1.602 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.4786, allocations: 55.34 kB / 457.8 MB, free: 1.547 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/0.4788, allocations: 62.78 kB / 457.9 MB, free: 1.516 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.4788, allocations: 4 kB / 457.9 MB, free: 1.512 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4788, allocations: 4 kB / 457.9 MB, free: 1.508 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.4788, allocations: 7.938 kB / 457.9 MB, free: 1.5 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.4806, allocations: 1.272 MB / 459.2 MB, free: 0.5312 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4806, allocations: 0 / 459.2 MB, free: 0.5312 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.4809, allocations: 55.78 kB / 459.2 MB, free: 492 kB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003495/0.4813, allocations: 145.1 kB / 459.4 MB, free: 384 kB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/0.4813, allocations: 12.05 kB / 459.4 MB, free: 376 kB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003018/0.4843, allocations: 3.389 MB / 462.8 MB, free: 13.19 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4844, allocations: 0 / 462.8 MB, free: 13.19 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.4856, allocations: 0.8788 MB / 463.7 MB, free: 12.55 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/0.486, allocations: 181.3 kB / 463.8 MB, free: 12.39 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-05/0.4861, allocations: 7.875 kB / 463.8 MB, free: 12.38 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/0.4864, allocations: 31.97 kB / 463.9 MB, free: 12.35 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.4866, allocations: 82.2 kB / 464 MB, free: 12.29 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.4866, allocations: 15.19 kB / 464 MB, free: 12.27 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0002895/0.4869, allocations: 278.5 kB / 464.2 MB, free: 12.07 MB / 347.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4869, allocations: 0 / 464.2 MB, free: 12.07 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.001193/0.4881, allocations: 318.9 kB / 464.6 MB, free: 11.75 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 (42): * Single equations (assignments): 35 * 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.0002149/0.4883, allocations: 129.2 kB / 464.7 MB, free: 11.62 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.4901, allocations: 1.302 MB / 466 MB, free: 10.58 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.4901, allocations: 0 / 466 MB, free: 10.58 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005689/0.4907, allocations: 0.5076 MB / 466.5 MB, free: 10.16 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.4911, allocations: 80.53 kB / 466.6 MB, free: 10.11 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.4931, allocations: 0.9427 MB / 467.5 MB, free: 9.219 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005496/0.4937, allocations: 0.963 MB / 468.5 MB, free: 8.23 MB / 347.1 MB Notification: Performance of simCode: alias equations: time 0.0003815/0.494, allocations: 104.6 kB / 468.6 MB, free: 8.125 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.4941, allocations: 31.44 kB / 468.6 MB, free: 8.094 MB / 347.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4942, allocations: 0 / 468.6 MB, free: 8.094 MB / 347.1 MB Notification: Performance of Templates: time 0.0169/0.5111, allocations: 9.768 MB / 478.4 MB, free: 14.37 MB / 363.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1)