Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_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.pre_n.1..u|rectifier.pre_n.2..u|rectifier.pre_n.3..u|rectifier.pre_p.1..u|rectifier.pre_p.2..u|rectifier.pre_p.3..u|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.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV") Notification: Performance of loadModel(Modelica): time 1.738/1.738, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.944e-05/3.96e-05, allocations: 4 kB / 255.4 MB, free: 2.668 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 44.5 MB / 299.9 MB, free: 6.098 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3436/0.4512, allocations: 87.35 MB / 387.3 MB, free: 20.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.4515, allocations: 88.22 kB / 387.3 MB, free: 20.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1225/0.574, allocations: 36.09 MB / 423.4 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.419e-06/0.5741, allocations: 4 kB / 423.4 MB, free: 8.488 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002317/0.5743, allocations: 50.28 kB / 423.5 MB, free: 8.477 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.007457/0.5818, allocations: 1.966 MB / 425.4 MB, free: 7.246 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.5819, allocations: 15.61 kB / 425.5 MB, free: 7.242 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.5829, allocations: 224.5 kB / 425.7 MB, free: 7.129 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007578/0.5905, allocations: 2.056 MB / 427.7 MB, free: 6.254 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.5907, allocations: 148.6 kB / 427.9 MB, free: 6.242 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004233/0.5912, allocations: 173.6 kB / 428.1 MB, free: 6.238 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004655/0.5958, allocations: 2.34 MB / 430.4 MB, free: 5.629 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.319e-05/0.5959, allocations: 0 / 430.4 MB, free: 5.629 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/0.5962, allocations: 77.17 kB / 430.5 MB, free: 5.621 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.84e-05/0.5963, allocations: 77.52 kB / 430.5 MB, free: 5.613 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003922/0.6002, allocations: 1.885 MB / 432.4 MB, free: 5.402 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/0.6127, allocations: 6.833 MB / 439.3 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003463/0.6162, allocations: 1.68 MB / 440.9 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002003/0.6182, allocations: 0.9586 MB / 441.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.948e-05/0.6184, allocations: 17 kB / 441.9 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001791/0.6202, allocations: 0.8586 MB / 442.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=123): time 4.842e-06/0.6202, allocations: 0 / 442.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=123): time 0.003974/0.6242, allocations: 1.657 MB / 444.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/0.6243, allocations: 153.5 kB / 444.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002216/0.6266, allocations: 1.039 MB / 445.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002096/0.6268, allocations: 81.67 kB / 445.7 MB, free: 10.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009544/0.6278, allocations: 0.7648 MB / 446.5 MB, free: 9.383 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004854/0.6283, allocations: 363 kB / 446.8 MB, free: 9.023 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.6284, allocations: 24 kB / 446.8 MB, free: 9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002328/0.6286, allocations: 361.9 kB / 447.2 MB, free: 8.641 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.6301, allocations: 0.6442 MB / 447.8 MB, free: 7.996 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/0.6318, allocations: 0.9098 MB / 448.8 MB, free: 6.996 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.6332, allocations: 0.688 MB / 449.4 MB, free: 6.309 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.642e-06/0.6333, allocations: 0 / 449.4 MB, free: 6.309 MB / 330.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.004258/0.6375, allocations: 1.926 MB / 451.4 MB, free: 4.371 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001378/0.6389, allocations: 2.448 MB / 453.8 MB, free: 1.734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.639, allocations: 12 kB / 453.8 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/0.6406, allocations: 493.2 kB / 454.3 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000938/0.6415, allocations: 175.7 kB / 454.5 MB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009717/0.6513, allocations: 5.209 MB / 459.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.6528, allocations: 199.1 kB / 459.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.6529, allocations: 44 kB / 459.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.653, allocations: 4 kB / 459.9 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003841/0.6568, allocations: 1.781 MB / 461.7 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.6569, allocations: 8 kB / 461.7 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/0.6584, allocations: 496.9 kB / 462.2 MB, free: 9.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008955/0.6593, allocations: 163.7 kB / 462.4 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009564/0.6689, allocations: 5.213 MB / 467.6 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.6703, allocations: 159.3 kB / 467.7 MB, free: 3.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/0.6704, allocations: 55.97 kB / 467.8 MB, free: 3.465 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 69 ($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,$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,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[3].y,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 (137): * Single equations (assignments): 136 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0004812/0.6709, allocations: 233.3 kB / 468 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003162/0.6713, allocations: 130.4 kB / 468.1 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004659/0.6717, allocations: 172.5 kB / 468.3 MB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.6718, allocations: 12 kB / 468.3 MB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.233e-06/0.6718, allocations: 7.891 kB / 468.3 MB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/0.6718, allocations: 7.969 kB / 468.3 MB, free: 2.895 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007556/0.6794, allocations: 3.556 MB / 471.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.6794, allocations: 7.891 kB / 471.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006382/0.6801, allocations: 103.8 kB / 472 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/0.6815, allocations: 464.7 kB / 472.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.6817, allocations: 27.98 kB / 472.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009487/0.6912, allocations: 5.144 MB / 477.6 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.061e-06/0.6912, allocations: 0 / 477.6 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005357/0.6966, allocations: 2.577 MB / 480.2 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009425/0.6975, allocations: 367.2 kB / 480.6 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003054/0.6979, allocations: 47.97 kB / 480.6 MB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009476/0.6988, allocations: 107.9 kB / 480.7 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006239/0.6995, allocations: 220.7 kB / 480.9 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/0.6996, allocations: 35.98 kB / 481 MB, free: 6.027 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001631/0.7013, allocations: 0.7847 MB / 481.8 MB, free: 5.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.057e-06/0.7013, allocations: 4 kB / 481.8 MB, free: 5.227 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003009/0.7043, allocations: 0.8643 MB / 482.6 MB, free: 4.359 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: 48 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[3].y,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: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003995/0.7047, allocations: 197.5 kB / 482.8 MB, free: 4.156 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006406/0.7111, allocations: 2.983 MB / 485.8 MB, free: 1.156 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.889e-06/0.7112, allocations: 0 / 485.8 MB, free: 1.156 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002194/0.7134, allocations: 1.037 MB / 486.8 MB, free: 108 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.7153, allocations: 316.3 kB / 487.1 MB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006952/0.7222, allocations: 2.836 MB / 490 MB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002087/0.7243, allocations: 1.721 MB / 491.7 MB, free: 11.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002255/0.7266, allocations: 0.6036 MB / 492.3 MB, free: 10.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.7269, allocations: 71.44 kB / 492.4 MB, free: 10.49 MB / 378.7 MB Notification: Performance of SimCode: time 1.814e-06/0.7269, allocations: 3.938 kB / 492.4 MB, free: 10.49 MB / 378.7 MB Notification: Performance of Templates: time 0.3414/1.068, allocations: 28.43 MB / 0.5086 GB, free: 108.9 MB / 394.7 MB