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_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R") Notification: Performance of loadModel(Modelica): time 1.827/1.827, allocations: 194.9 MB / 208.4 MB, free: 3.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.432e-05, allocations: 9.078 kB / 255.4 MB, free: 3.156 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08122/0.08128, allocations: 44.5 MB / 299.9 MB, free: 6.598 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3475/0.4288, allocations: 86.03 MB / 385.9 MB, free: 20.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.4291, allocations: 82.11 kB / 386 MB, free: 20.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1267/0.5559, allocations: 35.45 MB / 421.4 MB, free: 9.738 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.109e-06/0.5559, allocations: 0 / 421.4 MB, free: 9.738 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001755/0.5561, allocations: 50.81 kB / 421.5 MB, free: 9.727 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.005352/0.5615, allocations: 1.967 MB / 423.4 MB, free: 8.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.5615, allocations: 7.875 kB / 423.4 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008666/0.5624, allocations: 230.3 kB / 423.7 MB, free: 8.383 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006193/0.5686, allocations: 1.948 MB / 425.6 MB, free: 7.547 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.5688, allocations: 132.6 kB / 425.7 MB, free: 7.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005612/0.5694, allocations: 172.7 kB / 425.9 MB, free: 7.531 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005672/0.5751, allocations: 2.327 MB / 428.2 MB, free: 6.922 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.549e-05/0.5752, allocations: 0 / 428.2 MB, free: 6.922 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000249/0.5755, allocations: 69.81 kB / 428.3 MB, free: 6.922 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-05/0.5756, allocations: 73.09 kB / 428.4 MB, free: 6.914 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004806/0.5804, allocations: 1.946 MB / 430.3 MB, free: 6.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01488/0.5953, allocations: 7.179 MB / 437.5 MB, free: 2.801 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/0.5985, allocations: 1.61 MB / 439.1 MB, free: 1.184 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.6001, allocations: 0.8887 MB / 440 MB, free: 296 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.912e-05/0.6002, allocations: 20.97 kB / 440 MB, free: 276 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001752/0.602, allocations: 0.8208 MB / 440.8 MB, free: 15.42 MB / 330.7 MB Notification: Performance of pre-optimization done (n=111): time 5.35e-06/0.602, allocations: 4 kB / 440.8 MB, free: 15.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.003562/0.6056, allocations: 1.477 MB / 442.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.6058, allocations: 127.8 kB / 442.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/0.6083, allocations: 1.092 MB / 443.5 MB, free: 12.67 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002839/0.6086, allocations: 69.67 kB / 443.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009174/0.6095, allocations: 0.7359 MB / 444.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005393/0.6101, allocations: 331.4 kB / 444.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.6102, allocations: 24 kB / 444.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.6104, allocations: 362.8 kB / 445 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.6118, allocations: 0.5843 MB / 445.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.6134, allocations: 0.7874 MB / 446.4 MB, free: 9.688 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.6148, allocations: 0.6021 MB / 447 MB, free: 9.086 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.098e-06/0.6149, allocations: 0 / 447 MB, free: 9.086 MB / 330.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003923/0.6188, allocations: 1.63 MB / 448.7 MB, free: 7.449 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001166/0.62, allocations: 1.924 MB / 450.6 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.6201, allocations: 4 kB / 450.6 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.6216, allocations: 431.1 kB / 451 MB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.6226, allocations: 171.7 kB / 451.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008304/0.631, allocations: 4.379 MB / 455.5 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.6325, allocations: 179.2 kB / 455.7 MB, free: 92 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.6326, allocations: 36 kB / 455.8 MB, free: 56 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.6327, allocations: 4 kB / 455.8 MB, free: 52 kB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003565/0.6362, allocations: 1.574 MB / 457.3 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.6363, allocations: 4.625 kB / 457.3 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.6375, allocations: 428.5 kB / 457.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009346/0.6385, allocations: 159.7 kB / 457.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008188/0.6467, allocations: 4.416 MB / 462.3 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.6477, allocations: 151.3 kB / 462.5 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.6479, allocations: 44 kB / 462.5 MB, free: 9.141 MB / 346.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,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,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 (117): * Single equations (assignments): 116 * 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.0004624/0.6484, allocations: 208.9 kB / 462.7 MB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004345/0.6488, allocations: 138.3 kB / 462.9 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004984/0.6494, allocations: 168.7 kB / 463 MB, free: 8.625 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.6494, allocations: 12 kB / 463 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.445e-06/0.6494, allocations: 0 / 463 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.6494, allocations: 7.969 kB / 463 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008733/0.6582, allocations: 3.551 MB / 466.6 MB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.975e-06/0.6582, allocations: 4 kB / 466.6 MB, free: 5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007644/0.659, allocations: 103.9 kB / 466.7 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00134/0.6604, allocations: 408.9 kB / 467.1 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001834/0.6606, allocations: 27.98 kB / 467.1 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007783/0.6684, allocations: 4.145 MB / 471.3 MB, free: 192 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.773e-06/0.6684, allocations: 3.984 kB / 471.3 MB, free: 188 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005527/0.674, allocations: 2.451 MB / 473.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.6751, allocations: 367.2 kB / 474.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/0.6754, allocations: 35.92 kB / 474.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009897/0.6764, allocations: 111.9 kB / 474.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006689/0.6771, allocations: 224.6 kB / 474.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.6772, allocations: 28.11 kB / 474.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001764/0.679, allocations: 0.8443 MB / 475.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.84e-07/0.679, allocations: 0 / 475.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003109/0.6821, allocations: 0.8213 MB / 476.1 MB, free: 11.26 MB / 362.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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 74 * 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.0004155/0.6826, allocations: 176.4 kB / 476.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006253/0.6888, allocations: 2.736 MB / 479.1 MB, free: 8.316 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/0.6889, allocations: 0.7812 kB / 479.1 MB, free: 8.316 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002294/0.6912, allocations: 0.9882 MB / 480 MB, free: 7.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.6932, allocations: 292.2 kB / 480.3 MB, free: 7.035 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009129/0.7023, allocations: 3.114 MB / 483.4 MB, free: 3.879 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002194/0.7046, allocations: 1.708 MB / 485.1 MB, free: 2.141 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005333/0.7051, allocations: 87.42 kB / 485.2 MB, free: 2.059 MB / 362.7 MB Notification: Performance of SimCode: time 2.136e-06/0.7052, allocations: 0 / 485.2 MB, free: 2.059 MB / 362.7 MB Notification: Performance of Templates: time 0.05746/0.7626, allocations: 30.78 MB / 0.5039 GB, free: 3.254 MB / 394.7 MB