Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL") Notification: Performance of loadModel(Modelica): time 2.062/2.062, allocations: 225.8 MB / 239.3 MB, free: 1.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.914e-05/3.904e-05, allocations: 4 kB / 292.7 MB, free: 11.47 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09657/0.09663, allocations: 50.41 MB / 343.1 MB, free: 9.059 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3817/0.4784, allocations: 93.81 MB / 436.9 MB, free: 5.754 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.4787, allocations: 91.61 kB / 437 MB, free: 5.734 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1836/0.6623, allocations: 49.59 MB / 486.6 MB, free: 1.977 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.031e-06/0.6623, allocations: 0 / 486.6 MB, free: 1.977 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001779/0.6625, allocations: 55.92 kB / 486.6 MB, free: 1.922 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 458 * Number of variables: 458 Notification: Performance of Generate backend data structure: time 0.005526/0.668, allocations: 2.019 MB / 488.7 MB, free: 15.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.6681, allocations: 8.031 kB / 488.7 MB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007083/0.6688, allocations: 225.4 kB / 488.9 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007262/0.6761, allocations: 2.101 MB / 491 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.6763, allocations: 143.5 kB / 491.1 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004759/0.6768, allocations: 180 kB / 491.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00557/0.6824, allocations: 2.4 MB / 493.7 MB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-05/0.6825, allocations: 0 / 493.7 MB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002676/0.6828, allocations: 79.98 kB / 493.8 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.6829, allocations: 79.53 kB / 493.9 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004971/0.6879, allocations: 1.936 MB / 495.8 MB, free: 8.559 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01606/0.704, allocations: 7.017 MB / 0.491 GB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/0.7071, allocations: 1.552 MB / 0.4925 GB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/0.7091, allocations: 0.9733 MB / 0.4935 GB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.488e-05/0.7092, allocations: 13 kB / 0.4935 GB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00184/0.711, allocations: 0.9017 MB / 0.4944 GB, free: 13.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=128): time 4.91e-06/0.7111, allocations: 0 / 0.4944 GB, free: 13.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=128): time 0.00573/0.7168, allocations: 1.703 MB / 0.496 GB, free: 12.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002137/0.717, allocations: 175.5 kB / 0.4962 GB, free: 12.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003581/0.7207, allocations: 1.068 MB / 0.4973 GB, free: 10.94 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003894/0.7211, allocations: 77.67 kB / 0.4973 GB, free: 10.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00142/0.7225, allocations: 0.7651 MB / 0.4981 GB, free: 10.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008013/0.7233, allocations: 386.8 kB / 0.4984 GB, free: 9.695 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.7236, allocations: 28 kB / 0.4985 GB, free: 9.668 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003323/0.7239, allocations: 365.9 kB / 0.4988 GB, free: 9.305 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/0.7264, allocations: 0.6716 MB / 0.4995 GB, free: 8.633 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003016/0.7295, allocations: 0.9339 MB / 0.5004 GB, free: 7.598 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002746/0.7323, allocations: 0.7339 MB / 0.5011 GB, free: 6.867 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.001e-05/0.7323, allocations: 4 kB / 0.5011 GB, free: 6.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.007844/0.7402, allocations: 1.996 MB / 0.5031 GB, free: 4.855 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001798/0.742, allocations: 2.449 MB / 0.5055 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/0.7421, allocations: 4 kB / 0.5055 GB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002919/0.745, allocations: 0.4978 MB / 0.5059 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/0.7469, allocations: 179.7 kB / 0.5061 GB, free: 1.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/0.7614, allocations: 5.228 MB / 0.5112 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.763, allocations: 187 kB / 0.5114 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/0.7632, allocations: 48 kB / 0.5114 GB, free: 11.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.7632, allocations: 4 kB / 0.5114 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004047/0.7673, allocations: 1.847 MB / 0.5133 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.7673, allocations: 12.12 kB / 0.5133 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00151/0.7688, allocations: 488.7 kB / 0.5137 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009149/0.7698, allocations: 183.7 kB / 0.5139 GB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009626/0.7794, allocations: 5.224 MB / 0.519 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.7809, allocations: 167.2 kB / 0.5192 GB, free: 3.895 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.781, allocations: 51.98 kB / 0.5192 GB, free: 3.844 MB / 410.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 (142): * Single equations (assignments): 141 * 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.0004929/0.7815, allocations: 233.5 kB / 0.5194 GB, free: 3.602 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000337/0.7819, allocations: 142.2 kB / 0.5196 GB, free: 3.461 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004832/0.7824, allocations: 173.6 kB / 0.5197 GB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.7824, allocations: 16 kB / 0.5198 GB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.7824, allocations: 3.953 kB / 0.5198 GB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.7825, allocations: 7.969 kB / 0.5198 GB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007852/0.7903, allocations: 3.706 MB / 0.5234 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.7904, allocations: 11.94 kB / 0.5234 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006794/0.7911, allocations: 111.8 kB / 0.5235 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001464/0.7925, allocations: 464.7 kB / 0.5239 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.7927, allocations: 27.98 kB / 0.524 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009621/0.8023, allocations: 5.143 MB / 0.529 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.545e-06/0.8024, allocations: 0 / 0.529 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00558/0.808, allocations: 2.7 MB / 0.5316 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009873/0.809, allocations: 387.1 kB / 0.532 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002925/0.8093, allocations: 44.09 kB / 0.532 GB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.8103, allocations: 119.9 kB / 0.5322 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000635/0.811, allocations: 232.9 kB / 0.5324 GB, free: 6.105 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.8111, allocations: 35.98 kB / 0.5324 GB, free: 6.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001612/0.8127, allocations: 0.8089 MB / 0.5332 GB, free: 5.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.23e-07/0.8128, allocations: 0 / 0.5332 GB, free: 5.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002781/0.8156, allocations: 0.8722 MB / 0.5341 GB, free: 4.375 MB / 426.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_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_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003843/0.816, allocations: 205.4 kB / 0.5343 GB, free: 4.172 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006445/0.8224, allocations: 3.096 MB / 0.5373 GB, free: 1.051 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.8224, allocations: 0 / 0.5373 GB, free: 1.051 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002187/0.8246, allocations: 1.067 MB / 0.5383 GB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/0.8264, allocations: 323.4 kB / 0.5386 GB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007027/0.8335, allocations: 2.939 MB / 0.5415 GB, free: 12.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002154/0.8357, allocations: 1.764 MB / 0.5432 GB, free: 10.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002453/0.8381, allocations: 0.6391 MB / 0.5438 GB, free: 10.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.8384, allocations: 67.44 kB / 0.5439 GB, free: 10.18 MB / 442.7 MB Notification: Performance of SimCode: time 1.738e-06/0.8385, allocations: 0 / 0.5439 GB, free: 10.18 MB / 442.7 MB Notification: Performance of Templates: time 0.318/1.156, allocations: 29.13 MB / 0.5723 GB, free: 123.8 MB / 442.7 MB