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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL") Notification: Performance of loadModel(Modelica): time 2.052/2.052, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.873e-05/3.865e-05, allocations: 6.797 kB / 292.2 MB, free: 8.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0901/0.09016, allocations: 50.41 MB / 342.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.43/0.5202, allocations: 94.06 MB / 436.6 MB, free: 272 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004519/0.5207, allocations: 90.25 kB / 436.7 MB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2305/0.7513, allocations: 49.59 MB / 486.3 MB, free: 2.668 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.483e-06/0.7513, allocations: 0 / 486.3 MB, free: 2.668 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002473/0.7516, allocations: 55.92 kB / 486.4 MB, free: 2.613 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: 458 * Number of variables: 458 Notification: Performance of Generate backend data structure: time 0.008873/0.7605, allocations: 2.007 MB / 488.4 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.7606, allocations: 8.031 kB / 488.4 MB, free: 0.5391 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.7618, allocations: 229.3 kB / 488.6 MB, free: 320 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01204/0.7739, allocations: 2.097 MB / 490.7 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002803/0.7742, allocations: 143.5 kB / 490.8 MB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000734/0.775, allocations: 188 kB / 491 MB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009626/0.7847, allocations: 2.392 MB / 493.4 MB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.809e-05/0.7848, allocations: 7.938 kB / 493.4 MB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004653/0.7853, allocations: 76 kB / 493.5 MB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001744/0.7855, allocations: 75.53 kB / 493.6 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008717/0.7942, allocations: 1.944 MB / 495.5 MB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0224/0.8167, allocations: 7.005 MB / 0.4908 GB, free: 2.121 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/0.8199, allocations: 1.563 MB / 0.4923 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001986/0.8219, allocations: 0.9657 MB / 0.4932 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.151e-05/0.822, allocations: 13 kB / 0.4932 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001891/0.8239, allocations: 0.9093 MB / 0.4941 GB, free: 14.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 5.112e-06/0.8239, allocations: 4 kB / 0.4941 GB, free: 14.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=128): time 0.003985/0.8279, allocations: 1.692 MB / 0.4958 GB, free: 12.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.8281, allocations: 179.5 kB / 0.4959 GB, free: 12.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002287/0.8304, allocations: 1.075 MB / 0.497 GB, free: 11.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002502/0.8307, allocations: 81.67 kB / 0.4971 GB, free: 11.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009611/0.8317, allocations: 0.7612 MB / 0.4978 GB, free: 10.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005117/0.8322, allocations: 378.8 kB / 0.4982 GB, free: 10.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.8323, allocations: 32 kB / 0.4982 GB, free: 10.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.8326, allocations: 361.9 kB / 0.4986 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.834, allocations: 0.6716 MB / 0.4992 GB, free: 9.336 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.8358, allocations: 0.9379 MB / 0.5001 GB, free: 8.297 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/0.8374, allocations: 0.7311 MB / 0.5008 GB, free: 7.562 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.8375, allocations: 4 kB / 0.5008 GB, free: 7.559 MB / 426.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004495/0.842, allocations: 1.988 MB / 0.5028 GB, free: 5.559 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001409/0.8434, allocations: 2.455 MB / 0.5052 GB, free: 2.926 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.8435, allocations: 4 kB / 0.5052 GB, free: 2.922 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/0.8451, allocations: 0.4909 MB / 0.5057 GB, free: 2.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.8462, allocations: 191.6 kB / 0.5059 GB, free: 2.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/0.8562, allocations: 5.217 MB / 0.5109 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.8578, allocations: 191 kB / 0.5111 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/0.858, allocations: 51.98 kB / 0.5112 GB, free: 12.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.858, allocations: 7.938 kB / 0.5112 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004076/0.8621, allocations: 1.844 MB / 0.513 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.8621, allocations: 4 kB / 0.513 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/0.8636, allocations: 0.4928 MB / 0.5135 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009185/0.8646, allocations: 175.7 kB / 0.5136 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009815/0.8744, allocations: 5.219 MB / 0.5187 GB, free: 4.766 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.8759, allocations: 171.2 kB / 0.5189 GB, free: 4.598 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.876, allocations: 48 kB / 0.5189 GB, free: 4.551 MB / 442.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.0005046/0.8766, allocations: 249.4 kB / 0.5192 GB, free: 4.293 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003142/0.8769, allocations: 138.2 kB / 0.5193 GB, free: 4.156 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004883/0.8774, allocations: 173.6 kB / 0.5195 GB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.8774, allocations: 12 kB / 0.5195 GB, free: 3.973 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.8774, allocations: 3.953 kB / 0.5195 GB, free: 3.969 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.8775, allocations: 7.984 kB / 0.5195 GB, free: 3.961 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007904/0.8854, allocations: 3.713 MB / 0.5231 GB, free: 192 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.8854, allocations: 3.953 kB / 0.5231 GB, free: 188 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006929/0.8861, allocations: 107.8 kB / 0.5232 GB, free: 80 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2449/1.131, allocations: 457.4 kB / 0.5237 GB, free: 127.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001939/1.131, allocations: 26.69 kB / 0.5237 GB, free: 127.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008655/1.14, allocations: 5.146 MB / 0.5287 GB, free: 126.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.232e-06/1.14, allocations: 6.844 kB / 0.5287 GB, free: 126.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005067/1.145, allocations: 2.701 MB / 0.5314 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008604/1.146, allocations: 385.5 kB / 0.5317 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/1.146, allocations: 45.89 kB / 0.5318 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009598/1.147, allocations: 111.2 kB / 0.5319 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006373/1.148, allocations: 232.1 kB / 0.5321 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/1.148, allocations: 34.7 kB / 0.5321 GB, free: 125.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001516/1.15, allocations: 0.8089 MB / 0.5329 GB, free: 125.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.8e-07/1.15, allocations: 0 / 0.5329 GB, free: 125.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002609/1.152, allocations: 0.8716 MB / 0.5338 GB, free: 125.6 MB / 442.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.0003511/1.153, allocations: 211 kB / 0.534 GB, free: 125.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005893/1.158, allocations: 3.088 MB / 0.537 GB, free: 125.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.597e-06/1.158, allocations: 1.469 kB / 0.537 GB, free: 125.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002026/1.161, allocations: 1.066 MB / 0.538 GB, free: 125 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/1.162, allocations: 324.7 kB / 0.5383 GB, free: 125 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006469/1.169, allocations: 2.943 MB / 0.5412 GB, free: 124.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/1.171, allocations: 1.757 MB / 0.5429 GB, free: 123.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002252/1.173, allocations: 0.642 MB / 0.5436 GB, free: 123.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/1.173, allocations: 75.91 kB / 0.5436 GB, free: 123.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.54e-06/1.173, allocations: 3.594 kB / 0.5436 GB, free: 123.7 MB / 442.7 MB Notification: Performance of Templates: time 0.06834/1.241, allocations: 29.13 MB / 0.5721 GB, free: 119.4 MB / 442.7 MB