Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadModel(Modelica): time 1.92/1.92, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.942e-05, allocations: 4 kB / 258.8 MB, free: 8.035 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3025, allocations: 44.5 MB / 303.3 MB, free: 12.99 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL): time 0.006947/0.3095, allocations: 4.005 MB / 307.3 MB, free: 9.598 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003552/0.3131, allocations: 1.244 MB / 308.6 MB, free: 8.344 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007329/0.3139, allocations: 35.88 kB / 308.6 MB, free: 8.309 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006077/0.3145, allocations: 103.2 kB / 308.7 MB, free: 8.207 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.3158, allocations: 239.2 kB / 309 MB, free: 7.973 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.3168, allocations: 211.6 kB / 309.2 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00136/0.3182, allocations: 472.5 kB / 309.6 MB, free: 7.301 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007387/0.319, allocations: 257.6 kB / 309.9 MB, free: 7.051 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008393/0.3199, allocations: 219.3 kB / 310.1 MB, free: 6.836 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005367/0.3204, allocations: 255 kB / 310.3 MB, free: 6.586 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.3206, allocations: 27.94 kB / 310.4 MB, free: 6.559 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.3207, allocations: 28 kB / 310.4 MB, free: 6.531 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.3209, allocations: 115.5 kB / 310.5 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.3211, allocations: 63.94 kB / 310.6 MB, free: 6.355 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.3222, allocations: 0.7635 MB / 311.3 MB, free: 5.59 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3222, allocations: 0 / 311.3 MB, free: 5.59 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.3223, allocations: 0 / 311.3 MB, free: 5.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.3223, allocations: 4 kB / 311.3 MB, free: 5.586 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.0024/0.3247, allocations: 0.8779 MB / 312.2 MB, free: 4.656 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.3248, allocations: 12.03 kB / 312.2 MB, free: 4.645 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002515/0.325, allocations: 82.97 kB / 312.3 MB, free: 4.562 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.3262, allocations: 493.9 kB / 312.8 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.823e-05/0.3263, allocations: 53.31 kB / 312.8 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.3264, allocations: 64 kB / 312.9 MB, free: 3.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.3284, allocations: 0.702 MB / 313.6 MB, free: 3.199 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/0.3285, allocations: 7.906 kB / 313.6 MB, free: 3.191 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.943e-05/0.3286, allocations: 24 kB / 313.6 MB, free: 3.168 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/0.3286, allocations: 16 kB / 313.7 MB, free: 3.152 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.3303, allocations: 0.5282 MB / 314.2 MB, free: 2.621 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007197/0.3375, allocations: 2.588 MB / 316.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002581/0.3402, allocations: 0.5512 MB / 317.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.482e-05/0.3403, allocations: 8.438 kB / 317.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001792/0.3422, allocations: 379.6 kB / 317.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=59): time 6.662e-06/0.3422, allocations: 4 kB / 317.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.006178/0.3484, allocations: 1.069 MB / 318.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.3486, allocations: 115.3 kB / 318.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.3498, allocations: 416.9 kB / 319.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002189/0.35, allocations: 41.7 kB / 319.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005426/0.3506, allocations: 308.4 kB / 319.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004941/0.3511, allocations: 181.5 kB / 319.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-05/0.3512, allocations: 12 kB / 319.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003249/0.3516, allocations: 374.7 kB / 320.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.3528, allocations: 205.2 kB / 320.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.3543, allocations: 357.5 kB / 320.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.3555, allocations: 222.1 kB / 321 MB, free: 11.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/0.3556, allocations: 4 kB / 321 MB, free: 11.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003221/0.3588, allocations: 0.6912 MB / 321.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009817/0.3598, allocations: 1.67 MB / 323.3 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/0.3599, allocations: 4 kB / 323.3 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.3611, allocations: 149.6 kB / 323.5 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.3622, allocations: 99.83 kB / 323.6 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007615/0.3699, allocations: 3.479 MB / 327 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.3711, allocations: 83.36 kB / 327.1 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.822e-05/0.3713, allocations: 20 kB / 327.1 MB, free: 4.922 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3713, allocations: 4 kB / 327.2 MB, free: 4.918 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002779/0.3741, allocations: 0.6047 MB / 327.8 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.3742, allocations: 4 kB / 327.8 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/0.3753, allocations: 157.7 kB / 327.9 MB, free: 4.145 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009982/0.3763, allocations: 91.83 kB / 328 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007453/0.3838, allocations: 3.483 MB / 331.5 MB, free: 308 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.3849, allocations: 59.52 kB / 331.5 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.385, allocations: 32.06 kB / 331.6 MB, free: 216 kB / 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: 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 (68): * Single equations (assignments): 66 * 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.0008444/0.3859, allocations: 241.7 kB / 331.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/0.3862, allocations: 59.09 kB / 331.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.3865, allocations: 77.45 kB / 331.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.3865, allocations: 4 kB / 332 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.3865, allocations: 0 / 332 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.3866, allocations: 3.984 kB / 332 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005508/0.3921, allocations: 1.427 MB / 333.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.3922, allocations: 4 kB / 333.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008553/0.3931, allocations: 63.84 kB / 333.4 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.3941, allocations: 129.6 kB / 333.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-05/0.3942, allocations: 12 kB / 333.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00735/0.4016, allocations: 3.328 MB / 336.9 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.679e-06/0.4017, allocations: 4.031 kB / 336.9 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004362/0.4061, allocations: 0.9944 MB / 337.9 MB, free: 9.484 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006294/0.4067, allocations: 188.2 kB / 338.1 MB, free: 9.281 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/0.407, allocations: 16 kB / 338.1 MB, free: 9.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008775/0.4079, allocations: 31.97 kB / 338.1 MB, free: 9.234 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004186/0.4083, allocations: 84.39 kB / 338.2 MB, free: 9.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-05/0.4085, allocations: 19.98 kB / 338.2 MB, free: 9.129 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008633/0.4093, allocations: 319.1 kB / 338.6 MB, free: 8.816 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.4094, allocations: 0 / 338.6 MB, free: 8.816 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002546/0.4119, allocations: 342.9 kB / 338.9 MB, free: 8.48 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_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * 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.0003833/0.4124, allocations: 133.5 kB / 339 MB, free: 8.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.005111/0.4175, allocations: 1.407 MB / 340.4 MB, free: 6.883 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.4176, allocations: 448 / 340.4 MB, free: 6.883 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001978/0.4196, allocations: 0.5667 MB / 341 MB, free: 6.285 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.4209, allocations: 97.92 kB / 341.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005457/0.4264, allocations: 1.579 MB / 342.7 MB, free: 4.582 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.4275, allocations: 0.9477 MB / 343.6 MB, free: 3.609 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001136/0.4287, allocations: 112.8 kB / 343.7 MB, free: 3.496 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.4289, allocations: 35.44 kB / 343.8 MB, free: 3.461 MB / 282.7 MB Notification: Performance of SimCode: time 1.153e-06/0.429, allocations: 0 / 343.8 MB, free: 3.461 MB / 282.7 MB Notification: Performance of Templates: time 0.03141/0.4604, allocations: 10.52 MB / 354.3 MB, free: 8.961 MB / 298.7 MB