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.905/1.905, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.564e-05/2.577e-05, allocations: 11.88 kB / 249.6 MB, free: 15.26 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2485, allocations: 44.49 MB / 294.1 MB, free: 14.28 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.3792, allocations: 85.37 MB / 379.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.3796, allocations: 83.89 kB / 379.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1333/0.5129, allocations: 35.08 MB / 414.7 MB, free: 9.145 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.416e-06/0.5129, allocations: 0 / 414.7 MB, free: 9.145 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001935/0.5131, allocations: 48 kB / 414.7 MB, free: 9.098 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.006116/0.5193, allocations: 1.969 MB / 416.7 MB, free: 7.066 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.5193, allocations: 12.03 kB / 416.7 MB, free: 7.055 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009549/0.5203, allocations: 217.4 kB / 416.9 MB, free: 6.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006904/0.5272, allocations: 1.949 MB / 418.9 MB, free: 4.832 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.5274, allocations: 63.94 kB / 418.9 MB, free: 4.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005162/0.5279, allocations: 111.9 kB / 419 MB, free: 4.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004996/0.5329, allocations: 1.846 MB / 420.9 MB, free: 2.812 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00614/0.5391, allocations: 2.078 MB / 423 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.424e-05/0.5392, allocations: 0 / 423 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002381/0.5395, allocations: 7.984 kB / 423 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/0.5396, allocations: 75.34 kB / 423 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2255/0.7651, allocations: 6.827 MB / 429.9 MB, free: 93.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003422/0.7686, allocations: 1.552 MB / 431.4 MB, free: 93.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/0.7703, allocations: 0.8634 MB / 432.3 MB, free: 93.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.736e-05/0.7705, allocations: 14.81 kB / 432.3 MB, free: 93.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001544/0.772, allocations: 0.7952 MB / 433.1 MB, free: 93.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=111): time 5.888e-06/0.772, allocations: 3.703 kB / 433.1 MB, free: 93.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=111): time 0.003039/0.7751, allocations: 1.407 MB / 434.5 MB, free: 93.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.7752, allocations: 124.7 kB / 434.6 MB, free: 93.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.777, allocations: 0.9638 MB / 435.6 MB, free: 93.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002596/0.7773, allocations: 42.69 kB / 435.6 MB, free: 93.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000703/0.778, allocations: 0.7538 MB / 436.4 MB, free: 92.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004116/0.7785, allocations: 313.8 kB / 436.7 MB, free: 92.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.237e-05/0.7786, allocations: 3 kB / 436.7 MB, free: 92.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.7787, allocations: 356.6 kB / 437 MB, free: 92.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.7797, allocations: 0.5632 MB / 437.6 MB, free: 92.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.7809, allocations: 0.7569 MB / 438.4 MB, free: 91.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.782, allocations: 0.58 MB / 438.9 MB, free: 91.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.782, allocations: 0 / 438.9 MB, free: 91.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002979/0.785, allocations: 1.538 MB / 440.5 MB, free: 91.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000397/0.7855, allocations: 1.919 MB / 442.4 MB, free: 89.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.7855, allocations: 6.812 kB / 442.4 MB, free: 89.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.7868, allocations: 425.5 kB / 442.8 MB, free: 88.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009335/0.7877, allocations: 173.1 kB / 443 MB, free: 88.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006734/0.7945, allocations: 4.281 MB / 447.3 MB, free: 86.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.7959, allocations: 155.3 kB / 447.4 MB, free: 86.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.7961, allocations: 37.97 kB / 447.5 MB, free: 86.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.7961, allocations: 12.27 kB / 447.5 MB, free: 86.39 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00282/0.7989, allocations: 1.452 MB / 448.9 MB, free: 85.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.799, allocations: 6.719 kB / 448.9 MB, free: 85.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.8, allocations: 417.2 kB / 449.3 MB, free: 85.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007986/0.8008, allocations: 162.1 kB / 449.5 MB, free: 85.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006233/0.8071, allocations: 4.318 MB / 453.8 MB, free: 83.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008897/0.808, allocations: 134.9 kB / 453.9 MB, free: 83.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.8082, allocations: 44.89 kB / 454 MB, free: 83.16 MB / 362.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.0003801/0.8086, allocations: 184.2 kB / 454.2 MB, free: 83.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000362/0.809, allocations: 124.8 kB / 454.3 MB, free: 82.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004032/0.8094, allocations: 144.7 kB / 454.4 MB, free: 82.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.8094, allocations: 9.219 kB / 454.4 MB, free: 82.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.56e-06/0.8094, allocations: 1.781 kB / 454.4 MB, free: 82.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.8094, allocations: 6.75 kB / 454.4 MB, free: 82.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006751/0.8162, allocations: 3.227 MB / 457.7 MB, free: 81.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.8163, allocations: 3.562 kB / 457.7 MB, free: 81.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00074/0.817, allocations: 112.6 kB / 457.8 MB, free: 81.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/0.8183, allocations: 402 kB / 458.2 MB, free: 81.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000157/0.8184, allocations: 7.312 kB / 458.2 MB, free: 81.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006064/0.8245, allocations: 4.016 MB / 462.2 MB, free: 79.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.025e-06/0.8246, allocations: 0 / 462.2 MB, free: 79.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00406/0.8286, allocations: 2.372 MB / 464.6 MB, free: 78.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007572/0.8294, allocations: 347.9 kB / 464.9 MB, free: 77.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000239/0.8297, allocations: 22.64 kB / 464.9 MB, free: 77.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008679/0.8306, allocations: 93.12 kB / 465 MB, free: 77.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005706/0.8312, allocations: 221.2 kB / 465.2 MB, free: 77.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.8313, allocations: 35 kB / 465.3 MB, free: 77.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001252/0.8326, allocations: 0.725 MB / 466 MB, free: 77.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.305e-06/0.8326, allocations: 0 / 466 MB, free: 77.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002759/0.8354, allocations: 0.7609 MB / 466.8 MB, free: 76.84 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.0003421/0.8357, allocations: 157.6 kB / 466.9 MB, free: 76.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004787/0.8405, allocations: 2.616 MB / 469.5 MB, free: 74.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/0.8406, allocations: 2.031 kB / 469.5 MB, free: 74.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001685/0.8423, allocations: 0.944 MB / 470.5 MB, free: 73.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.8439, allocations: 251.5 kB / 470.7 MB, free: 73.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007573/0.8515, allocations: 3 MB / 473.7 MB, free: 70.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001489/0.853, allocations: 1.712 MB / 475.4 MB, free: 69.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004704/0.8535, allocations: 79.42 kB / 475.5 MB, free: 69.19 MB / 362.7 MB Notification: Performance of SimCode: time 1.795e-06/0.8535, allocations: 0 / 475.5 MB, free: 69.19 MB / 362.7 MB Notification: Performance of Templates: time 0.04076/0.8943, allocations: 30.1 MB / 0.4938 GB, free: 40.79 MB / 362.7 MB