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_DC_Drive.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_DC_Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=150000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=150000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001226/0.001226, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.519/1.519, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001632/0.001631, allocations: 122.3 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.694e-05/2.698e-05, allocations: 4 kB / 305 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0903/0.09034, allocations: 44.5 MB / 349.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3527/0.4431, allocations: 100.5 MB / 449.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/0.4435, allocations: 86.69 kB / 450 MB, free: 11.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09421/0.5377, allocations: 36.32 MB / 486.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.5378, allocations: 0 / 486.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001163/0.5379, allocations: 32 kB / 486.4 MB, free: 12.45 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 365 * Number of variables: 365 Notification: Performance of Generate backend data structure: time 0.003053/0.5409, allocations: 1.73 MB / 488.1 MB, free: 10.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.541, allocations: 8.031 kB / 488.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006221/0.5416, allocations: 245.5 kB / 488.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/0.544, allocations: 1.266 MB / 489.6 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.85e-05/0.5441, allocations: 108.9 kB / 489.7 MB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/0.5443, allocations: 157.9 kB / 489.9 MB, free: 9.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/0.5466, allocations: 1.497 MB / 491.4 MB, free: 8.277 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/0.5466, allocations: 8 kB / 491.4 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.5467, allocations: 58.38 kB / 491.5 MB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/0.5468, allocations: 36 kB / 491.5 MB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.5487, allocations: 1.148 MB / 492.6 MB, free: 7.199 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008648/0.5574, allocations: 6.392 MB / 499 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.5591, allocations: 1.009 MB / 0.4883 GB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009709/0.56, allocations: 0.5783 MB / 0.4889 GB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.5601, allocations: 12.78 kB / 0.4889 GB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008509/0.561, allocations: 0.5528 MB / 0.4894 GB, free: 14.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=92): time 3.677e-06/0.561, allocations: 3.984 kB / 0.4894 GB, free: 14.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=95): time 0.003971/0.565, allocations: 2.389 MB / 0.4918 GB, free: 11.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.5651, allocations: 167 kB / 0.4919 GB, free: 11.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.5667, allocations: 1.148 MB / 0.4931 GB, free: 10.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.229e-05/0.5668, allocations: 53.69 kB / 0.4931 GB, free: 10.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006328/0.5674, allocations: 0.7684 MB / 0.4939 GB, free: 9.672 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.5677, allocations: 311.6 kB / 0.4942 GB, free: 9.363 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.5678, allocations: 32 kB / 0.4942 GB, free: 9.332 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5679, allocations: 357.9 kB / 0.4945 GB, free: 8.977 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006493/0.5686, allocations: 406.5 kB / 0.4949 GB, free: 8.578 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008978/0.5695, allocations: 0.8295 MB / 0.4957 GB, free: 7.559 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007507/0.5702, allocations: 0.4966 MB / 0.4962 GB, free: 7.062 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.5703, allocations: 7.953 kB / 0.4962 GB, free: 7.055 MB / 362.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002288/0.5725, allocations: 1.565 MB / 0.4977 GB, free: 5.457 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001898/0.5745, allocations: 5.1 MB / 0.5027 GB, free: 8 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.911e-05/0.5745, allocations: 12.05 kB / 0.5027 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006225/0.5751, allocations: 221.4 kB / 0.5029 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.5763, allocations: 307.5 kB / 0.5032 GB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003947/0.5802, allocations: 3.924 MB / 0.5071 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.5817, allocations: 167.9 kB / 0.5072 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.931e-05/0.5818, allocations: 59.98 kB / 0.5073 GB, free: 11.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.5818, allocations: 4 kB / 0.5073 GB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002132/0.584, allocations: 1.416 MB / 0.5087 GB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.584, allocations: 12 kB / 0.5087 GB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005047/0.5845, allocations: 213.8 kB / 0.5089 GB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009609/0.5855, allocations: 303.4 kB / 0.5092 GB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003693/0.5892, allocations: 3.906 MB / 0.513 GB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.5905, allocations: 163.8 kB / 0.5132 GB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/0.5906, allocations: 56 kB / 0.5132 GB, free: 4.703 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (144): * Single equations (assignments): 142 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003064/0.591, allocations: 200.7 kB / 0.5134 GB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.5912, allocations: 142.3 kB / 0.5135 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.5932, allocations: 1.201 MB / 0.5147 GB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.567e-06/0.5932, allocations: 8 kB / 0.5147 GB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5932, allocations: 4 kB / 0.5147 GB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.5932, allocations: 3.984 kB / 0.5147 GB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003894/0.5971, allocations: 2.718 MB / 0.5174 GB, free: 292 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.5971, allocations: 0 / 0.5174 GB, free: 292 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006669/0.5978, allocations: 164 kB / 0.5175 GB, free: 128 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004952/0.5983, allocations: 197.5 kB / 0.5177 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.705e-05/0.5984, allocations: 23.98 kB / 0.5177 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003586/0.602, allocations: 3.82 MB / 0.5215 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/0.602, allocations: 11.92 kB / 0.5215 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/0.6045, allocations: 1.836 MB / 0.5233 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006309/0.6052, allocations: 315.5 kB / 0.5236 GB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.6054, allocations: 27.98 kB / 0.5236 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008413/0.6062, allocations: 147.7 kB / 0.5237 GB, free: 9.383 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/0.6064, allocations: 96.64 kB / 0.5238 GB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.635e-05/0.6065, allocations: 31.98 kB / 0.5239 GB, free: 9.258 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001246/0.6077, allocations: 0.8545 MB / 0.5247 GB, free: 8.398 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6078, allocations: 0 / 0.5247 GB, free: 8.398 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002148/0.6099, allocations: 0.6366 MB / 0.5253 GB, free: 7.762 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 10 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,pulse2.twoPulse.filter[1].firstOrder.y,pulse2.twoPulse.filter[1].transferFunction[1].x_scaled[1],pulse2.twoPulse.filter[1].transferFunction[2].x_scaled[1],inductor.i,dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,lMains.i) * Number of discrete variables: 20 (pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[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 (73): * Single equations (assignments): 66 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.000481/0.6104, allocations: 348.1 kB / 0.5257 GB, free: 7.414 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003162/0.6136, allocations: 2.351 MB / 0.528 GB, free: 5.016 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6136, allocations: 0 / 0.528 GB, free: 5.016 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.6147, allocations: 0.8626 MB / 0.5288 GB, free: 4.129 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.6159, allocations: 285 kB / 0.5291 GB, free: 3.852 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004518/0.6204, allocations: 2.441 MB / 0.5315 GB, free: 1.355 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/0.6217, allocations: 1.343 MB / 0.5328 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00172/0.6234, allocations: 442.9 kB / 0.5332 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.6236, allocations: 67.44 kB / 0.5332 GB, free: 15.48 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.6236, allocations: 4 kB / 0.5333 GB, free: 15.48 MB / 410.7 MB Notification: Performance of Templates: time 0.2525/0.8761, allocations: 24.57 MB / 0.5572 GB, free: 116.5 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe 2>&1)