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.001124/0.001124, 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.391/1.391, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001615/0.001615, allocations: 112.8 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.831e-05/2.833e-05, allocations: 4 kB / 305 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07141/0.07146, allocations: 44.5 MB / 349.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3726/0.4441, allocations: 85.08 MB / 434.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.4445, allocations: 84.23 kB / 434.6 MB, free: 8.406 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09367/0.5382, allocations: 28.21 MB / 462.8 MB, free: 2.527 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5382, allocations: 3.938 kB / 462.8 MB, free: 2.523 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001529/0.5384, allocations: 28 kB / 462.9 MB, free: 2.496 MB / 314.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.004795/0.5432, allocations: 1.522 MB / 464.4 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.5433, allocations: 12.03 kB / 464.4 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006845/0.5439, allocations: 158.1 kB / 464.6 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004766/0.5487, allocations: 1.628 MB / 466.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.5489, allocations: 106.2 kB / 466.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003785/0.5493, allocations: 131.8 kB / 466.4 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003452/0.5527, allocations: 1.667 MB / 468.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.599e-05/0.5528, allocations: 4 kB / 468.1 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.553, allocations: 56.67 kB / 468.1 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.731e-05/0.5531, allocations: 53.64 kB / 468.2 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.5554, allocations: 1.32 MB / 469.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009294/0.5647, allocations: 4.954 MB / 474.5 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.5666, allocations: 1.049 MB / 475.5 MB, free: 8.238 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009399/0.5676, allocations: 0.558 MB / 476.1 MB, free: 7.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.092e-05/0.5677, allocations: 8.781 kB / 476.1 MB, free: 7.672 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009031/0.5686, allocations: 0.5878 MB / 476.7 MB, free: 7.062 MB / 330.7 MB Notification: Performance of pre-optimization done (n=81): time 2.986e-06/0.5686, allocations: 4 kB / 476.7 MB, free: 7.059 MB / 330.7 MB Notification: Performance of matching and sorting (n=81): time 0.001843/0.5704, allocations: 0.9893 MB / 477.7 MB, free: 6.059 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.996e-05/0.5706, allocations: 149.3 kB / 477.8 MB, free: 5.883 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.572, allocations: 0.7615 MB / 478.6 MB, free: 5.113 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.5721, allocations: 57.69 kB / 478.6 MB, free: 5.051 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005824/0.5727, allocations: 0.5811 MB / 479.2 MB, free: 4.461 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.573, allocations: 240.8 kB / 479.4 MB, free: 4.223 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.573, allocations: 23.94 kB / 479.5 MB, free: 4.199 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.5732, allocations: 341.9 kB / 479.8 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/0.5738, allocations: 409.8 kB / 480.2 MB, free: 3.457 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007605/0.5746, allocations: 0.63 MB / 480.8 MB, free: 2.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007094/0.5753, allocations: 433.8 kB / 481.3 MB, free: 2.305 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.5753, allocations: 4 kB / 481.3 MB, free: 2.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001844/0.5772, allocations: 1.203 MB / 482.5 MB, free: 1.086 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009839/0.5781, allocations: 2.531 MB / 485 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.5782, allocations: 4 kB / 485 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005327/0.5787, allocations: 224.7 kB / 485.2 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005416/0.5793, allocations: 147.7 kB / 485.4 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003117/0.5824, allocations: 2.772 MB / 488.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008306/0.5832, allocations: 151.3 kB / 488.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-05/0.5833, allocations: 32 kB / 488.3 MB, free: 10.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.5833, allocations: 4 kB / 488.3 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001595/0.5849, allocations: 1.092 MB / 489.4 MB, free: 9.801 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.585, allocations: 8.844 kB / 489.4 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004502/0.5854, allocations: 236.9 kB / 489.6 MB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/0.5859, allocations: 139.8 kB / 489.8 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002999/0.5889, allocations: 2.765 MB / 492.5 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007693/0.5897, allocations: 143.3 kB / 492.7 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-05/0.5898, allocations: 40 kB / 492.7 MB, free: 6.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 () * 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.0002616/0.5901, allocations: 196.8 kB / 492.9 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.5903, allocations: 94.83 kB / 493 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.5906, allocations: 113 kB / 493.1 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.5906, allocations: 8 kB / 493.1 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5906, allocations: 192 / 493.1 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.5906, allocations: 3.984 kB / 493.1 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004115/0.5947, allocations: 2.537 MB / 495.7 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.5948, allocations: 4 kB / 495.7 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/0.5951, allocations: 75.89 kB / 495.7 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004174/0.5956, allocations: 208.8 kB / 495.9 MB, free: 3.031 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.113e-05/0.5956, allocations: 15.98 kB / 496 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003011/0.5986, allocations: 2.724 MB / 498.7 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5987, allocations: 0 / 498.7 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/0.601, allocations: 1.641 MB / 0.4886 GB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000494/0.6015, allocations: 263.8 kB / 0.4889 GB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.6017, allocations: 23.98 kB / 0.4889 GB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005833/0.6023, allocations: 91.91 kB / 0.489 GB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003022/0.6026, allocations: 148.5 kB / 0.4891 GB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.497e-05/0.6026, allocations: 27.98 kB / 0.4891 GB, free: 13.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008721/0.6035, allocations: 0.5733 MB / 0.4897 GB, free: 13.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6035, allocations: 0 / 0.4897 GB, free: 13.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001741/0.6053, allocations: 0.58 MB / 0.4903 GB, free: 12.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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[3].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[1].off) * 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.0002573/0.6055, allocations: 160.5 kB / 0.4904 GB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002942/0.6085, allocations: 1.893 MB / 0.4923 GB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.6085, allocations: 5.688 kB / 0.4923 GB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009709/0.6095, allocations: 0.6942 MB / 0.4929 GB, free: 9.949 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009228/0.6104, allocations: 191.7 kB / 0.4931 GB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004231/0.6147, allocations: 1.965 MB / 0.495 GB, free: 7.766 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/0.6161, allocations: 1.402 MB / 0.4964 GB, free: 6.336 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00143/0.6175, allocations: 422.9 kB / 0.4968 GB, free: 5.918 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.6177, allocations: 51.44 kB / 0.4969 GB, free: 5.867 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6177, allocations: 0 / 0.4969 GB, free: 5.867 MB / 362.7 MB Notification: Performance of Templates: time 0.02897/0.6467, allocations: 16.64 MB / 0.5131 GB, free: 5.199 MB / 378.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)