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_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001574/0.001574, allocations: 183.1 kB / 8.351 MB, free: 0.7031 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.407/1.407, allocations: 194.3 MB / 203.1 MB, free: 9.254 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.00184/0.00184, allocations: 118.9 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.196e-05/2.199e-05, allocations: 4 kB / 298.1 MB, free: 8.207 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0976/0.09764, allocations: 44.5 MB / 342.6 MB, free: 11.61 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2767/0.3744, allocations: 80.9 MB / 423.5 MB, free: 14.97 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.3747, allocations: 83.45 kB / 423.6 MB, free: 14.93 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02915/0.4039, allocations: 11.96 MB / 435.5 MB, free: 5.094 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4039, allocations: 4 kB / 435.5 MB, free: 5.09 MB / 315.1 MB Notification: Performance of Transformations before backend: time 3.407e-05/0.404, allocations: 19.98 kB / 435.6 MB, free: 5.07 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001106/0.4051, allocations: 0.8109 MB / 436.4 MB, free: 4.25 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.4051, allocations: 8.031 kB / 436.4 MB, free: 4.242 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.4052, allocations: 75.16 kB / 436.5 MB, free: 4.168 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/0.4058, allocations: 468.4 kB / 436.9 MB, free: 3.75 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.4058, allocations: 20 kB / 436.9 MB, free: 3.73 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.567e-05/0.4059, allocations: 32 kB / 437 MB, free: 3.699 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005458/0.4064, allocations: 396 kB / 437.3 MB, free: 3.461 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006788/0.4071, allocations: 0.5007 MB / 437.8 MB, free: 3.078 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.4071, allocations: 3.906 kB / 437.9 MB, free: 3.074 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/0.4072, allocations: 11.86 kB / 437.9 MB, free: 3.066 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.4072, allocations: 19.95 kB / 437.9 MB, free: 3.047 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.4097, allocations: 2.068 MB / 439.9 MB, free: 1.305 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006707/0.4104, allocations: 432 kB / 440.4 MB, free: 1.008 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.4108, allocations: 221.8 kB / 440.6 MB, free: 0.8555 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.4108, allocations: 4.328 kB / 440.6 MB, free: 0.8516 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003435/0.4111, allocations: 279.2 kB / 440.9 MB, free: 0.6211 MB / 315.1 MB Notification: Performance of pre-optimization done (n=44): time 1.753e-06/0.4112, allocations: 0.5625 kB / 440.9 MB, free: 0.6211 MB / 315.1 MB Notification: Performance of matching and sorting (n=44): time 0.0005588/0.4117, allocations: 384.9 kB / 441.2 MB, free: 340 kB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.4118, allocations: 144.5 kB / 441.4 MB, free: 164 kB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.4121, allocations: 347.1 kB / 441.7 MB, free: 15.9 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.4122, allocations: 33.69 kB / 441.8 MB, free: 15.86 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.4124, allocations: 302.4 kB / 442 MB, free: 15.63 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.687e-05/0.4125, allocations: 125.3 kB / 442.2 MB, free: 15.52 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/0.4125, allocations: 0 / 442.2 MB, free: 15.52 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.4127, allocations: 361.7 kB / 442.5 MB, free: 15.18 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.4129, allocations: 135.9 kB / 442.7 MB, free: 15.11 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.4132, allocations: 291.7 kB / 442.9 MB, free: 14.82 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.4134, allocations: 150.8 kB / 443.1 MB, free: 14.73 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.4134, allocations: 7.953 kB / 443.1 MB, free: 14.72 MB / 331.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006743/0.4141, allocations: 483.9 kB / 443.6 MB, free: 14.35 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000534/0.4147, allocations: 1.654 MB / 445.2 MB, free: 12.6 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.4147, allocations: 7.984 kB / 445.2 MB, free: 12.59 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00031/0.415, allocations: 92.81 kB / 445.3 MB, free: 12.52 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.4153, allocations: 87.45 kB / 445.4 MB, free: 12.44 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.4171, allocations: 1.806 MB / 447.2 MB, free: 10.75 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000435/0.4175, allocations: 67.72 kB / 447.3 MB, free: 10.69 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.4176, allocations: 23.55 kB / 447.3 MB, free: 10.67 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.894e-06/0.4176, allocations: 4.188 kB / 447.3 MB, free: 10.66 MB / 331.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006296/0.4182, allocations: 418.5 kB / 447.7 MB, free: 10.36 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4182, allocations: 7.938 kB / 447.7 MB, free: 10.36 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002171/0.4184, allocations: 86.94 kB / 447.8 MB, free: 10.29 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.4187, allocations: 75.28 kB / 447.9 MB, free: 10.22 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.4204, allocations: 1.801 MB / 449.7 MB, free: 8.539 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.4208, allocations: 55.61 kB / 449.7 MB, free: 8.484 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.4208, allocations: 22.88 kB / 449.8 MB, free: 8.465 MB / 331.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.421, allocations: 138.9 kB / 449.9 MB, free: 8.324 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.489e-05/0.4211, allocations: 43.44 kB / 449.9 MB, free: 8.281 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.4212, allocations: 51.66 kB / 450 MB, free: 8.258 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4212, allocations: 4 kB / 450 MB, free: 8.254 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4212, allocations: 3.984 kB / 450 MB, free: 8.25 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.4212, allocations: 7.953 kB / 450 MB, free: 8.242 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.4227, allocations: 1.078 MB / 451.1 MB, free: 7.371 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.4227, allocations: 3.984 kB / 451.1 MB, free: 7.367 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.4229, allocations: 47.22 kB / 451.1 MB, free: 7.324 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002144/0.4231, allocations: 89.52 kB / 451.2 MB, free: 7.254 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.4232, allocations: 3.312 kB / 451.2 MB, free: 7.254 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/0.4247, allocations: 1.693 MB / 452.9 MB, free: 5.672 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.369e-05/0.4247, allocations: 4.031 kB / 452.9 MB, free: 5.668 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008481/0.4256, allocations: 0.6882 MB / 453.6 MB, free: 5.137 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.4258, allocations: 165.9 kB / 453.8 MB, free: 4.977 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.528e-05/0.4258, allocations: 7.438 kB / 453.8 MB, free: 4.973 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/0.4262, allocations: 31.97 kB / 453.8 MB, free: 4.941 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.4263, allocations: 53.61 kB / 453.9 MB, free: 4.898 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.4263, allocations: 15.61 kB / 453.9 MB, free: 4.887 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0002562/0.4266, allocations: 266.8 kB / 454.1 MB, free: 4.688 MB / 331.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4266, allocations: 0 / 454.1 MB, free: 4.688 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0008577/0.4274, allocations: 255.1 kB / 454.4 MB, free: 4.438 MB / 331.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001746/0.4276, allocations: 116.9 kB / 454.5 MB, free: 4.32 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.4289, allocations: 0.8672 MB / 455.4 MB, free: 3.652 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4289, allocations: 0 / 455.4 MB, free: 3.652 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004147/0.4293, allocations: 331.9 kB / 455.7 MB, free: 3.391 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.4297, allocations: 63.94 kB / 455.8 MB, free: 3.344 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.4311, allocations: 0.7222 MB / 456.5 MB, free: 2.691 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.4315, allocations: 0.913 MB / 457.4 MB, free: 1.758 MB / 331.1 MB Notification: Performance of simCode: alias equations: time 0.0003614/0.4319, allocations: 108 kB / 457.5 MB, free: 1.652 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.725e-05/0.432, allocations: 35.42 kB / 457.5 MB, free: 1.617 MB / 331.1 MB Notification: Performance of SimCode: time 3.4e-07/0.432, allocations: 0 / 457.5 MB, free: 1.617 MB / 331.1 MB Notification: Performance of Templates: time 0.01265/0.4446, allocations: 7.035 MB / 464.6 MB, free: 10.64 MB / 347.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1)