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.3_ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_R") Notification: Performance of loadModel(ModelicaTest): time 2.407/2.407, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.333e-05/4.359e-05, allocations: 7.938 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3632, allocations: 58.84 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.5189, allocations: 101.8 MB / 484.1 MB, free: 6.656 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.5192, allocations: 71.95 kB / 484.1 MB, free: 6.586 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.1514/0.6706, allocations: 38.97 MB / 0.5108 GB, free: 15.32 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.232e-06/0.6707, allocations: 0 / 0.5108 GB, free: 15.32 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002689/0.671, allocations: 51.94 kB / 0.5109 GB, free: 15.27 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 482 * Number of variables: 482 Notification: Performance of Generate backend data structure: time 0.008719/0.6797, allocations: 2.133 MB / 0.513 GB, free: 13.06 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.6798, allocations: 8.031 kB / 0.513 GB, free: 13.05 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000835/0.6806, allocations: 253 kB / 0.5132 GB, free: 12.8 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007622/0.6883, allocations: 2.199 MB / 0.5154 GB, free: 10.55 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.6885, allocations: 151.7 kB / 0.5155 GB, free: 10.4 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005214/0.6891, allocations: 184 kB / 0.5157 GB, free: 10.22 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006098/0.6952, allocations: 2.552 MB / 0.5182 GB, free: 7.586 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-05/0.6953, allocations: 7.984 kB / 0.5182 GB, free: 7.578 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002802/0.6956, allocations: 76 kB / 0.5183 GB, free: 7.504 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.6957, allocations: 87.67 kB / 0.5183 GB, free: 7.418 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004937/0.7007, allocations: 2.077 MB / 0.5204 GB, free: 5.34 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.283/0.9837, allocations: 7.438 MB / 0.5276 GB, free: 114.8 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003953/0.9877, allocations: 1.869 MB / 0.5295 GB, free: 114.7 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002756/0.9905, allocations: 1.28 MB / 0.5307 GB, free: 114.7 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-05/0.9906, allocations: 13.64 kB / 0.5307 GB, free: 114.7 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001801/0.9925, allocations: 0.9507 MB / 0.5316 GB, free: 114.6 MB / 458.8 MB Notification: Performance of pre-optimization done (n=132): time 5.372e-06/0.9925, allocations: 0 / 0.5316 GB, free: 114.6 MB / 458.8 MB Notification: Performance of matching and sorting (n=132): time 0.004002/0.9965, allocations: 1.842 MB / 0.5334 GB, free: 114.5 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/0.9966, allocations: 231.3 kB / 0.5337 GB, free: 114.3 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/0.9988, allocations: 1.188 MB / 0.5348 GB, free: 114.1 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002903/0.9991, allocations: 81.72 kB / 0.5349 GB, free: 114.1 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007405/0.9999, allocations: 0.8252 MB / 0.5357 GB, free: 113.8 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004174/1, allocations: 399.7 kB / 0.5361 GB, free: 113.6 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/1, allocations: 28.62 kB / 0.5361 GB, free: 113.6 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001166/1.001, allocations: 369.6 kB / 0.5365 GB, free: 113.3 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/1.002, allocations: 0.6978 MB / 0.5372 GB, free: 113.3 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/1.004, allocations: 1.002 MB / 0.5381 GB, free: 113 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/1.005, allocations: 0.7597 MB / 0.5389 GB, free: 113 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.581e-06/1.005, allocations: 3.844 kB / 0.5389 GB, free: 113 MB / 458.8 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004099/1.009, allocations: 2.106 MB / 0.5409 GB, free: 112.9 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005365/1.01, allocations: 2.461 MB / 0.5433 GB, free: 110.3 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/1.01, allocations: 7.719 kB / 0.5433 GB, free: 110.3 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001827/1.012, allocations: 0.5734 MB / 0.5439 GB, free: 110.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/1.013, allocations: 186.7 kB / 0.5441 GB, free: 110.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/1.023, allocations: 6.13 MB / 0.5501 GB, free: 107.1 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/1.024, allocations: 217.4 kB / 0.5503 GB, free: 107 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/1.025, allocations: 50.84 kB / 0.5503 GB, free: 107 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/1.025, allocations: 8.469 kB / 0.5503 GB, free: 107 MB / 458.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003693/1.028, allocations: 1.957 MB / 0.5522 GB, free: 106.3 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/1.028, allocations: 3.875 kB / 0.5522 GB, free: 106.3 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001684/1.03, allocations: 0.5665 MB / 0.5528 GB, free: 106.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009481/1.031, allocations: 174.1 kB / 0.553 GB, free: 106.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009882/1.041, allocations: 6.104 MB / 0.5589 GB, free: 102.7 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/1.043, allocations: 190.1 kB / 0.5591 GB, free: 102.7 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/1.043, allocations: 49.77 kB / 0.5592 GB, free: 102.7 MB / 458.8 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.0004436/1.043, allocations: 247.7 kB / 0.5594 GB, free: 102.5 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003638/1.044, allocations: 148 kB / 0.5595 GB, free: 102.4 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004477/1.044, allocations: 186.2 kB / 0.5597 GB, free: 102.3 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/1.044, allocations: 9.938 kB / 0.5597 GB, free: 102.3 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.73e-06/1.044, allocations: 7.25 kB / 0.5597 GB, free: 102.3 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/1.044, allocations: 10.03 kB / 0.5597 GB, free: 102.3 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007956/1.052, allocations: 4.032 MB / 0.5637 GB, free: 100.7 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.575e-06/1.052, allocations: 0 / 0.5637 GB, free: 100.7 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006086/1.053, allocations: 94.83 kB / 0.5638 GB, free: 100.7 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/1.054, allocations: 0.5409 MB / 0.5643 GB, free: 100.5 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/1.055, allocations: 33.09 kB / 0.5643 GB, free: 100.5 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00978/1.064, allocations: 6.021 MB / 0.5702 GB, free: 97.14 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.709e-06/1.064, allocations: 1.641 kB / 0.5702 GB, free: 97.14 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004893/1.069, allocations: 2.764 MB / 0.5729 GB, free: 95.05 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009655/1.07, allocations: 396.5 kB / 0.5733 GB, free: 94.68 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003077/1.071, allocations: 46.56 kB / 0.5733 GB, free: 94.64 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/1.072, allocations: 122.9 kB / 0.5734 GB, free: 94.55 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005706/1.072, allocations: 241.9 kB / 0.5737 GB, free: 94.41 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/1.073, allocations: 31.7 kB / 0.5737 GB, free: 94.39 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.001469/1.074, allocations: 0.9045 MB / 0.5746 GB, free: 93.57 MB / 458.8 MB Notification: Performance of sort global known variables: time 9.38e-07/1.074, allocations: 0 / 0.5746 GB, free: 93.57 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.002799/1.077, allocations: 0.9616 MB / 0.5755 GB, free: 92.61 MB / 458.8 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.0003367/1.077, allocations: 202.8 kB / 0.5757 GB, free: 92.44 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.005988/1.083, allocations: 3.265 MB / 0.5789 GB, free: 89.57 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 6.605e-06/1.083, allocations: 0 / 0.5789 GB, free: 89.57 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001968/1.085, allocations: 1.121 MB / 0.58 GB, free: 88.57 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/1.087, allocations: 365.3 kB / 0.5804 GB, free: 88.29 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00633/1.094, allocations: 3.059 MB / 0.5833 GB, free: 85.59 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001615/1.095, allocations: 1.839 MB / 0.5851 GB, free: 84.08 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.002339/1.098, allocations: 0.6598 MB / 0.5858 GB, free: 83.66 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/1.098, allocations: 82.62 kB / 0.5859 GB, free: 83.59 MB / 458.8 MB Notification: Performance of SimCode: time 1.899e-06/1.098, allocations: 0 / 0.5859 GB, free: 83.59 MB / 458.8 MB Notification: Performance of Templates: time 0.06997/1.168, allocations: 33.63 MB / 0.6187 GB, free: 52.49 MB / 458.8 MB