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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R") Notification: Performance of loadModel(Modelica): time 2.013/2.013, allocations: 225.8 MB / 239.4 MB, free: 1.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.933e-05, allocations: 4 kB / 292.7 MB, free: 11.47 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09004/0.09009, allocations: 50.41 MB / 343.1 MB, free: 9.062 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4054/0.4955, allocations: 92.76 MB / 435.8 MB, free: 6.074 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.4958, allocations: 83.61 kB / 435.9 MB, free: 6.062 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1362/0.6319, allocations: 38.1 MB / 474 MB, free: 12.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.755e-06/0.632, allocations: 0 / 474 MB, free: 12.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001435/0.6321, allocations: 47.94 kB / 474.1 MB, free: 12.79 MB / 362.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.004624/0.6368, allocations: 2.049 MB / 476.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.6368, allocations: 8.031 kB / 476.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005336/0.6374, allocations: 229.3 kB / 476.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005998/0.6434, allocations: 2.002 MB / 478.4 MB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.6436, allocations: 135.4 kB / 478.5 MB, free: 8.887 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003627/0.6439, allocations: 174.6 kB / 478.7 MB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00486/0.6488, allocations: 2.377 MB / 481 MB, free: 7.137 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.771e-05/0.6489, allocations: 4 kB / 481 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002463/0.6491, allocations: 70.12 kB / 481.1 MB, free: 7.117 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/0.6493, allocations: 82.91 kB / 481.2 MB, free: 7.039 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004446/0.6537, allocations: 1.996 MB / 483.2 MB, free: 5.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01503/0.6688, allocations: 7.392 MB / 490.6 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002863/0.6717, allocations: 1.482 MB / 492.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/0.6736, allocations: 0.9355 MB / 493 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.048e-05/0.6737, allocations: 13 kB / 493 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001747/0.6754, allocations: 0.8634 MB / 493.9 MB, free: 10.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=117): time 5.071e-06/0.6755, allocations: 7.938 kB / 493.9 MB, free: 10.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=117): time 0.003461/0.6789, allocations: 1.548 MB / 495.4 MB, free: 8.781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.6791, allocations: 149.5 kB / 495.6 MB, free: 8.605 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.6814, allocations: 1.129 MB / 496.7 MB, free: 7.461 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002237/0.6816, allocations: 65.67 kB / 496.8 MB, free: 7.391 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000999/0.6827, allocations: 0.7849 MB / 497.6 MB, free: 6.594 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004547/0.6831, allocations: 347.1 kB / 497.9 MB, free: 6.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.6832, allocations: 28 kB / 497.9 MB, free: 6.223 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.6835, allocations: 361.9 kB / 498.3 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.6848, allocations: 0.6077 MB / 498.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.6864, allocations: 0.8286 MB / 499.7 MB, free: 4.352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.6878, allocations: 0.6363 MB / 0.4886 GB, free: 3.719 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.6878, allocations: 4 kB / 0.4886 GB, free: 3.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003892/0.6917, allocations: 1.774 MB / 0.4904 GB, free: 1.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001067/0.6928, allocations: 1.929 MB / 0.4922 GB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.6928, allocations: 8 kB / 0.4923 GB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/0.6942, allocations: 431.3 kB / 0.4927 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009964/0.6952, allocations: 187.6 kB / 0.4928 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007733/0.703, allocations: 4.363 MB / 0.4971 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.7044, allocations: 179.2 kB / 0.4973 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/0.7045, allocations: 47.98 kB / 0.4973 GB, free: 10.53 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.7046, allocations: 7.938 kB / 0.4973 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003504/0.7081, allocations: 1.621 MB / 0.4989 GB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.7081, allocations: 8 kB / 0.4989 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/0.7094, allocations: 440.9 kB / 0.4993 GB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008828/0.7103, allocations: 171.7 kB / 0.4995 GB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007643/0.718, allocations: 4.367 MB / 0.5038 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.7192, allocations: 159.3 kB / 0.5039 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.7194, allocations: 40 kB / 0.504 GB, free: 3.594 MB / 394.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.0004475/0.7199, allocations: 224.8 kB / 0.5042 GB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003052/0.7202, allocations: 134.3 kB / 0.5043 GB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004807/0.7207, allocations: 181 kB / 0.5045 GB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.7207, allocations: 12 kB / 0.5045 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.774e-06/0.7207, allocations: 0 / 0.5045 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.7207, allocations: 3.984 kB / 0.5045 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007924/0.7287, allocations: 3.708 MB / 0.5081 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.125e-06/0.7287, allocations: 0 / 0.5081 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007411/0.7295, allocations: 123.8 kB / 0.5082 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.7307, allocations: 408.3 kB / 0.5086 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.7308, allocations: 23.98 kB / 0.5086 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00729/0.7381, allocations: 4.155 MB / 0.5127 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.7382, allocations: 0 / 0.5127 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005255/0.7434, allocations: 2.583 MB / 0.5152 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009386/0.7444, allocations: 375.2 kB / 0.5156 GB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003238/0.7447, allocations: 35.98 kB / 0.5156 GB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.7458, allocations: 112 kB / 0.5157 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006504/0.7464, allocations: 228.6 kB / 0.5159 GB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/0.7466, allocations: 31.98 kB / 0.516 GB, free: 7.051 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001771/0.7483, allocations: 0.8688 MB / 0.5168 GB, free: 6.172 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.086e-06/0.7484, allocations: 0 / 0.5168 GB, free: 6.172 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002738/0.7511, allocations: 0.8525 MB / 0.5176 GB, free: 5.316 MB / 410.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.0003778/0.7515, allocations: 188.5 kB / 0.5178 GB, free: 5.125 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005902/0.7574, allocations: 2.826 MB / 0.5206 GB, free: 2.277 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.7575, allocations: 0 / 0.5206 GB, free: 2.277 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002101/0.7596, allocations: 1.008 MB / 0.5216 GB, free: 1.266 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.7613, allocations: 300.2 kB / 0.5219 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006984/0.7683, allocations: 2.864 MB / 0.5247 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002182/0.7706, allocations: 1.789 MB / 0.5264 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002495/0.7731, allocations: 0.6384 MB / 0.527 GB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.7734, allocations: 67.44 kB / 0.5271 GB, free: 11.54 MB / 426.7 MB Notification: Performance of SimCode: time 4.355e-06/0.7734, allocations: 0 / 0.5271 GB, free: 11.54 MB / 426.7 MB Notification: Performance of Templates: time 0.06764/0.8411, allocations: 27.3 MB / 0.5537 GB, free: 488 kB / 442.7 MB