Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") Notification: Performance of loadModel(Modelica): time 2.269/2.269, allocations: 194.9 MB / 211.2 MB, free: 9.035 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.052e-05/3.057e-05, allocations: 4 kB / 258.8 MB, free: 9.367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3154, allocations: 44.51 MB / 303.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV): time 0.0084/0.3239, allocations: 3.866 MB / 307.2 MB, free: 9.598 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003613/0.3276, allocations: 1.183 MB / 308.4 MB, free: 8.633 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005459/0.3282, allocations: 34.28 kB / 308.4 MB, free: 8.625 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004779/0.3287, allocations: 102.3 kB / 308.5 MB, free: 8.535 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007496/0.3294, allocations: 209.1 kB / 308.7 MB, free: 8.344 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000775/0.3302, allocations: 206.8 kB / 308.9 MB, free: 8.176 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008567/0.3311, allocations: 432.3 kB / 309.3 MB, free: 7.754 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005198/0.3316, allocations: 233.2 kB / 309.6 MB, free: 7.523 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003867/0.332, allocations: 203.3 kB / 309.8 MB, free: 7.324 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004285/0.3325, allocations: 239 kB / 310 MB, free: 7.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.3326, allocations: 28 kB / 310 MB, free: 7.062 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.54e-05/0.3327, allocations: 24 kB / 310 MB, free: 7.039 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.3329, allocations: 111.5 kB / 310.1 MB, free: 6.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.3331, allocations: 52 kB / 310.2 MB, free: 6.879 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009626/0.334, allocations: 0.6934 MB / 310.9 MB, free: 6.184 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3341, allocations: 0 / 310.9 MB, free: 6.184 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3341, allocations: 0 / 310.9 MB, free: 6.184 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.3341, allocations: 0 / 310.9 MB, free: 6.184 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002177/0.3363, allocations: 0.8478 MB / 311.7 MB, free: 5.289 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.3363, allocations: 8.031 kB / 311.7 MB, free: 5.281 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.3366, allocations: 79.06 kB / 311.8 MB, free: 5.203 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.3376, allocations: 477.8 kB / 312.3 MB, free: 4.691 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-05/0.3377, allocations: 53.31 kB / 312.3 MB, free: 4.641 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.3379, allocations: 60 kB / 312.4 MB, free: 4.582 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.3397, allocations: 0.6418 MB / 313 MB, free: 3.918 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.271e-05/0.3397, allocations: 4 kB / 313 MB, free: 3.914 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.786e-05/0.3398, allocations: 31.97 kB / 313.1 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-05/0.3399, allocations: 19.94 kB / 313.1 MB, free: 3.863 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.3415, allocations: 480.9 kB / 313.6 MB, free: 3.391 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005694/0.3472, allocations: 2.278 MB / 315.8 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.3487, allocations: 456.5 kB / 316.3 MB, free: 0.543 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.351e-05/0.3487, allocations: 4 kB / 316.3 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009702/0.3497, allocations: 331.3 kB / 316.6 MB, free: 200 kB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 6.452e-06/0.3497, allocations: 0 / 316.6 MB, free: 200 kB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.003288/0.353, allocations: 0.813 MB / 317.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.826e-05/0.3532, allocations: 115.2 kB / 317.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008079/0.354, allocations: 404.9 kB / 317.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.294e-05/0.3541, allocations: 41.7 kB / 318 MB, free: 14.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/0.3545, allocations: 350.9 kB / 318.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.3547, allocations: 145.9 kB / 318.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.3547, allocations: 8 kB / 318.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3549, allocations: 338.8 kB / 318.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006289/0.3556, allocations: 173 kB / 319 MB, free: 13.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000792/0.3564, allocations: 332.5 kB / 319.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006534/0.357, allocations: 192.7 kB / 319.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.3571, allocations: 0 / 319.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001756/0.3588, allocations: 0.5668 MB / 320.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008809/0.3597, allocations: 1.666 MB / 321.7 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.3598, allocations: 4 kB / 321.7 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000564/0.3603, allocations: 80.81 kB / 321.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006837/0.361, allocations: 95.83 kB / 321.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002972/0.364, allocations: 1.816 MB / 323.7 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007096/0.3648, allocations: 63.52 kB / 323.8 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-05/0.3649, allocations: 24 kB / 323.8 MB, free: 8.598 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.3649, allocations: 4 kB / 323.8 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001517/0.3664, allocations: 0.5149 MB / 324.3 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.3665, allocations: 4 kB / 324.3 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003561/0.3668, allocations: 76.83 kB / 324.4 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.3674, allocations: 87.83 kB / 324.5 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/0.3702, allocations: 1.799 MB / 326.3 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/0.3708, allocations: 55.73 kB / 326.3 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/0.3709, allocations: 20 kB / 326.4 MB, free: 5.898 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 (62): * Single equations (assignments): 61 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005325/0.3714, allocations: 230.2 kB / 326.6 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.3716, allocations: 51.34 kB / 326.6 MB, free: 5.617 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.3718, allocations: 69.44 kB / 326.7 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.3718, allocations: 8 kB / 326.7 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.3718, allocations: 7.891 kB / 326.7 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.3718, allocations: 0 / 326.7 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/0.375, allocations: 1.246 MB / 328 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.3751, allocations: 0 / 328 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005077/0.3756, allocations: 59.97 kB / 328 MB, free: 4.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004159/0.376, allocations: 77.03 kB / 328.1 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/0.3761, allocations: 15.98 kB / 328.1 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002813/0.3789, allocations: 1.792 MB / 329.9 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3789, allocations: 0 / 329.9 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.3814, allocations: 0.8601 MB / 330.8 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003348/0.3817, allocations: 168.3 kB / 330.9 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.3819, allocations: 19.98 kB / 330.9 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005345/0.3824, allocations: 35.97 kB / 331 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.3826, allocations: 52.36 kB / 331 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.813e-05/0.3827, allocations: 12 kB / 331 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005699/0.3833, allocations: 307.1 kB / 331.3 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3833, allocations: 4 kB / 331.3 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0014/0.3847, allocations: 287.1 kB / 331.6 MB, free: 360 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002509/0.385, allocations: 137.5 kB / 331.8 MB, free: 212 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002777/0.3878, allocations: 1.002 MB / 332.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.3878, allocations: 8.062 kB / 332.8 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.3889, allocations: 393 kB / 333.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00075/0.3897, allocations: 82.11 kB / 333.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003499/0.3932, allocations: 1.442 MB / 334.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006907/0.3939, allocations: 0.9217 MB / 335.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.3942, allocations: 43.42 kB / 335.6 MB, free: 12.22 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3942, allocations: 0 / 335.6 MB, free: 12.22 MB / 282.7 MB Notification: Performance of Templates: time 0.02155/0.4157, allocations: 9.704 MB / 345.3 MB, free: 2.535 MB / 282.7 MB