Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV,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_RLV") Notification: Performance of loadModel(Modelica): time 1.961/1.961, allocations: 225.8 MB / 238.9 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.795e-05/2.802e-05, allocations: 4 kB / 292.2 MB, free: 8.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08954/0.08959, allocations: 50.41 MB / 342.6 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3706/0.4602, allocations: 94.18 MB / 436.8 MB, free: 152 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.4605, allocations: 90.38 kB / 436.9 MB, free: 100 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1444/0.6049, allocations: 38.57 MB / 475.4 MB, free: 13.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.905e-06/0.605, allocations: 0 / 475.4 MB, free: 13.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001554/0.6051, allocations: 55.94 kB / 475.5 MB, free: 13.65 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: 464 * Number of variables: 464 Notification: Performance of Generate backend data structure: time 0.00485/0.61, allocations: 2.023 MB / 477.5 MB, free: 11.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.6101, allocations: 12.03 kB / 477.5 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006007/0.6107, allocations: 229.3 kB / 477.7 MB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006861/0.6175, allocations: 2.117 MB / 479.9 MB, free: 9.152 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.6177, allocations: 151.5 kB / 480 MB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004366/0.6182, allocations: 180 kB / 480.2 MB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005448/0.6237, allocations: 2.413 MB / 482.6 MB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-05/0.6237, allocations: 4 kB / 482.6 MB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002859/0.624, allocations: 72 kB / 482.7 MB, free: 6.258 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/0.6242, allocations: 79.58 kB / 482.7 MB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004565/0.6287, allocations: 1.955 MB / 484.7 MB, free: 4.223 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01515/0.6439, allocations: 7.056 MB / 491.8 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003048/0.647, allocations: 1.577 MB / 493.3 MB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002009/0.649, allocations: 0.9889 MB / 494.3 MB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.652e-05/0.6491, allocations: 17 kB / 494.3 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001836/0.651, allocations: 0.9055 MB / 495.2 MB, free: 9.531 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 4.866e-06/0.651, allocations: 0 / 495.2 MB, free: 9.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.003922/0.6549, allocations: 1.692 MB / 496.9 MB, free: 7.828 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.6551, allocations: 187.5 kB / 497.1 MB, free: 7.605 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/0.6573, allocations: 1.084 MB / 498.2 MB, free: 6.504 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001929/0.6575, allocations: 77.67 kB / 498.3 MB, free: 6.422 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009216/0.6584, allocations: 0.7691 MB / 499 MB, free: 5.641 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004928/0.659, allocations: 390.7 kB / 499.4 MB, free: 5.254 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.6591, allocations: 28 kB / 499.5 MB, free: 5.227 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002289/0.6593, allocations: 361.9 kB / 499.8 MB, free: 4.867 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.6608, allocations: 0.6755 MB / 0.4888 GB, free: 4.191 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.6625, allocations: 0.9458 MB / 0.4897 GB, free: 3.145 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.6641, allocations: 0.7271 MB / 0.4904 GB, free: 2.414 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.6641, allocations: 4 kB / 0.4904 GB, free: 2.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004437/0.6685, allocations: 1.989 MB / 0.4923 GB, free: 420 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001398/0.67, allocations: 2.46 MB / 0.4947 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.67, allocations: 7.938 kB / 0.4947 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/0.6716, allocations: 0.4909 MB / 0.4952 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.6727, allocations: 191.7 kB / 0.4954 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009642/0.6824, allocations: 5.213 MB / 0.5005 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.6839, allocations: 199 kB / 0.5007 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.6841, allocations: 47.98 kB / 0.5007 GB, free: 7.492 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.6841, allocations: 4 kB / 0.5007 GB, free: 7.488 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004101/0.6882, allocations: 1.847 MB / 0.5025 GB, free: 5.637 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.6883, allocations: 8.812 kB / 0.5025 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001517/0.6898, allocations: 0.4927 MB / 0.503 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000939/0.6908, allocations: 179.7 kB / 0.5032 GB, free: 4.957 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009536/0.7003, allocations: 5.219 MB / 0.5083 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.7024, allocations: 175.1 kB / 0.5085 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/0.7027, allocations: 48 kB / 0.5085 GB, free: 15.38 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 (143): * Single equations (assignments): 142 * 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.0008072/0.7035, allocations: 241.4 kB / 0.5087 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005675/0.7041, allocations: 130.4 kB / 0.5089 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000772/0.7049, allocations: 177.8 kB / 0.509 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/0.705, allocations: 19.94 kB / 0.5091 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.705, allocations: 0 / 0.5091 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.351e-05/0.7051, allocations: 11.94 kB / 0.5091 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01426/0.7193, allocations: 3.737 MB / 0.5127 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.7194, allocations: 0 / 0.5127 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/0.7209, allocations: 115.8 kB / 0.5128 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00303/0.724, allocations: 468.7 kB / 0.5133 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002433/0.7243, allocations: 23.98 kB / 0.5133 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01481/0.7391, allocations: 5.155 MB / 0.5183 GB, free: 5.105 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.12e-06/0.7392, allocations: 4 kB / 0.5183 GB, free: 5.102 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006971/0.7462, allocations: 2.707 MB / 0.521 GB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009718/0.7472, allocations: 379.2 kB / 0.5213 GB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004268/0.7476, allocations: 43.98 kB / 0.5214 GB, free: 1.945 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.7487, allocations: 111.9 kB / 0.5215 GB, free: 1.836 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006398/0.7493, allocations: 225 kB / 0.5217 GB, free: 1.617 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.7495, allocations: 39.98 kB / 0.5217 GB, free: 1.578 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001755/0.7512, allocations: 0.8092 MB / 0.5225 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.267e-06/0.7513, allocations: 0 / 0.5225 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.2969/1.048, allocations: 0.8916 MB / 0.5234 GB, free: 127.9 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[2].off,rectifier.thyristor_p.idealThyristor[3].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 (96): * Single equations (assignments): 86 * 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.0005201/1.049, allocations: 199.6 kB / 0.5236 GB, free: 127.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006411/1.055, allocations: 3.097 MB / 0.5266 GB, free: 127.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.595e-06/1.055, allocations: 4.094 kB / 0.5266 GB, free: 127.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001991/1.057, allocations: 1.062 MB / 0.5277 GB, free: 127.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/1.059, allocations: 334 kB / 0.528 GB, free: 127.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006764/1.066, allocations: 2.96 MB / 0.5309 GB, free: 126.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001887/1.068, allocations: 1.767 MB / 0.5326 GB, free: 126 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002444/1.07, allocations: 0.6467 MB / 0.5332 GB, free: 126 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/1.07, allocations: 74.41 kB / 0.5333 GB, free: 126 MB / 442.7 MB Notification: Performance of SimCode: time 2.439e-06/1.07, allocations: 0 / 0.5333 GB, free: 126 MB / 442.7 MB Notification: Performance of Templates: time 0.06221/1.133, allocations: 29.23 MB / 0.5618 GB, free: 123.6 MB / 442.7 MB