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_3.2.2_ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_R") Notification: Performance of loadModel(ModelicaTest): time 2.435/2.435, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.124e-05/3.149e-05, allocations: 0 / 304.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.332, allocations: 54.85 MB / 359.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1909/0.523, allocations: 95.93 MB / 455.7 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.5233, allocations: 75.95 kB / 455.8 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1483/0.6716, allocations: 38.6 MB / 494.4 MB, free: 10.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.106e-06/0.6717, allocations: 0 / 494.4 MB, free: 10.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001991/0.6719, allocations: 55.94 kB / 494.4 MB, free: 10 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.006303/0.6782, allocations: 2.115 MB / 496.6 MB, free: 7.828 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.6783, allocations: 12.03 kB / 496.6 MB, free: 7.816 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.6793, allocations: 241.1 kB / 496.8 MB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007887/0.6872, allocations: 2.203 MB / 499 MB, free: 5.316 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.6874, allocations: 151.6 kB / 499.2 MB, free: 5.168 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005935/0.6881, allocations: 188 kB / 499.3 MB, free: 4.984 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006858/0.6949, allocations: 2.558 MB / 0.4901 GB, free: 2.348 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.766e-05/0.695, allocations: 4 kB / 0.4901 GB, free: 2.344 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000304/0.6953, allocations: 83.98 kB / 0.4902 GB, free: 2.262 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/0.6955, allocations: 79.7 kB / 0.4903 GB, free: 2.184 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005862/0.7014, allocations: 2.077 MB / 0.4923 GB, free: 108 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01864/0.72, allocations: 7.435 MB / 0.4996 GB, free: 8.551 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00441/0.7245, allocations: 1.859 MB / 0.5014 GB, free: 6.684 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002999/0.7275, allocations: 1.284 MB / 0.5027 GB, free: 5.402 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.6e-05/0.7277, allocations: 16.94 kB / 0.5027 GB, free: 5.387 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0021/0.7298, allocations: 0.9595 MB / 0.5036 GB, free: 4.402 MB / 442.7 MB Notification: Performance of pre-optimization done (n=132): time 5.324e-06/0.7298, allocations: 0 / 0.5036 GB, free: 4.402 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.004608/0.7344, allocations: 1.843 MB / 0.5054 GB, free: 2.547 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001858/0.7346, allocations: 234.9 kB / 0.5056 GB, free: 2.266 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002827/0.7375, allocations: 1.178 MB / 0.5068 GB, free: 1.074 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003563/0.7379, allocations: 81.67 kB / 0.5069 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.7391, allocations: 0.8239 MB / 0.5077 GB, free: 156 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000706/0.7398, allocations: 394.7 kB / 0.508 GB, free: 15.76 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.7399, allocations: 28 kB / 0.5081 GB, free: 15.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002393/0.7402, allocations: 366.1 kB / 0.5084 GB, free: 15.37 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.7418, allocations: 0.7028 MB / 0.5091 GB, free: 14.66 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002044/0.7439, allocations: 0.9988 MB / 0.5101 GB, free: 13.56 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/0.7456, allocations: 0.766 MB / 0.5108 GB, free: 12.79 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.7457, allocations: 0 / 0.5108 GB, free: 12.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004999/0.7507, allocations: 2.097 MB / 0.5129 GB, free: 10.68 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001416/0.7522, allocations: 2.472 MB / 0.5153 GB, free: 8.043 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/0.7522, allocations: 11.95 kB / 0.5153 GB, free: 8.031 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002043/0.7543, allocations: 0.5668 MB / 0.5159 GB, free: 7.461 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.7553, allocations: 183.7 kB / 0.516 GB, free: 7.281 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/0.7675, allocations: 6.116 MB / 0.522 GB, free: 1.027 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.7692, allocations: 218.9 kB / 0.5222 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002181/0.7695, allocations: 51.94 kB / 0.5223 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.7695, allocations: 4 kB / 0.5223 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2969/1.066, allocations: 1.956 MB / 0.5242 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/1.066, allocations: 9.906 kB / 0.5242 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001711/1.068, allocations: 0.5683 MB / 0.5247 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009931/1.069, allocations: 181.9 kB / 0.5249 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/1.08, allocations: 6.092 MB / 0.5309 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/1.082, allocations: 192.5 kB / 0.531 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002033/1.082, allocations: 47.81 kB / 0.5311 GB, free: 122.6 MB / 458.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 (138): * Single equations (assignments): 137 * 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.0004571/1.082, allocations: 246.5 kB / 0.5313 GB, free: 122.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000367/1.083, allocations: 148.1 kB / 0.5315 GB, free: 122.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004681/1.083, allocations: 184.5 kB / 0.5316 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/1.083, allocations: 12.38 kB / 0.5317 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/1.083, allocations: 0 / 0.5317 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/1.083, allocations: 7.938 kB / 0.5317 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009359/1.093, allocations: 4.026 MB / 0.5356 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/1.093, allocations: 2.078 kB / 0.5356 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005787/1.093, allocations: 96.52 kB / 0.5357 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/1.095, allocations: 0.5395 MB / 0.5362 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001653/1.095, allocations: 27.36 kB / 0.5362 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/1.106, allocations: 6.027 MB / 0.5421 GB, free: 119.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.554e-06/1.106, allocations: 0.8594 kB / 0.5421 GB, free: 119.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005258/1.111, allocations: 2.762 MB / 0.5448 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.112, allocations: 398.2 kB / 0.5452 GB, free: 117.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003705/1.113, allocations: 43.5 kB / 0.5452 GB, free: 117.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/1.114, allocations: 128 kB / 0.5454 GB, free: 117.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006472/1.114, allocations: 235.5 kB / 0.5456 GB, free: 117.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/1.115, allocations: 36.92 kB / 0.5456 GB, free: 117.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001758/1.116, allocations: 0.8936 MB / 0.5465 GB, free: 117.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.017e-06/1.116, allocations: 0 / 0.5465 GB, free: 117.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003568/1.12, allocations: 0.9599 MB / 0.5474 GB, free: 117.1 MB / 458.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: 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_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 79 * 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.000374/1.12, allocations: 208.1 kB / 0.5476 GB, free: 117 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006507/1.127, allocations: 3.274 MB / 0.5508 GB, free: 115.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.147e-06/1.127, allocations: 0 / 0.5508 GB, free: 115.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002299/1.129, allocations: 1.106 MB / 0.5519 GB, free: 115.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/1.131, allocations: 363.2 kB / 0.5523 GB, free: 115.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006723/1.138, allocations: 3.061 MB / 0.5552 GB, free: 113.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/1.14, allocations: 1.835 MB / 0.557 GB, free: 113 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002399/1.142, allocations: 0.6588 MB / 0.5577 GB, free: 113 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/1.143, allocations: 82.33 kB / 0.5578 GB, free: 113 MB / 458.7 MB Notification: Performance of SimCode: time 1.745e-06/1.143, allocations: 0 / 0.5578 GB, free: 113 MB / 458.7 MB Notification: Performance of Templates: time 0.06901/1.212, allocations: 33.52 MB / 0.5905 GB, free: 97.25 MB / 458.7 MB