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_Characteristic.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_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009635/0.0009635, allocations: 188.6 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.315/1.315, 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.001742/0.001742, allocations: 119.1 kB / 248.1 MB, free: 6.367 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.62e-05/1.623e-05, allocations: 0 / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.09565, allocations: 44.51 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3214/0.4171, allocations: 82.36 MB / 425 MB, free: 13.48 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.4174, allocations: 91 kB / 425 MB, free: 13.43 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03194/0.4494, allocations: 13.8 MB / 438.8 MB, free: 2.074 MB / 315.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.4494, allocations: 4 kB / 438.9 MB, free: 2.07 MB / 315.1 MB Notification: Performance of Transformations before backend: time 3.712e-05/0.4494, allocations: 12 kB / 438.9 MB, free: 2.059 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.00142/0.4509, allocations: 0.9283 MB / 439.8 MB, free: 1.125 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.4509, allocations: 8.781 kB / 439.8 MB, free: 1.117 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.451, allocations: 90.23 kB / 439.9 MB, free: 1.031 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/0.4517, allocations: 0.4993 MB / 440.4 MB, free: 0.5859 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.4517, allocations: 23.69 kB / 440.4 MB, free: 0.5664 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.012e-05/0.4518, allocations: 47.89 kB / 440.5 MB, free: 0.5195 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000718/0.4525, allocations: 477 kB / 440.9 MB, free: 240 kB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009549/0.4535, allocations: 0.6175 MB / 441.5 MB, free: 15.76 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.4535, allocations: 7.922 kB / 441.5 MB, free: 15.75 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-05/0.4536, allocations: 1.75 kB / 441.6 MB, free: 15.75 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.4536, allocations: 19.95 kB / 441.6 MB, free: 15.73 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003669/0.4573, allocations: 2.543 MB / 444.1 MB, free: 13.62 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.4584, allocations: 0.6052 MB / 444.7 MB, free: 13.23 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006546/0.4591, allocations: 378.4 kB / 445.1 MB, free: 12.95 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.657e-05/0.4592, allocations: 4.562 kB / 445.1 MB, free: 12.95 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005205/0.4597, allocations: 349.9 kB / 445.4 MB, free: 12.69 MB / 331.1 MB Notification: Performance of pre-optimization done (n=61): time 4.789e-06/0.4597, allocations: 0 / 445.4 MB, free: 12.69 MB / 331.1 MB Notification: Performance of matching and sorting (n=61): time 0.000928/0.4606, allocations: 0.5307 MB / 446 MB, free: 12.29 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/0.4607, allocations: 115.4 kB / 446.1 MB, free: 12.15 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.4611, allocations: 354.4 kB / 446.4 MB, free: 11.88 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 5.163e-05/0.4612, allocations: 33.64 kB / 446.5 MB, free: 11.84 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.4614, allocations: 324.9 kB / 446.8 MB, free: 11.59 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.4616, allocations: 180.6 kB / 446.9 MB, free: 11.44 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.4616, allocations: 0 / 446.9 MB, free: 11.44 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4618, allocations: 360.7 kB / 447.3 MB, free: 11.1 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.4621, allocations: 185.7 kB / 447.5 MB, free: 11 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/0.4625, allocations: 335.5 kB / 447.8 MB, free: 10.7 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.4628, allocations: 196.9 kB / 448 MB, free: 10.58 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4628, allocations: 0 / 448 MB, free: 10.58 MB / 331.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001025/0.4639, allocations: 0.6369 MB / 448.6 MB, free: 10.1 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007221/0.4646, allocations: 1.573 MB / 450.2 MB, free: 8.434 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.4646, allocations: 4 kB / 450.2 MB, free: 8.43 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004519/0.4651, allocations: 160.9 kB / 450.4 MB, free: 8.309 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.4655, allocations: 110.7 kB / 450.5 MB, free: 8.207 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00343/0.4689, allocations: 3.495 MB / 454 MB, free: 4.945 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/0.4694, allocations: 67.62 kB / 454 MB, free: 4.879 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/0.4695, allocations: 23.06 kB / 454.1 MB, free: 4.863 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.4695, allocations: 4 kB / 454.1 MB, free: 4.859 MB / 331.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009004/0.4704, allocations: 0.5455 MB / 454.6 MB, free: 4.469 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4705, allocations: 4 kB / 454.6 MB, free: 4.465 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003717/0.4708, allocations: 163.8 kB / 454.8 MB, free: 4.344 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.4712, allocations: 99.02 kB / 454.9 MB, free: 4.25 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003134/0.4744, allocations: 3.497 MB / 458.4 MB, free: 0.9805 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004659/0.4748, allocations: 63.72 kB / 458.4 MB, free: 0.918 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/0.4749, allocations: 26.11 kB / 458.5 MB, free: 0.8984 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 (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 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002333/0.4751, allocations: 153.9 kB / 458.6 MB, free: 0.7461 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.4753, allocations: 55.25 kB / 458.7 MB, free: 0.6914 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.4754, allocations: 67.3 kB / 458.7 MB, free: 0.6602 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.4754, allocations: 8 kB / 458.7 MB, free: 0.6523 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.4754, allocations: 0 / 458.7 MB, free: 0.6523 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.4755, allocations: 7.922 kB / 458.7 MB, free: 0.6445 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.4773, allocations: 1.284 MB / 460 MB, free: 15.68 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4773, allocations: 0 / 460 MB, free: 15.68 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004324/0.4778, allocations: 75.52 kB / 460.1 MB, free: 15.61 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003625/0.4781, allocations: 142.2 kB / 460.2 MB, free: 15.51 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/0.4782, allocations: 11.48 kB / 460.3 MB, free: 15.5 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0031/0.4813, allocations: 3.391 MB / 463.6 MB, free: 12.32 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.4813, allocations: 3.984 kB / 463.6 MB, free: 12.32 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.4826, allocations: 0.8974 MB / 464.5 MB, free: 11.68 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.4829, allocations: 186 kB / 464.7 MB, free: 11.51 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.356e-05/0.483, allocations: 64 / 464.7 MB, free: 11.51 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.4833, allocations: 51.28 kB / 464.8 MB, free: 11.46 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/0.4836, allocations: 78.28 kB / 464.9 MB, free: 11.4 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.4836, allocations: 19.92 kB / 464.9 MB, free: 11.38 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0003309/0.4839, allocations: 266.3 kB / 465.1 MB, free: 11.18 MB / 347.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4839, allocations: 3.938 kB / 465.1 MB, free: 11.18 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.001485/0.4854, allocations: 321.7 kB / 465.5 MB, free: 10.86 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 (45): * Single equations (assignments): 38 * 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.0003486/0.4858, allocations: 128.9 kB / 465.6 MB, free: 10.73 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.4876, allocations: 1.323 MB / 466.9 MB, free: 9.688 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4876, allocations: 4.812 kB / 466.9 MB, free: 9.684 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000604/0.4882, allocations: 0.5176 MB / 467.4 MB, free: 9.262 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.4888, allocations: 76.83 kB / 467.5 MB, free: 9.207 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.4908, allocations: 0.9774 MB / 468.5 MB, free: 8.246 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/0.4914, allocations: 0.9669 MB / 469.4 MB, free: 7.254 MB / 347.1 MB Notification: Performance of simCode: alias equations: time 0.0003966/0.4918, allocations: 104.6 kB / 469.5 MB, free: 7.152 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.337e-05/0.4919, allocations: 35.44 kB / 469.6 MB, free: 7.117 MB / 347.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4919, allocations: 0 / 469.6 MB, free: 7.117 MB / 347.1 MB Notification: Performance of Templates: time 0.01758/0.5095, allocations: 9.978 MB / 479.6 MB, free: 13.19 MB / 363.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1)