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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R") Notification: Performance of loadModel(Modelica): time 1.843/1.843, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.119e-05/4.134e-05, allocations: 4 kB / 255.4 MB, free: 2.668 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 44.49 MB / 299.9 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3419/0.4526, allocations: 86.04 MB / 385.9 MB, free: 20.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.4529, allocations: 86.14 kB / 386 MB, free: 20.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1207/0.5736, allocations: 35.45 MB / 421.5 MB, free: 9.367 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.762e-06/0.5737, allocations: 0 / 421.5 MB, free: 9.367 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001383/0.5738, allocations: 51 kB / 421.5 MB, free: 9.355 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.004436/0.5783, allocations: 1.966 MB / 423.5 MB, free: 8.133 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.5784, allocations: 7.75 kB / 423.5 MB, free: 8.133 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005966/0.579, allocations: 221.7 kB / 423.7 MB, free: 8.023 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006039/0.585, allocations: 1.953 MB / 425.7 MB, free: 7.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.5852, allocations: 130.2 kB / 425.8 MB, free: 7.176 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004839/0.5857, allocations: 176 kB / 426 MB, free: 7.168 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004834/0.5906, allocations: 2.302 MB / 428.3 MB, free: 6.566 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.192e-05/0.5906, allocations: 3.656 kB / 428.3 MB, free: 6.566 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002299/0.5909, allocations: 67.81 kB / 428.3 MB, free: 6.566 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.304e-05/0.591, allocations: 71.94 kB / 428.4 MB, free: 6.559 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004069/0.5951, allocations: 1.923 MB / 430.3 MB, free: 6.332 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01327/0.6084, allocations: 7.185 MB / 437.5 MB, free: 2.383 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/0.6113, allocations: 1.598 MB / 439.1 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/0.6129, allocations: 0.8965 MB / 440 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.022e-05/0.613, allocations: 12.91 kB / 440 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001701/0.6148, allocations: 0.8188 MB / 440.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=111): time 5.183e-06/0.6148, allocations: 3.938 kB / 440.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.003408/0.6182, allocations: 1.474 MB / 442.3 MB, free: 13.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.6183, allocations: 127.8 kB / 442.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/0.6207, allocations: 1.095 MB / 443.5 MB, free: 12.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002158/0.621, allocations: 69.62 kB / 443.6 MB, free: 12.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009989/0.622, allocations: 0.7574 MB / 444.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004824/0.6225, allocations: 331.5 kB / 444.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.751e-05/0.6226, allocations: 20 kB / 444.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.6228, allocations: 361.9 kB / 445.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.6241, allocations: 0.5804 MB / 445.6 MB, free: 10.13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/0.6256, allocations: 0.7881 MB / 446.4 MB, free: 9.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.6269, allocations: 0.5943 MB / 447 MB, free: 8.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.6269, allocations: 7.938 kB / 447 MB, free: 8.672 MB / 330.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003826/0.6308, allocations: 1.696 MB / 448.7 MB, free: 6.961 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001087/0.6319, allocations: 1.931 MB / 450.7 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.6319, allocations: 12 kB / 450.7 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.6333, allocations: 427.1 kB / 451.1 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.6344, allocations: 167.7 kB / 451.2 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007913/0.6423, allocations: 4.382 MB / 455.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.6437, allocations: 175.2 kB / 455.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.6439, allocations: 43.98 kB / 455.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.6439, allocations: 4 kB / 455.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003448/0.6474, allocations: 1.559 MB / 457.4 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.6474, allocations: 4 kB / 457.4 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/0.6488, allocations: 432.5 kB / 457.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009446/0.6497, allocations: 159.7 kB / 458 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007892/0.6576, allocations: 4.361 MB / 462.3 MB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.659, allocations: 163.2 kB / 462.5 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/0.6592, allocations: 44 kB / 462.6 MB, free: 8.711 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.0004486/0.6597, allocations: 215.7 kB / 462.8 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003271/0.66, allocations: 130.5 kB / 462.9 MB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004681/0.6605, allocations: 172.7 kB / 463.1 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.6605, allocations: 8 kB / 463.1 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.358e-06/0.6605, allocations: 0 / 463.1 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.6605, allocations: 3.984 kB / 463.1 MB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007953/0.6685, allocations: 3.551 MB / 466.6 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.88e-06/0.6686, allocations: 0 / 466.6 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007007/0.6693, allocations: 111.8 kB / 466.7 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001276/0.6706, allocations: 400.8 kB / 467.1 MB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.6707, allocations: 27.98 kB / 467.1 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007531/0.6783, allocations: 4.144 MB / 471.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.211e-06/0.6783, allocations: 0 / 471.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005214/0.6835, allocations: 2.455 MB / 473.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009989/0.6846, allocations: 363.2 kB / 474.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002805/0.6849, allocations: 31.98 kB / 474.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009523/0.6858, allocations: 115.8 kB / 474.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000639/0.6865, allocations: 224.6 kB / 474.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.6866, allocations: 31.98 kB / 474.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0018/0.6884, allocations: 0.8404 MB / 475.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.003e-06/0.6885, allocations: 3.938 kB / 475.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00284/0.6913, allocations: 0.8291 MB / 476.2 MB, free: 10.83 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.0003826/0.6917, allocations: 185.9 kB / 476.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005901/0.6976, allocations: 2.719 MB / 479.1 MB, free: 7.906 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.53e-06/0.6977, allocations: 4 kB / 479.1 MB, free: 7.902 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002101/0.6998, allocations: 0.97 MB / 480 MB, free: 6.926 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.7015, allocations: 288.2 kB / 480.3 MB, free: 6.645 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008596/0.7101, allocations: 3.12 MB / 483.4 MB, free: 3.488 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002142/0.7123, allocations: 1.734 MB / 485.2 MB, free: 1.723 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002384/0.7147, allocations: 0.6029 MB / 485.8 MB, free: 1.117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.7151, allocations: 63.42 kB / 485.8 MB, free: 1.055 MB / 362.7 MB Notification: Performance of SimCode: time 1.632e-06/0.7151, allocations: 0 / 485.8 MB, free: 1.055 MB / 362.7 MB Notification: Performance of Templates: time 0.06599/0.7811, allocations: 26.59 MB / 0.5004 GB, free: 6.508 MB / 394.7 MB