Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|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_RLV") Notification: Performance of loadModel(Modelica): time 1.86/1.86, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.074e-05/3.094e-05, allocations: 3.094 kB / 255.4 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08169/0.08174, allocations: 44.5 MB / 299.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3409/0.4227, allocations: 86.58 MB / 386.4 MB, free: 20.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.423, allocations: 90.95 kB / 386.5 MB, free: 20.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1249/0.548, allocations: 36.05 MB / 422.6 MB, free: 9.023 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.417e-06/0.548, allocations: 3.875 kB / 422.6 MB, free: 9.023 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001639/0.5482, allocations: 58.95 kB / 422.6 MB, free: 9.004 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: 446 * Number of variables: 446 Notification: Performance of Generate backend data structure: time 0.005433/0.5536, allocations: 1.992 MB / 424.6 MB, free: 7.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.5537, allocations: 11.72 kB / 424.6 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009327/0.5546, allocations: 224.6 kB / 424.9 MB, free: 7.656 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006257/0.5609, allocations: 1.975 MB / 426.8 MB, free: 6.801 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.5611, allocations: 142.9 kB / 427 MB, free: 6.789 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000597/0.5617, allocations: 169.7 kB / 427.1 MB, free: 6.789 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005616/0.5674, allocations: 2.358 MB / 429.5 MB, free: 6.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-05/0.5675, allocations: 7.922 kB / 429.5 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002538/0.5677, allocations: 72.03 kB / 429.6 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.745e-05/0.5679, allocations: 76.72 kB / 429.7 MB, free: 6.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005033/0.5729, allocations: 1.966 MB / 431.6 MB, free: 5.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01577/0.5887, allocations: 7.313 MB / 438.9 MB, free: 1.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003544/0.5923, allocations: 1.63 MB / 440.6 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/0.5944, allocations: 0.9176 MB / 441.5 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.367e-05/0.5945, allocations: 13 kB / 441.5 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001859/0.5964, allocations: 0.8247 MB / 442.3 MB, free: 13.99 MB / 330.7 MB Notification: Performance of pre-optimization done (n=114): time 5.691e-06/0.5964, allocations: 0 / 442.3 MB, free: 13.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.003723/0.6002, allocations: 1.501 MB / 443.8 MB, free: 12.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.6003, allocations: 123.8 kB / 443.9 MB, free: 12.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00273/0.6031, allocations: 1.114 MB / 445.1 MB, free: 11.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003087/0.6034, allocations: 65.69 kB / 445.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009826/0.6044, allocations: 0.7555 MB / 445.9 MB, free: 10.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006243/0.6051, allocations: 331.4 kB / 446.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.6052, allocations: 27.94 kB / 446.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002395/0.6055, allocations: 366.8 kB / 446.6 MB, free: 9.648 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.6069, allocations: 0.5999 MB / 447.2 MB, free: 9.047 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/0.6086, allocations: 0.7914 MB / 448 MB, free: 8.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.6101, allocations: 0.606 MB / 448.6 MB, free: 7.574 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.992e-06/0.6102, allocations: 0 / 448.6 MB, free: 7.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.004096/0.6143, allocations: 1.658 MB / 450.2 MB, free: 5.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001135/0.6155, allocations: 1.92 MB / 452.2 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-05/0.6155, allocations: 8 kB / 452.2 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/0.6171, allocations: 426 kB / 452.6 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.6183, allocations: 171.7 kB / 452.7 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008479/0.6268, allocations: 4.389 MB / 457.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.6284, allocations: 175.3 kB / 457.3 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/0.6286, allocations: 51.97 kB / 457.4 MB, free: 14.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.6286, allocations: 4 kB / 457.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003641/0.6323, allocations: 1.589 MB / 459 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/0.6323, allocations: 7.953 kB / 459 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.6336, allocations: 417.9 kB / 459.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.6347, allocations: 179.7 kB / 459.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008278/0.643, allocations: 4.45 MB / 464 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.6442, allocations: 163.2 kB / 464.2 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.6444, allocations: 40 kB / 464.2 MB, free: 7.516 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 (122): * Single equations (assignments): 121 * 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 21} Notification: Performance of prepare postOptimizeDAE: time 0.0005025/0.6449, allocations: 220.8 kB / 464.4 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004339/0.6454, allocations: 134.4 kB / 464.5 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005149/0.6459, allocations: 165 kB / 464.7 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.6459, allocations: 15.98 kB / 464.7 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.408e-06/0.6459, allocations: 0 / 464.7 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.646, allocations: 7.969 kB / 464.7 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009272/0.6552, allocations: 3.59 MB / 468.3 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.792e-06/0.6553, allocations: 0 / 468.3 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000841/0.6561, allocations: 123.8 kB / 468.4 MB, free: 3.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/0.6574, allocations: 393 kB / 468.8 MB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002056/0.6577, allocations: 23.98 kB / 468.8 MB, free: 2.789 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008502/0.6662, allocations: 4.315 MB / 473.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.07e-06/0.6663, allocations: 0 / 473.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005774/0.6721, allocations: 2.486 MB / 475.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/0.6733, allocations: 367.2 kB / 476 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004411/0.6738, allocations: 31.98 kB / 476 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/0.6751, allocations: 115.8 kB / 476.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000758/0.6759, allocations: 228.6 kB / 476.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.6761, allocations: 31.98 kB / 476.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002097/0.6782, allocations: 0.8528 MB / 477.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.537e-06/0.6783, allocations: 0 / 477.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003836/0.6821, allocations: 0.829 MB / 478.1 MB, free: 9.367 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 78 * 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 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005436/0.6827, allocations: 192.5 kB / 478.3 MB, free: 9.168 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006759/0.6895, allocations: 2.74 MB / 481 MB, free: 6.398 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/0.6895, allocations: 4.906 kB / 481 MB, free: 6.395 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002365/0.6919, allocations: 0.9755 MB / 482 MB, free: 5.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.6939, allocations: 288.8 kB / 482.3 MB, free: 5.125 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008481/0.7024, allocations: 2.878 MB / 485.1 MB, free: 2.207 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002429/0.7049, allocations: 1.712 MB / 486.9 MB, free: 472 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005413/0.7055, allocations: 91.42 kB / 487 MB, free: 380 kB / 362.7 MB Notification: Performance of SimCode: time 2.359e-06/0.7055, allocations: 0 / 487 MB, free: 380 kB / 362.7 MB Notification: Performance of Templates: time 0.05907/0.7646, allocations: 31.11 MB / 0.5059 GB, free: 1.234 MB / 394.7 MB