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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") Notification: Performance of loadModel(Modelica): time 1.911/1.911, allocations: 194.9 MB / 210.6 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.612e-05, allocations: 7.906 kB / 258.8 MB, free: 7.836 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3357, 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_RLV): time 0.006565/0.3423, allocations: 3.869 MB / 307.2 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003275/0.3456, allocations: 1.181 MB / 308.4 MB, free: 8.508 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004616/0.3461, allocations: 31.88 kB / 308.4 MB, free: 8.477 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004522/0.3466, allocations: 99.28 kB / 308.5 MB, free: 8.379 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007305/0.3473, allocations: 215.2 kB / 308.7 MB, free: 8.168 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007776/0.3481, allocations: 211.6 kB / 308.9 MB, free: 7.961 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000874/0.349, allocations: 424.4 kB / 309.3 MB, free: 7.547 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005091/0.3496, allocations: 237.2 kB / 309.6 MB, free: 7.312 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003522/0.3499, allocations: 199.3 kB / 309.8 MB, free: 7.117 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004082/0.3504, allocations: 243 kB / 310 MB, free: 6.879 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.3505, allocations: 24 kB / 310 MB, free: 6.855 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.156e-05/0.3506, allocations: 27.94 kB / 310.1 MB, free: 6.828 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.3507, allocations: 107.5 kB / 310.2 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.3509, allocations: 52 kB / 310.2 MB, free: 6.672 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009455/0.3519, allocations: 0.7012 MB / 310.9 MB, free: 5.969 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3519, allocations: 0 / 310.9 MB, free: 5.969 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.624e-06/0.3519, allocations: 0 / 310.9 MB, free: 5.969 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.3519, allocations: 0 / 310.9 MB, free: 5.969 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.002157/0.3541, allocations: 0.8439 MB / 311.8 MB, free: 5.078 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.3542, allocations: 12.02 kB / 311.8 MB, free: 5.066 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.3544, allocations: 83.05 kB / 311.9 MB, free: 4.984 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.3554, allocations: 477.8 kB / 312.3 MB, free: 4.473 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.359e-05/0.3555, allocations: 53.31 kB / 312.4 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.3557, allocations: 63.98 kB / 312.4 MB, free: 4.359 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.3574, allocations: 0.634 MB / 313.1 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/0.3575, allocations: 7.938 kB / 313.1 MB, free: 3.695 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.19e-05/0.3576, allocations: 28 kB / 313.1 MB, free: 3.668 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.3576, allocations: 16 kB / 313.1 MB, free: 3.652 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.3591, allocations: 477 kB / 313.6 MB, free: 3.184 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005153/0.3643, allocations: 2.282 MB / 315.9 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.3656, allocations: 454.8 kB / 316.3 MB, free: 344 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-05/0.3657, allocations: 4 kB / 316.3 MB, free: 340 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008891/0.3666, allocations: 327.4 kB / 316.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 8.045e-06/0.3666, allocations: 0 / 316.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=49): time 0.003091/0.3697, allocations: 0.8168 MB / 317.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/0.3698, allocations: 119.2 kB / 317.6 MB, free: 15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007333/0.3706, allocations: 400.9 kB / 318 MB, free: 14.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.128e-05/0.3707, allocations: 45.69 kB / 318 MB, free: 14.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.371, allocations: 308.4 kB / 318.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.3712, allocations: 145.9 kB / 318.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.3712, allocations: 12 kB / 318.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.3714, allocations: 362.8 kB / 318.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005972/0.372, allocations: 181 kB / 319 MB, free: 13.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007322/0.3728, allocations: 328.5 kB / 319.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006306/0.3734, allocations: 192.8 kB / 319.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.086e-06/0.3735, allocations: 4 kB / 319.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001732/0.3752, allocations: 0.5974 MB / 320.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006787/0.3759, allocations: 1.665 MB / 321.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.3759, allocations: 4 kB / 321.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000444/0.3764, allocations: 80.75 kB / 321.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006329/0.377, allocations: 95.83 kB / 321.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0027/0.3798, allocations: 1.808 MB / 323.8 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006692/0.3805, allocations: 71.47 kB / 323.8 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/0.3805, allocations: 28 kB / 323.8 MB, free: 8.355 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.3806, allocations: 4 kB / 323.9 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001486/0.3821, allocations: 0.5108 MB / 324.4 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3821, allocations: 4 kB / 324.4 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003682/0.3825, allocations: 76.81 kB / 324.4 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/0.383, allocations: 87.83 kB / 324.5 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/0.3856, allocations: 1.804 MB / 326.3 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006047/0.3863, allocations: 63.56 kB / 326.4 MB, free: 5.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.277e-05/0.3863, allocations: 20 kB / 326.4 MB, free: 5.645 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.0005007/0.3869, allocations: 245.7 kB / 326.7 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.387, allocations: 51.34 kB / 326.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.3872, allocations: 53.42 kB / 326.8 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.3872, allocations: 4 kB / 326.8 MB, free: 5.293 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.3872, allocations: 11.89 kB / 326.8 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.3872, allocations: 3.984 kB / 326.8 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/0.3902, allocations: 1.246 MB / 328 MB, free: 3.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.3903, allocations: 4.062 kB / 328 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004936/0.3908, allocations: 55.91 kB / 328.1 MB, free: 3.906 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000349/0.3911, allocations: 72.81 kB / 328.2 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/0.3912, allocations: 12 kB / 328.2 MB, free: 3.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002631/0.3938, allocations: 1.788 MB / 330 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3939, allocations: 4.031 kB / 330 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.3962, allocations: 0.8561 MB / 330.8 MB, free: 1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.3965, allocations: 176.4 kB / 331 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.3966, allocations: 12 kB / 331 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005424/0.3972, allocations: 43.97 kB / 331 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/0.3974, allocations: 52.36 kB / 331.1 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.275e-05/0.3975, allocations: 19.98 kB / 331.1 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005337/0.398, allocations: 303.4 kB / 331.4 MB, free: 392 kB / 266.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.398, allocations: 0 / 331.4 MB, free: 392 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.001274/0.3993, allocations: 295 kB / 331.7 MB, free: 96 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.0002388/0.3996, allocations: 133.5 kB / 331.8 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002845/0.4024, allocations: 1.027 MB / 332.9 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.4025, allocations: 4 kB / 332.9 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009796/0.4035, allocations: 386 kB / 333.2 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006979/0.4042, allocations: 77.88 kB / 333.3 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.4074, allocations: 1.423 MB / 334.7 MB, free: 12.97 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/0.4081, allocations: 0.9264 MB / 335.7 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007649/0.4089, allocations: 116.5 kB / 335.8 MB, free: 11.9 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.4091, allocations: 31.44 kB / 335.8 MB, free: 11.87 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4091, allocations: 4 kB / 335.8 MB, free: 11.86 MB / 282.7 MB Notification: Performance of Templates: time 0.02318/0.4323, allocations: 7.844 MB / 343.6 MB, free: 4.051 MB / 282.7 MB