Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadModel(Modelica): time 2.089/2.089, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.237e-05, allocations: 7.906 kB / 258.8 MB, free: 8.68 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.306, allocations: 44.5 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV): time 0.007223/0.3133, allocations: 4.089 MB / 307.4 MB, free: 9.535 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003729/0.3171, allocations: 1.26 MB / 308.7 MB, free: 8.332 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008967/0.3181, allocations: 39.88 kB / 308.7 MB, free: 8.293 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006456/0.3187, allocations: 111.2 kB / 308.8 MB, free: 8.184 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.32, allocations: 239.2 kB / 309 MB, free: 7.949 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009895/0.321, allocations: 219.6 kB / 309.3 MB, free: 7.734 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.3225, allocations: 484.5 kB / 309.7 MB, free: 7.258 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006665/0.3232, allocations: 261.7 kB / 310 MB, free: 7 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005535/0.3237, allocations: 231.2 kB / 310.2 MB, free: 6.773 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004839/0.3243, allocations: 266.9 kB / 310.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.3244, allocations: 28 kB / 310.5 MB, free: 6.484 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.3245, allocations: 24 kB / 310.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.3247, allocations: 119.5 kB / 310.6 MB, free: 6.344 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.3249, allocations: 60 kB / 310.7 MB, free: 6.285 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.3261, allocations: 0.783 MB / 311.5 MB, free: 5.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3261, allocations: 0 / 311.5 MB, free: 5.5 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.3262, allocations: 4 kB / 311.5 MB, free: 5.496 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.857e-05/0.3262, allocations: 0 / 311.5 MB, free: 5.496 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.002577/0.3288, allocations: 0.8912 MB / 312.4 MB, free: 4.555 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.3289, allocations: 12.03 kB / 312.4 MB, free: 4.543 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002936/0.3292, allocations: 86.97 kB / 312.5 MB, free: 4.457 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.3305, allocations: 0.4946 MB / 313 MB, free: 3.922 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.817e-05/0.3306, allocations: 57.98 kB / 313 MB, free: 3.863 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.3308, allocations: 72 kB / 313.1 MB, free: 3.793 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.3329, allocations: 0.7225 MB / 313.8 MB, free: 3.043 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.702e-05/0.333, allocations: 7.875 kB / 313.8 MB, free: 3.035 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.3331, allocations: 32 kB / 313.9 MB, free: 3.004 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.3332, allocations: 16 kB / 313.9 MB, free: 2.988 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.3351, allocations: 0.5282 MB / 314.4 MB, free: 2.457 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006584/0.3417, allocations: 2.651 MB / 317.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.3434, allocations: 0.5507 MB / 317.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-05/0.3435, allocations: 12.56 kB / 317.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.3445, allocations: 377.7 kB / 318 MB, free: 14.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 3.497e-06/0.3446, allocations: 4 kB / 318 MB, free: 14.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=60): time 0.00439/0.349, allocations: 1.073 MB / 319.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.3491, allocations: 119.4 kB / 319.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008163/0.3499, allocations: 409.1 kB / 319.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001613/0.3501, allocations: 49.69 kB / 319.6 MB, free: 13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.3505, allocations: 354.7 kB / 320 MB, free: 12.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/0.3507, allocations: 189.4 kB / 320.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.3508, allocations: 8 kB / 320.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.351, allocations: 342.8 kB / 320.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007082/0.3517, allocations: 205.9 kB / 320.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008377/0.3525, allocations: 365 kB / 321.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007311/0.3533, allocations: 222.1 kB / 321.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.3533, allocations: 4 kB / 321.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00206/0.3554, allocations: 0.672 MB / 322 MB, free: 10.58 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007351/0.3562, allocations: 1.665 MB / 323.6 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.3562, allocations: 4 kB / 323.6 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008139/0.357, allocations: 145.6 kB / 323.8 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007508/0.3578, allocations: 99.88 kB / 323.9 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005405/0.3632, allocations: 3.483 MB / 327.3 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008383/0.3641, allocations: 71.5 kB / 327.4 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.25e-05/0.3642, allocations: 27.94 kB / 327.4 MB, free: 4.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3643, allocations: 5.562 kB / 327.4 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001873/0.3662, allocations: 0.6042 MB / 328 MB, free: 4.074 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.3662, allocations: 12.52 kB / 328.1 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006413/0.3669, allocations: 149.6 kB / 328.2 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006964/0.3676, allocations: 91.83 kB / 328.3 MB, free: 3.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005217/0.3728, allocations: 3.467 MB / 331.8 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006216/0.3735, allocations: 63.52 kB / 331.8 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-05/0.3736, allocations: 28.03 kB / 331.9 MB, free: 15.99 MB / 282.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: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 (69): * Single equations (assignments): 67 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006289/0.3742, allocations: 245.6 kB / 332.1 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.3745, allocations: 71.19 kB / 332.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.3747, allocations: 65.59 kB / 332.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/0.3747, allocations: 4 kB / 332.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.3747, allocations: 0 / 332.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/0.3747, allocations: 7.984 kB / 332.2 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003799/0.3785, allocations: 1.45 MB / 333.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.3786, allocations: 0 / 333.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000565/0.3792, allocations: 55.91 kB / 333.7 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006763/0.3799, allocations: 133.6 kB / 333.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.253e-05/0.38, allocations: 15.98 kB / 333.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005168/0.3851, allocations: 3.324 MB / 337.2 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3852, allocations: 0 / 337.2 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003/0.3882, allocations: 1.014 MB / 338.2 MB, free: 9.227 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004477/0.3887, allocations: 180.4 kB / 338.4 MB, free: 9.031 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.3889, allocations: 15.98 kB / 338.4 MB, free: 9.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006132/0.3895, allocations: 31.98 kB / 338.5 MB, free: 8.984 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003125/0.3898, allocations: 92.33 kB / 338.5 MB, free: 8.895 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.237e-05/0.3899, allocations: 19.98 kB / 338.6 MB, free: 8.875 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006587/0.3906, allocations: 318.9 kB / 338.9 MB, free: 8.566 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3906, allocations: 0 / 338.9 MB, free: 8.566 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001656/0.3923, allocations: 350.8 kB / 339.2 MB, free: 8.223 MB / 282.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: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n2.off,rectifier.thyristor_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000302/0.3926, allocations: 131.5 kB / 339.3 MB, free: 8.086 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003659/0.3963, allocations: 1.397 MB / 340.7 MB, free: 6.637 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/0.3963, allocations: 4 kB / 340.7 MB, free: 6.633 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.3977, allocations: 0.5708 MB / 341.3 MB, free: 6.039 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009321/0.3987, allocations: 98.25 kB / 341.4 MB, free: 5.945 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/0.4031, allocations: 1.626 MB / 343 MB, free: 4.281 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007846/0.404, allocations: 0.9469 MB / 344 MB, free: 3.309 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.4043, allocations: 47.42 kB / 344 MB, free: 3.262 MB / 282.7 MB Notification: Performance of SimCode: time 1.302e-06/0.4043, allocations: 0 / 344 MB, free: 3.262 MB / 282.7 MB Notification: Performance of Templates: time 0.02955/0.4339, allocations: 13.65 MB / 357.7 MB, free: 5.602 MB / 298.7 MB