Running command: translateModel(ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_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.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="ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_R") Notification: Performance of loadModel(ModelicaTest): time 2.513/2.513, allocations: 270.1 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.728e-05/3.738e-05, allocations: 2.109 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1308, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4293/0.5601, allocations: 103.1 MB / 0.5013 GB, free: 1.016 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.5604, allocations: 75.97 kB / 0.5014 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1625/0.7229, allocations: 41.13 MB / 0.5416 GB, free: 7.516 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.281e-06/0.723, allocations: 3.938 kB / 0.5416 GB, free: 7.512 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002043/0.7232, allocations: 59.92 kB / 0.5416 GB, free: 7.453 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 497 * Number of variables: 497 Notification: Performance of Generate backend data structure: time 0.006667/0.7299, allocations: 2.185 MB / 0.5438 GB, free: 5.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.7299, allocations: 8.031 kB / 0.5438 GB, free: 5.172 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.731, allocations: 257 kB / 0.544 GB, free: 4.918 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/0.7411, allocations: 2.243 MB / 0.5462 GB, free: 2.617 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003288/0.7415, allocations: 155.8 kB / 0.5464 GB, free: 2.465 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009221/0.7425, allocations: 188 kB / 0.5465 GB, free: 2.281 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01135/0.7538, allocations: 2.628 MB / 0.5491 GB, free: 15.57 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.754, allocations: 4 kB / 0.5491 GB, free: 15.57 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005353/0.7546, allocations: 76 kB / 0.5492 GB, free: 15.49 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002065/0.7548, allocations: 87.77 kB / 0.5493 GB, free: 15.41 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/0.7651, allocations: 2.151 MB / 0.5514 GB, free: 13.25 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03261/0.7977, allocations: 7.646 MB / 0.5588 GB, free: 5.488 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006519/0.8043, allocations: 1.752 MB / 0.5605 GB, free: 3.738 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005519/0.8099, allocations: 1.321 MB / 0.5618 GB, free: 2.422 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/0.8101, allocations: 17.31 kB / 0.5618 GB, free: 2.406 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004015/0.8142, allocations: 0.9942 MB / 0.5628 GB, free: 1.383 MB / 474.7 MB Notification: Performance of pre-optimization done (n=138): time 1.027e-05/0.8142, allocations: 0 / 0.5628 GB, free: 1.383 MB / 474.7 MB Notification: Performance of matching and sorting (n=138): time 0.008264/0.8225, allocations: 1.851 MB / 0.5646 GB, free: 15.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000272/0.8229, allocations: 264.6 kB / 0.5649 GB, free: 15.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004647/0.8275, allocations: 1.226 MB / 0.5661 GB, free: 13.97 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003592/0.8279, allocations: 81.62 kB / 0.5662 GB, free: 13.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.8292, allocations: 0.8436 MB / 0.567 GB, free: 13.03 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007322/0.8299, allocations: 418.3 kB / 0.5674 GB, free: 12.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.8301, allocations: 28 kB / 0.5674 GB, free: 12.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002592/0.8304, allocations: 365.9 kB / 0.5678 GB, free: 12.22 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.8321, allocations: 0.734 MB / 0.5685 GB, free: 11.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002172/0.8343, allocations: 1.034 MB / 0.5695 GB, free: 10.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/0.8362, allocations: 0.8012 MB / 0.5703 GB, free: 9.539 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.8363, allocations: 0 / 0.5703 GB, free: 9.539 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.005287/0.8415, allocations: 2.179 MB / 0.5724 GB, free: 7.348 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001453/0.843, allocations: 2.467 MB / 0.5748 GB, free: 4.715 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.909e-05/0.8431, allocations: 8 kB / 0.5748 GB, free: 4.707 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002165/0.8453, allocations: 0.5823 MB / 0.5754 GB, free: 4.121 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.8465, allocations: 191.6 kB / 0.5756 GB, free: 3.934 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/0.8591, allocations: 6.136 MB / 0.5816 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/0.861, allocations: 222.8 kB / 0.5818 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003053/0.8613, allocations: 48 kB / 0.5818 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.8614, allocations: 10.81 kB / 0.5818 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00481/0.8662, allocations: 2.023 MB / 0.5838 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.244e-05/0.8663, allocations: 8 kB / 0.5838 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/0.8681, allocations: 0.5632 MB / 0.5844 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.8693, allocations: 191.7 kB / 0.5845 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/0.8818, allocations: 6.105 MB / 0.5905 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.8835, allocations: 195.1 kB / 0.5907 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002496/0.8838, allocations: 52 kB / 0.5907 GB, free: 4.109 MB / 0.4948 GB 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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (144): * Single equations (assignments): 143 * 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 38} Notification: Performance of prepare postOptimizeDAE: time 0.0005551/0.8844, allocations: 245.4 kB / 0.591 GB, free: 3.855 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000495/0.8849, allocations: 150.2 kB / 0.5911 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005665/0.8855, allocations: 190.9 kB / 0.5913 GB, free: 3.516 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.8855, allocations: 12 kB / 0.5913 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.6e-06/0.8855, allocations: 0 / 0.5913 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.419e-05/0.8856, allocations: 11.97 kB / 0.5913 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/0.896, allocations: 4.196 MB / 0.5954 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/0.896, allocations: 3.984 kB / 0.5954 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007144/0.8968, allocations: 111.7 kB / 0.5955 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001826/0.8986, allocations: 0.5362 MB / 0.596 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001811/0.8988, allocations: 23.98 kB / 0.5961 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/0.9107, allocations: 6.037 MB / 0.602 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.48e-06/0.9107, allocations: 0 / 0.602 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006162/0.9169, allocations: 2.883 MB / 0.6048 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.9182, allocations: 411 kB / 0.6052 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004389/0.9187, allocations: 47.97 kB / 0.6052 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.9199, allocations: 131.9 kB / 0.6053 GB, free: 4.875 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007017/0.9206, allocations: 236.9 kB / 0.6056 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/0.9208, allocations: 35.98 kB / 0.6056 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002056/0.9229, allocations: 0.9221 MB / 0.6065 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.46e-06/0.9229, allocations: 0 / 0.6065 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003852/0.9268, allocations: 0.9852 MB / 0.6075 GB, free: 2.688 MB / 0.5105 GB 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: 48 (pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 85 * 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 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004825/0.9273, allocations: 217.8 kB / 0.6077 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.289/1.216, allocations: 3.362 MB / 0.611 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.992e-06/1.216, allocations: 0.875 kB / 0.611 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002799/1.219, allocations: 1.148 MB / 0.6121 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/1.222, allocations: 374.3 kB / 0.6124 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008709/1.23, allocations: 3.17 MB / 0.6155 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00271/1.233, allocations: 1.879 MB / 0.6174 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002986/1.236, allocations: 0.6912 MB / 0.618 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003905/1.237, allocations: 77.12 kB / 0.6181 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.89e-06/1.237, allocations: 0 / 0.6181 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.0808/1.317, allocations: 34.22 MB / 0.6515 GB, free: 143.8 MB / 0.5105 GB