Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadModel(Modelica): time 2.118/2.118, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.939e-05/2.949e-05, allocations: 3.938 kB / 258.8 MB, free: 8.691 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3275, allocations: 44.51 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL): time 0.007017/0.3346, allocations: 3.777 MB / 307.1 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003568/0.3383, allocations: 1.175 MB / 308.3 MB, free: 8.738 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006433/0.339, allocations: 27.94 kB / 308.3 MB, free: 8.711 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000486/0.3395, allocations: 99.23 kB / 308.4 MB, free: 8.613 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000728/0.3402, allocations: 211.2 kB / 308.6 MB, free: 8.406 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007591/0.341, allocations: 203.6 kB / 308.8 MB, free: 8.207 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009077/0.3419, allocations: 424.4 kB / 309.2 MB, free: 7.793 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005211/0.3424, allocations: 232.8 kB / 309.4 MB, free: 7.562 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000483/0.3429, allocations: 195.4 kB / 309.6 MB, free: 7.371 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004309/0.3434, allocations: 227.1 kB / 309.8 MB, free: 7.148 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.3435, allocations: 27.94 kB / 309.9 MB, free: 7.121 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.695e-05/0.3436, allocations: 20 kB / 309.9 MB, free: 7.102 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.3438, allocations: 103.6 kB / 310 MB, free: 7 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.344, allocations: 52 kB / 310 MB, free: 6.949 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009981/0.345, allocations: 0.6701 MB / 310.7 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.345, allocations: 4 kB / 310.7 MB, free: 6.273 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.345, allocations: 0 / 310.7 MB, free: 6.273 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.345, allocations: 0 / 310.7 MB, free: 6.273 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002233/0.3473, allocations: 0.839 MB / 311.6 MB, free: 5.383 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.3474, allocations: 12.03 kB / 311.6 MB, free: 5.371 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.3476, allocations: 79.06 kB / 311.6 MB, free: 5.293 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.3486, allocations: 458.1 kB / 312.1 MB, free: 4.805 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.72e-05/0.3487, allocations: 45.31 kB / 312.1 MB, free: 4.762 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.3489, allocations: 60 kB / 312.2 MB, free: 4.703 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.3507, allocations: 0.634 MB / 312.8 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.3507, allocations: 4 kB / 312.8 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-05/0.3508, allocations: 20 kB / 312.9 MB, free: 4.023 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.3509, allocations: 16 kB / 312.9 MB, free: 4.008 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.3524, allocations: 472.9 kB / 313.3 MB, free: 3.543 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005812/0.3582, allocations: 2.243 MB / 315.6 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.3596, allocations: 438.1 kB / 316 MB, free: 0.75 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.508e-05/0.3596, allocations: 8 kB / 316 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001144/0.3608, allocations: 335.3 kB / 316.3 MB, free: 404 kB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 1.145e-05/0.3608, allocations: 0 / 316.3 MB, free: 404 kB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.003544/0.3644, allocations: 0.8052 MB / 317.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.412e-05/0.3645, allocations: 119.2 kB / 317.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007475/0.3653, allocations: 381 kB / 317.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.272e-05/0.3654, allocations: 45.69 kB / 317.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/0.3657, allocations: 338.9 kB / 318 MB, free: 14.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.3659, allocations: 146 kB / 318.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.366, allocations: 12 kB / 318.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3661, allocations: 334.8 kB / 318.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005985/0.3668, allocations: 173 kB / 318.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007366/0.3675, allocations: 324.5 kB / 319 MB, free: 13.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006452/0.3682, allocations: 200.7 kB / 319.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3682, allocations: 0 / 319.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001719/0.3699, allocations: 0.5593 MB / 319.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000696/0.3706, allocations: 1.662 MB / 321.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.3707, allocations: 8 kB / 321.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000456/0.3711, allocations: 80.81 kB / 321.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006494/0.3718, allocations: 91.83 kB / 321.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002794/0.3746, allocations: 1.788 MB / 323.4 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006818/0.3753, allocations: 75.53 kB / 323.4 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/0.3754, allocations: 27.97 kB / 323.5 MB, free: 8.844 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3754, allocations: 7.953 kB / 323.5 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001496/0.377, allocations: 0.5066 MB / 324 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.377, allocations: 4 kB / 324 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003563/0.3773, allocations: 77.36 kB / 324 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005599/0.3779, allocations: 87.83 kB / 324.1 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/0.3806, allocations: 1.796 MB / 325.9 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/0.3811, allocations: 55.67 kB / 326 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-05/0.3812, allocations: 24.06 kB / 326 MB, free: 6.152 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 (61): * Single equations (assignments): 60 * 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.0005645/0.3818, allocations: 225.6 kB / 326.2 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.382, allocations: 51.34 kB / 326.3 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.3821, allocations: 61.34 kB / 326.3 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.3822, allocations: 12.03 kB / 326.4 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.3822, allocations: 0 / 326.4 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.3822, allocations: 3.938 kB / 326.4 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/0.3852, allocations: 1.23 MB / 327.6 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.3853, allocations: 0 / 327.6 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/0.3858, allocations: 55.91 kB / 327.6 MB, free: 4.441 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000365/0.3862, allocations: 76.77 kB / 327.7 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.203e-05/0.3862, allocations: 15.94 kB / 327.7 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002748/0.389, allocations: 1.804 MB / 329.5 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.389, allocations: 0 / 329.5 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.3914, allocations: 0.8422 MB / 330.4 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003375/0.3918, allocations: 168.4 kB / 330.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.392, allocations: 19.88 kB / 330.6 MB, free: 1.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005354/0.3925, allocations: 35.98 kB / 330.6 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/0.3927, allocations: 47.92 kB / 330.6 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.191e-05/0.3928, allocations: 23.98 kB / 330.7 MB, free: 1.227 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005609/0.3934, allocations: 295.1 kB / 331 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3934, allocations: 0 / 331 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001314/0.3947, allocations: 291 kB / 331.2 MB, free: 0.6484 MB / 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_p.off,rectifier.thyristor_n.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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.0002487/0.395, allocations: 125.4 kB / 331.4 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002896/0.3979, allocations: 0.9939 MB / 332.4 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.3979, allocations: 0 / 332.4 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.3989, allocations: 399.4 kB / 332.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007149/0.3997, allocations: 65.94 kB / 332.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/0.4031, allocations: 1.425 MB / 334.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006743/0.4038, allocations: 0.9142 MB / 335.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.404, allocations: 43.42 kB / 335.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.404, allocations: 3.938 kB / 335.2 MB, free: 12.56 MB / 282.7 MB Notification: Performance of Templates: time 0.02052/0.4246, allocations: 9.477 MB / 344.7 MB, free: 3.094 MB / 282.7 MB