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_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001061/0.001061, allocations: 182.8 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.493/1.493, 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.001396/0.001396, allocations: 120.7 kB / 253.5 MB, free: 9.566 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.582e-05/2.585e-05, allocations: 0 / 305 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07872/0.07876, allocations: 44.51 MB / 349.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3169/0.3957, allocations: 82.33 MB / 431.8 MB, free: 9.16 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.396, allocations: 85.78 kB / 431.9 MB, free: 9.145 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02997/0.4259, allocations: 12.81 MB / 444.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.426, allocations: 4 kB / 444.7 MB, free: 2.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.262e-05/0.426, allocations: 19.98 kB / 444.7 MB, free: 2.168 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001242/0.4273, allocations: 0.8633 MB / 445.6 MB, free: 1.293 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.4273, allocations: 12.03 kB / 445.6 MB, free: 1.281 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.4275, allocations: 83 kB / 445.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000603/0.4281, allocations: 484.1 kB / 446.1 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.4281, allocations: 47.25 kB / 446.2 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.879e-05/0.4282, allocations: 62.62 kB / 446.2 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008758/0.4291, allocations: 0.6279 MB / 446.9 MB, free: 256 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.4291, allocations: 3.844 kB / 446.9 MB, free: 256 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.683e-05/0.4292, allocations: 33.06 kB / 446.9 MB, free: 240 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.4292, allocations: 16 kB / 446.9 MB, free: 224 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006813/0.4299, allocations: 436.4 kB / 447.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/0.4333, allocations: 2.322 MB / 449.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.4344, allocations: 0.5031 MB / 450.2 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004586/0.4349, allocations: 262 kB / 450.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.028e-05/0.4349, allocations: 8.359 kB / 450.4 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005011/0.4354, allocations: 321.1 kB / 450.8 MB, free: 13.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 3.176e-06/0.4354, allocations: 11.88 kB / 450.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.0008033/0.4362, allocations: 454.7 kB / 451.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.673e-05/0.4363, allocations: 140.9 kB / 451.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004435/0.4368, allocations: 391.8 kB / 451.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.614e-05/0.4369, allocations: 41.14 kB / 451.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.4371, allocations: 312.3 kB / 452.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.4372, allocations: 152.7 kB / 452.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.4372, allocations: 15.5 kB / 452.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4374, allocations: 365.9 kB / 452.6 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.4376, allocations: 149.5 kB / 452.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003941/0.438, allocations: 317.2 kB / 453.1 MB, free: 11.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.4384, allocations: 174.6 kB / 453.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4384, allocations: 4 kB / 453.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008731/0.4392, allocations: 0.5576 MB / 453.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008381/0.4401, allocations: 1.662 MB / 455.4 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.4401, allocations: 7.984 kB / 455.5 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003556/0.4405, allocations: 83.38 kB / 455.5 MB, free: 8.863 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/0.4409, allocations: 101.3 kB / 455.6 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/0.4427, allocations: 1.731 MB / 457.4 MB, free: 7.109 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/0.4431, allocations: 86.73 kB / 457.5 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.4432, allocations: 19.44 kB / 457.5 MB, free: 7.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.485e-06/0.4432, allocations: 4 kB / 457.5 MB, free: 7.016 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007594/0.444, allocations: 495.8 kB / 458 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.444, allocations: 4 kB / 458 MB, free: 6.672 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/0.4442, allocations: 82.59 kB / 458 MB, free: 6.609 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.4446, allocations: 103.9 kB / 458.1 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.4461, allocations: 1.732 MB / 459.9 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004068/0.4465, allocations: 74.27 kB / 460 MB, free: 4.789 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.4466, allocations: 19.44 kB / 460 MB, free: 4.773 MB / 314.7 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 (63): * Single equations (assignments): 62 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001855/0.4468, allocations: 157.8 kB / 460.1 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.799e-05/0.4469, allocations: 59.33 kB / 460.2 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.447, allocations: 58.08 kB / 460.2 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.447, allocations: 4 kB / 460.2 MB, free: 4.543 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.447, allocations: 4 kB / 460.2 MB, free: 4.539 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.4471, allocations: 3.984 kB / 460.2 MB, free: 4.535 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.4488, allocations: 1.291 MB / 461.5 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4489, allocations: 4 kB / 461.5 MB, free: 3.496 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.4492, allocations: 67.14 kB / 461.6 MB, free: 3.434 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002047/0.4494, allocations: 81.59 kB / 461.7 MB, free: 3.371 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.4494, allocations: 10.88 kB / 461.7 MB, free: 3.367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/0.4509, allocations: 1.651 MB / 463.4 MB, free: 1.785 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.451, allocations: 32 / 463.4 MB, free: 1.785 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.452, allocations: 0.7833 MB / 464.1 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.4523, allocations: 184.5 kB / 464.3 MB, free: 1.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.4524, allocations: 11.12 kB / 464.3 MB, free: 1.016 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.4527, allocations: 51.39 kB / 464.4 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.4529, allocations: 54.94 kB / 464.4 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.4529, allocations: 23.86 kB / 464.5 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003356/0.4533, allocations: 295.2 kB / 464.7 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4533, allocations: 0 / 464.7 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009413/0.4542, allocations: 297 kB / 465 MB, free: 432 kB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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 (43): * Single equations (assignments): 37 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001978/0.4544, allocations: 142.2 kB / 465.2 MB, free: 288 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001322/0.4558, allocations: 0.9395 MB / 466.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4558, allocations: 0 / 466.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004361/0.4562, allocations: 369.3 kB / 466.5 MB, free: 15.26 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.4566, allocations: 75.08 kB / 466.5 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.4583, allocations: 0.8802 MB / 467.4 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.4588, allocations: 0.9308 MB / 468.4 MB, free: 13.47 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000399/0.4593, allocations: 112.4 kB / 468.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.331e-05/0.4594, allocations: 41.3 kB / 468.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4594, allocations: 4 kB / 468.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of Templates: time 0.01414/0.4735, allocations: 8.03 MB / 476.5 MB, free: 5.301 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1)