Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009362/0.0009363, allocations: 179.6 kB / 16.38 MB, free: 5.762 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.234/1.234, allocations: 194.5 MB / 211.6 MB, free: 3.031 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.001517/0.001517, allocations: 114.2 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.000285, allocations: 16 kB / 310.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07917/0.07947, allocations: 44.5 MB / 355.1 MB, free: 2.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2562/0.3357, allocations: 85.16 MB / 440.2 MB, free: 4.508 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.3361, allocations: 91.62 kB / 440.3 MB, free: 4.457 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06637/0.4024, allocations: 28.16 MB / 468.5 MB, free: 10.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4025, allocations: 0 / 468.5 MB, free: 10.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.053e-05/0.4026, allocations: 31.94 kB / 468.5 MB, free: 10.68 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.002844/0.4054, allocations: 1.658 MB / 470.2 MB, free: 8.945 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.4055, allocations: 8.031 kB / 470.2 MB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.4057, allocations: 158.1 kB / 470.3 MB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003633/0.4094, allocations: 1.652 MB / 472 MB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-05/0.4095, allocations: 106.5 kB / 472.1 MB, free: 6.977 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.4097, allocations: 124 kB / 472.2 MB, free: 6.855 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/0.4123, allocations: 1.711 MB / 473.9 MB, free: 5.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.4123, allocations: 3.938 kB / 473.9 MB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.4125, allocations: 55.98 kB / 474 MB, free: 5.012 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.785e-05/0.4125, allocations: 58.5 kB / 474 MB, free: 4.953 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002169/0.4147, allocations: 1.407 MB / 475.4 MB, free: 3.539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006866/0.4216, allocations: 4.949 MB / 480.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.4233, allocations: 1.083 MB / 481.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.4233, allocations: 4.656 kB / 481.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008787/0.4242, allocations: 0.62 MB / 482.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 2.725e-06/0.4242, allocations: 0 / 482.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=81): time 0.003106/0.4273, allocations: 1.666 MB / 483.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.4274, allocations: 123.4 kB / 483.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.4284, allocations: 0.7886 MB / 484.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.581e-05/0.4285, allocations: 53.69 kB / 484.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004447/0.429, allocations: 0.5811 MB / 485.3 MB, free: 9.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.4292, allocations: 232.9 kB / 485.5 MB, free: 9.199 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.4292, allocations: 19.94 kB / 485.6 MB, free: 9.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4294, allocations: 349.9 kB / 485.9 MB, free: 8.832 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006577/0.43, allocations: 449.6 kB / 486.3 MB, free: 8.395 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008015/0.4308, allocations: 0.6611 MB / 487 MB, free: 7.645 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006963/0.4315, allocations: 486.7 kB / 487.5 MB, free: 7.172 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4316, allocations: 0 / 487.5 MB, free: 7.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001848/0.4334, allocations: 1.295 MB / 488.8 MB, free: 5.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008673/0.4343, allocations: 2.447 MB / 491.2 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4343, allocations: 8 kB / 491.2 MB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004933/0.4348, allocations: 220.9 kB / 491.4 MB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005106/0.4353, allocations: 147.7 kB / 491.6 MB, free: 2.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003088/0.4384, allocations: 2.832 MB / 494.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007299/0.4392, allocations: 155.3 kB / 494.6 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.235e-05/0.4392, allocations: 39.98 kB / 494.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/0.4393, allocations: 4 kB / 494.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001689/0.441, allocations: 1.161 MB / 495.8 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.441, allocations: 4 kB / 495.8 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004257/0.4414, allocations: 222.6 kB / 496 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004624/0.4419, allocations: 143.7 kB / 496.1 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002902/0.4448, allocations: 2.829 MB / 499 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006998/0.4455, allocations: 135.4 kB / 499.1 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.828e-05/0.4456, allocations: 36 kB / 499.1 MB, free: 11.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0009838/0.4466, allocations: 0.6022 MB / 499.7 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.4467, allocations: 94.83 kB / 499.8 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.447, allocations: 113.1 kB / 499.9 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.447, allocations: 11.98 kB / 499.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.447, allocations: 0 / 499.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.447, allocations: 7.984 kB / 500 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003666/0.4507, allocations: 2.452 MB / 0.4906 GB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.4507, allocations: 4 kB / 0.4906 GB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/0.4511, allocations: 75.89 kB / 0.4907 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004024/0.4515, allocations: 196.8 kB / 0.4909 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.163e-05/0.4515, allocations: 20.73 kB / 0.4909 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002801/0.4544, allocations: 2.805 MB / 0.4937 GB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4544, allocations: 0 / 0.4937 GB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002319/0.4567, allocations: 1.698 MB / 0.4953 GB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004562/0.4572, allocations: 263.8 kB / 0.4956 GB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.4573, allocations: 23.94 kB / 0.4956 GB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004945/0.4578, allocations: 96.03 kB / 0.4957 GB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002822/0.4581, allocations: 136.4 kB / 0.4958 GB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/0.4581, allocations: 31.97 kB / 0.4958 GB, free: 2.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008073/0.4589, allocations: 0.6005 MB / 0.4964 GB, free: 1.578 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.459, allocations: 0 / 0.4964 GB, free: 1.578 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001519/0.4605, allocations: 0.58 MB / 0.497 GB, free: 0.9961 MB / 378.7 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: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[1].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002485/0.4607, allocations: 156.3 kB / 0.4971 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003006/0.4638, allocations: 1.976 MB / 0.4991 GB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.4638, allocations: 4 kB / 0.4991 GB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008845/0.4647, allocations: 0.6756 MB / 0.4997 GB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008385/0.4655, allocations: 190.7 kB / 0.4999 GB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004687/0.4702, allocations: 2.93 MB / 0.5028 GB, free: 11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.4712, allocations: 1.393 MB / 0.5041 GB, free: 9.578 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009233/0.4722, allocations: 315.1 kB / 0.5044 GB, free: 9.266 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.4724, allocations: 63.42 kB / 0.5045 GB, free: 9.203 MB / 394.7 MB Notification: Performance of SimCode: time 1.362e-06/0.4724, allocations: 0 / 0.5045 GB, free: 9.203 MB / 394.7 MB Notification: Performance of Templates: time 0.1638/0.6362, allocations: 15.39 MB / 0.5195 GB, free: 110.1 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe 2>&1)