Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2m.twomPulse.timerNegative.1..entryTime|pulse2m.twomPulse.timerNegative.2..entryTime|pulse2m.twomPulse.timerNegative.3..entryTime|pulse2m.twomPulse.timerPositive.1..entryTime|pulse2m.twomPulse.timerPositive.2..entryTime|pulse2m.twomPulse.timerPositive.3..entryTime|rectifier.thyristor_n.idealThyristor.1..off|rectifier.thyristor_n.idealThyristor.2..off|rectifier.thyristor_n.idealThyristor.3..off|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R") Notification: Performance of loadModel(Modelica): time 1.888/1.888, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.566e-05/2.582e-05, allocations: 4 kB / 292.2 MB, free: 8.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09473/0.09478, allocations: 50.41 MB / 342.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3723/0.4672, allocations: 93 MB / 435.6 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.4675, allocations: 86.56 kB / 435.7 MB, free: 1.258 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1534/0.6209, allocations: 38.09 MB / 473.8 MB, free: 15.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.697e-06/0.621, allocations: 0 / 473.8 MB, free: 15.35 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001603/0.6212, allocations: 51.92 kB / 473.8 MB, free: 15.3 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.0052/0.6264, allocations: 2.049 MB / 475.9 MB, free: 13.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.6264, allocations: 8.031 kB / 475.9 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006807/0.6271, allocations: 229.3 kB / 476.1 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006752/0.6339, allocations: 2 MB / 478.1 MB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.6341, allocations: 135.4 kB / 478.2 MB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000394/0.6345, allocations: 172 kB / 478.4 MB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006338/0.6409, allocations: 2.379 MB / 480.8 MB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.85e-05/0.641, allocations: 4 kB / 480.8 MB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002695/0.6412, allocations: 79.94 kB / 480.8 MB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/0.6414, allocations: 75.47 kB / 480.9 MB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004963/0.6464, allocations: 1.994 MB / 482.9 MB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01635/0.6627, allocations: 7.396 MB / 490.3 MB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/0.6658, allocations: 1.486 MB / 491.8 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001906/0.6677, allocations: 0.9329 MB / 492.7 MB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.352e-05/0.6678, allocations: 13 kB / 492.7 MB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00178/0.6696, allocations: 0.8597 MB / 493.6 MB, free: 11.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=117): time 4.747e-06/0.6696, allocations: 3.938 kB / 493.6 MB, free: 11.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=117): time 0.003592/0.6732, allocations: 1.555 MB / 495.2 MB, free: 9.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.6733, allocations: 153.5 kB / 495.3 MB, free: 9.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.6757, allocations: 1.125 MB / 496.4 MB, free: 8.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001705/0.6759, allocations: 69.67 kB / 496.5 MB, free: 8.105 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009737/0.6769, allocations: 0.781 MB / 497.3 MB, free: 7.312 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004608/0.6774, allocations: 355.1 kB / 497.6 MB, free: 6.961 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.6775, allocations: 20 kB / 497.7 MB, free: 6.941 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002362/0.6777, allocations: 361.9 kB / 498 MB, free: 6.582 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.6791, allocations: 0.6116 MB / 498.6 MB, free: 5.973 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.6807, allocations: 0.8247 MB / 499.4 MB, free: 5.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.6821, allocations: 0.6374 MB / 0.4884 GB, free: 4.434 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.86e-06/0.6821, allocations: 0 / 0.4884 GB, free: 4.434 MB / 410.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003976/0.6861, allocations: 1.77 MB / 0.4901 GB, free: 2.652 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001067/0.6872, allocations: 1.927 MB / 0.492 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.6872, allocations: 8 kB / 0.492 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/0.6886, allocations: 434.6 kB / 0.4924 GB, free: 164 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.6896, allocations: 187.7 kB / 0.4926 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00788/0.6975, allocations: 4.367 MB / 0.4968 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.699, allocations: 183.2 kB / 0.497 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.6992, allocations: 47.98 kB / 0.4971 GB, free: 11.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.6992, allocations: 4 kB / 0.4971 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003572/0.7028, allocations: 1.629 MB / 0.4986 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.7028, allocations: 4 kB / 0.4987 GB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.7041, allocations: 424.9 kB / 0.4991 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009058/0.7051, allocations: 175.7 kB / 0.4992 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007796/0.7129, allocations: 4.372 MB / 0.5035 GB, free: 4.512 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.7143, allocations: 167.3 kB / 0.5037 GB, free: 4.348 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.7144, allocations: 36 kB / 0.5037 GB, free: 4.312 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0004544/0.7149, allocations: 228.6 kB / 0.5039 GB, free: 4.082 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003085/0.7152, allocations: 138.3 kB / 0.504 GB, free: 3.945 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004791/0.7157, allocations: 181 kB / 0.5042 GB, free: 3.762 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.7158, allocations: 8 kB / 0.5042 GB, free: 3.754 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.181e-06/0.7158, allocations: 4 kB / 0.5042 GB, free: 3.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.7158, allocations: 3.984 kB / 0.5042 GB, free: 3.746 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008096/0.7239, allocations: 3.704 MB / 0.5078 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.724, allocations: 11.92 kB / 0.5079 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007874/0.7248, allocations: 111.8 kB / 0.508 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/0.7261, allocations: 416.5 kB / 0.5084 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.7262, allocations: 19.98 kB / 0.5084 GB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007583/0.7338, allocations: 4.155 MB / 0.5124 GB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.019e-06/0.7338, allocations: 0 / 0.5124 GB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005469/0.7393, allocations: 2.576 MB / 0.515 GB, free: 8.555 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.7404, allocations: 383.2 kB / 0.5153 GB, free: 8.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/0.7407, allocations: 28 kB / 0.5153 GB, free: 8.133 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.7418, allocations: 111.9 kB / 0.5155 GB, free: 8.023 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006777/0.7425, allocations: 224.6 kB / 0.5157 GB, free: 7.805 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/0.7426, allocations: 35.98 kB / 0.5157 GB, free: 7.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00186/0.7445, allocations: 0.8688 MB / 0.5165 GB, free: 6.891 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.7445, allocations: 0 / 0.5165 GB, free: 6.891 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002979/0.7475, allocations: 0.8525 MB / 0.5174 GB, free: 6.035 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].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.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.000437/0.7479, allocations: 192.5 kB / 0.5176 GB, free: 5.836 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006311/0.7543, allocations: 2.822 MB / 0.5203 GB, free: 2.992 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.7543, allocations: 4 kB / 0.5203 GB, free: 2.988 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002218/0.7566, allocations: 1.012 MB / 0.5213 GB, free: 1.973 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.7585, allocations: 296.4 kB / 0.5216 GB, free: 1.684 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2378/0.9963, allocations: 2.864 MB / 0.5244 GB, free: 128.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002157/0.9985, allocations: 1.776 MB / 0.5261 GB, free: 127.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002515/1.001, allocations: 0.6422 MB / 0.5268 GB, free: 127.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/1.001, allocations: 69.91 kB / 0.5268 GB, free: 127.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.841e-06/1.001, allocations: 3.781 kB / 0.5268 GB, free: 127.4 MB / 442.7 MB Notification: Performance of Templates: time 0.06125/1.063, allocations: 27.28 MB / 0.5535 GB, free: 126.5 MB / 442.7 MB