Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.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="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R") Notification: Performance of loadModel(Modelica): time 2.006/2.006, allocations: 225.8 MB / 239.4 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.316e-05/3.334e-05, allocations: 4 kB / 292.7 MB, free: 8.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 50.42 MB / 343.1 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3993/0.509, allocations: 93.56 MB / 436.7 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.5093, allocations: 92.27 kB / 436.8 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1896/0.699, allocations: 37.95 MB / 474.7 MB, free: 14.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.547e-06/0.699, allocations: 0 / 474.7 MB, free: 14.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001861/0.6992, allocations: 51.94 kB / 474.7 MB, free: 14.86 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.005745/0.705, allocations: 1.993 MB / 476.7 MB, free: 12.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.7051, allocations: 8.031 kB / 476.8 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008867/0.706, allocations: 229.4 kB / 477 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007536/0.7135, allocations: 2.093 MB / 479.1 MB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/0.7138, allocations: 139.5 kB / 479.2 MB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004978/0.7143, allocations: 172 kB / 479.4 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00574/0.72, allocations: 2.38 MB / 481.8 MB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.528e-05/0.7201, allocations: 0 / 481.8 MB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000269/0.7204, allocations: 83.92 kB / 481.8 MB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/0.7206, allocations: 75.48 kB / 481.9 MB, free: 7.492 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00465/0.7252, allocations: 1.932 MB / 483.8 MB, free: 5.559 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0164/0.7416, allocations: 6.95 MB / 490.8 MB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003254/0.7449, allocations: 1.555 MB / 492.3 MB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002589/0.7476, allocations: 1.165 MB / 493.5 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.141e-05/0.7477, allocations: 13 kB / 493.5 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001908/0.7496, allocations: 0.8899 MB / 494.4 MB, free: 10.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 4.76e-06/0.7496, allocations: 0 / 494.4 MB, free: 10.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.004052/0.7537, allocations: 1.688 MB / 496.1 MB, free: 9.133 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.7539, allocations: 179.2 kB / 496.3 MB, free: 8.922 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/0.7562, allocations: 1.067 MB / 497.3 MB, free: 7.836 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002481/0.7565, allocations: 81.67 kB / 497.4 MB, free: 7.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.7575, allocations: 0.7573 MB / 498.2 MB, free: 6.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005555/0.7581, allocations: 378.9 kB / 498.5 MB, free: 6.605 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.7582, allocations: 24 kB / 498.6 MB, free: 6.582 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002366/0.7585, allocations: 361.9 kB / 498.9 MB, free: 6.223 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.76, allocations: 0.6637 MB / 499.6 MB, free: 5.559 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.7617, allocations: 0.9261 MB / 0.4888 GB, free: 4.527 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.7633, allocations: 0.7114 MB / 0.4895 GB, free: 3.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.771e-06/0.7633, allocations: 0 / 0.4895 GB, free: 3.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004414/0.7677, allocations: 1.972 MB / 0.4914 GB, free: 1.836 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001449/0.7692, allocations: 2.458 MB / 0.4938 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.7692, allocations: 8 kB / 0.4938 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/0.771, allocations: 0.5159 MB / 0.4943 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009784/0.772, allocations: 175.7 kB / 0.4945 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/0.7828, allocations: 5.54 MB / 0.4999 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.7843, allocations: 187.1 kB / 0.5001 GB, free: 8.633 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.7845, allocations: 55.98 kB / 0.5001 GB, free: 8.578 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.7845, allocations: 4 kB / 0.5001 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004/0.7886, allocations: 1.832 MB / 0.5019 GB, free: 6.738 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/0.7886, allocations: 8 kB / 0.5019 GB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001606/0.7902, allocations: 0.5122 MB / 0.5024 GB, free: 6.215 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008644/0.7911, allocations: 171.7 kB / 0.5026 GB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/0.8017, allocations: 5.512 MB / 0.508 GB, free: 396 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.8031, allocations: 179.1 kB / 0.5081 GB, free: 216 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.8033, allocations: 48 kB / 0.5082 GB, free: 168 kB / 426.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_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 (135): * Single equations (assignments): 134 * 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 32} Notification: Performance of prepare postOptimizeDAE: time 0.0005228/0.8038, allocations: 241.5 kB / 0.5084 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003497/0.8042, allocations: 138.3 kB / 0.5086 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004815/0.8047, allocations: 169.5 kB / 0.5087 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/0.8047, allocations: 15.94 kB / 0.5087 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.876e-06/0.8047, allocations: 0 / 0.5087 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.8047, allocations: 3.984 kB / 0.5087 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00871/0.8135, allocations: 3.815 MB / 0.5125 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.347e-06/0.8135, allocations: 0 / 0.5125 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000596/0.8141, allocations: 91.83 kB / 0.5125 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001565/0.8157, allocations: 497.2 kB / 0.513 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.8159, allocations: 23.98 kB / 0.513 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/0.8263, allocations: 5.426 MB / 0.5183 GB, free: 5.555 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.8263, allocations: 0 / 0.5183 GB, free: 5.555 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005569/0.8319, allocations: 2.643 MB / 0.5209 GB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.833, allocations: 383.2 kB / 0.5213 GB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003175/0.8333, allocations: 43.97 kB / 0.5213 GB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009828/0.8343, allocations: 103.9 kB / 0.5214 GB, free: 2.348 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006642/0.835, allocations: 236.6 kB / 0.5217 GB, free: 2.117 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.8352, allocations: 35.98 kB / 0.5217 GB, free: 2.082 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001677/0.8368, allocations: 0.801 MB / 0.5225 GB, free: 1.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.22e-07/0.8369, allocations: 0 / 0.5225 GB, free: 1.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003167/0.84, allocations: 0.8722 MB / 0.5233 GB, free: 404 kB / 442.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_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_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.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 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004369/0.8405, allocations: 221.5 kB / 0.5235 GB, free: 180 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2378/1.078, allocations: 3.057 MB / 0.5265 GB, free: 129.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.04e-06/1.078, allocations: 4.125 kB / 0.5265 GB, free: 129.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002233/1.081, allocations: 1.057 MB / 0.5276 GB, free: 129 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/1.082, allocations: 320.9 kB / 0.5279 GB, free: 128.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006493/1.089, allocations: 2.85 MB / 0.5306 GB, free: 128.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001878/1.091, allocations: 1.755 MB / 0.5324 GB, free: 127.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002339/1.093, allocations: 0.6169 MB / 0.533 GB, free: 127.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/1.094, allocations: 72.34 kB / 0.533 GB, free: 127.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.566e-06/1.094, allocations: 0 / 0.533 GB, free: 127.6 MB / 442.7 MB Notification: Performance of Templates: time 0.06513/1.159, allocations: 30.29 MB / 0.5626 GB, free: 124.4 MB / 442.7 MB