Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadModel(Modelica): time 2.02/2.02, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.446e-05, allocations: 4 kB / 258.8 MB, free: 8.031 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3084, allocations: 44.5 MB / 303.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R): time 0.006511/0.315, allocations: 3.691 MB / 307 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003367/0.3184, allocations: 1.158 MB / 308.2 MB, free: 8.742 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006147/0.3191, allocations: 27.94 kB / 308.2 MB, free: 8.715 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006627/0.3198, allocations: 95.3 kB / 308.3 MB, free: 8.621 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.3211, allocations: 199.2 kB / 308.5 MB, free: 8.426 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000928/0.3221, allocations: 199.6 kB / 308.7 MB, free: 8.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009872/0.3231, allocations: 404.4 kB / 309.1 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005259/0.3237, allocations: 232.8 kB / 309.3 MB, free: 7.605 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003956/0.3241, allocations: 187.4 kB / 309.5 MB, free: 7.422 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003834/0.3245, allocations: 215.1 kB / 309.7 MB, free: 7.211 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.3246, allocations: 24 kB / 309.7 MB, free: 7.188 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.872e-05/0.3247, allocations: 20 kB / 309.8 MB, free: 7.168 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.3249, allocations: 107.5 kB / 309.9 MB, free: 7.062 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.325, allocations: 48 kB / 309.9 MB, free: 7.016 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009336/0.326, allocations: 0.6623 MB / 310.6 MB, free: 6.352 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.326, allocations: 0 / 310.6 MB, free: 6.352 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.326, allocations: 0 / 310.6 MB, free: 6.352 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.406e-05/0.326, allocations: 0 / 310.6 MB, free: 6.352 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002199/0.3283, allocations: 0.8222 MB / 311.4 MB, free: 5.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.3283, allocations: 8.031 kB / 311.4 MB, free: 5.473 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.3285, allocations: 71.16 kB / 311.5 MB, free: 5.402 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.3297, allocations: 458 kB / 311.9 MB, free: 4.914 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.976e-05/0.3298, allocations: 45.31 kB / 312 MB, free: 4.871 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.33, allocations: 59.98 kB / 312 MB, free: 4.812 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.3318, allocations: 0.6067 MB / 312.6 MB, free: 4.184 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/0.3318, allocations: 0 / 312.6 MB, free: 4.184 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.131e-05/0.3319, allocations: 24 kB / 312.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.332, allocations: 20 kB / 312.7 MB, free: 4.141 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.3336, allocations: 460.9 kB / 313.1 MB, free: 3.688 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005397/0.339, allocations: 2.162 MB / 315.3 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.3404, allocations: 423.5 kB / 315.7 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.596e-05/0.3405, allocations: 4 kB / 315.7 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000927/0.3414, allocations: 323.9 kB / 316 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 3.437e-06/0.3414, allocations: 4 kB / 316 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of matching and sorting (n=46): time 0.003368/0.3448, allocations: 0.8039 MB / 316.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.345, allocations: 114.8 kB / 316.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007984/0.3458, allocations: 381 kB / 317.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.3459, allocations: 57.62 kB / 317.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/0.3462, allocations: 292.4 kB / 317.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.3464, allocations: 134.2 kB / 317.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.3465, allocations: 8 kB / 317.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.3467, allocations: 362.8 kB / 318.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006007/0.3473, allocations: 169 kB / 318.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007528/0.348, allocations: 324.1 kB / 318.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006531/0.3487, allocations: 187.9 kB / 318.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.3487, allocations: 4 kB / 318.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001842/0.3506, allocations: 0.5795 MB / 319.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008608/0.3515, allocations: 1.657 MB / 321 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.3515, allocations: 8 kB / 321.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005378/0.3521, allocations: 84.81 kB / 321.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/0.3527, allocations: 83.83 kB / 321.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003006/0.3557, allocations: 1.854 MB / 323.1 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007016/0.3565, allocations: 75.44 kB / 323.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-05/0.3566, allocations: 24 kB / 323.2 MB, free: 9.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.3566, allocations: 8.062 kB / 323.2 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001653/0.3583, allocations: 497.1 kB / 323.7 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.3583, allocations: 7.953 kB / 323.7 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004302/0.3588, allocations: 84.81 kB / 323.8 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/0.3593, allocations: 83.83 kB / 323.8 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003111/0.3625, allocations: 1.851 MB / 325.7 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006575/0.3632, allocations: 51.67 kB / 325.7 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.238e-05/0.3633, allocations: 24 kB / 325.8 MB, free: 6.344 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005307/0.3638, allocations: 229.6 kB / 326 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.364, allocations: 59.44 kB / 326 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.3641, allocations: 60.95 kB / 326.1 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.3642, allocations: 4 kB / 326.1 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3642, allocations: 0 / 326.1 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.3642, allocations: 0 / 326.1 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003196/0.3674, allocations: 1.203 MB / 327.3 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.3675, allocations: 11.94 kB / 327.3 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004517/0.3679, allocations: 47.97 kB / 327.4 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004204/0.3684, allocations: 81 kB / 327.4 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.108e-05/0.3684, allocations: 11.98 kB / 327.5 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003026/0.3715, allocations: 1.769 MB / 329.2 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/0.3715, allocations: 8.016 kB / 329.2 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/0.374, allocations: 0.8379 MB / 330.1 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/0.3744, allocations: 172.3 kB / 330.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.3746, allocations: 12 kB / 330.3 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005299/0.3751, allocations: 39.97 kB / 330.3 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/0.3754, allocations: 55.83 kB / 330.3 MB, free: 1.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-05/0.3754, allocations: 16 kB / 330.4 MB, free: 1.469 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005698/0.376, allocations: 295.1 kB / 330.7 MB, free: 1.176 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.376, allocations: 0 / 330.7 MB, free: 1.176 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00146/0.3775, allocations: 287 kB / 330.9 MB, free: 0.8945 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p.off,rectifier.thyristor_n.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002621/0.3778, allocations: 129.5 kB / 331.1 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.003044/0.3809, allocations: 1 MB / 332.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.3809, allocations: 4 kB / 332.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.382, allocations: 399.3 kB / 332.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007694/0.3828, allocations: 70.44 kB / 332.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.386, allocations: 1.279 MB / 333.8 MB, free: 13.94 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007057/0.3868, allocations: 0.9117 MB / 334.7 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007417/0.3876, allocations: 108.5 kB / 334.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.3877, allocations: 35.42 kB / 334.9 MB, free: 12.86 MB / 282.7 MB Notification: Performance of SimCode: time 1.233e-06/0.3877, allocations: 0 / 334.9 MB, free: 12.86 MB / 282.7 MB Notification: Performance of Templates: time 0.02547/0.4132, allocations: 7.803 MB / 342.7 MB, free: 5.082 MB / 282.7 MB