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 1.79/1.79, allocations: 194.9 MB / 208.5 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.853e-05, allocations: 3.938 kB / 255.4 MB, free: 3.164 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07453/0.07458, allocations: 44.49 MB / 299.9 MB, free: 6.613 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3353/0.41, allocations: 81.87 MB / 381.7 MB, free: 21.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.4103, allocations: 85.66 kB / 381.8 MB, free: 21.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04376/0.454, allocations: 12.38 MB / 394.2 MB, free: 19.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.4541, allocations: 0 / 394.2 MB, free: 19.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.077e-05/0.4542, allocations: 15.69 kB / 394.2 MB, free: 19.7 MB / 314.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.001463/0.4556, allocations: 0.8307 MB / 395 MB, free: 19.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.4557, allocations: 7.812 kB / 395.1 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.4559, allocations: 78.22 kB / 395.1 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008119/0.4567, allocations: 479.5 kB / 395.6 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.274e-05/0.4568, allocations: 46.25 kB / 395.6 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.4569, allocations: 68.16 kB / 395.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.4581, allocations: 0.5972 MB / 396.3 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.4582, allocations: 3.953 kB / 396.3 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.45e-05/0.4583, allocations: 22.53 kB / 396.3 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.4583, allocations: 15.62 kB / 396.3 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009721/0.4593, allocations: 417 kB / 396.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003949/0.4632, allocations: 2.286 MB / 399 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009913/0.4643, allocations: 461.4 kB / 399.5 MB, free: 17.72 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005389/0.4648, allocations: 233.4 kB / 399.7 MB, free: 17.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.4649, allocations: 8.375 kB / 399.7 MB, free: 17.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005301/0.4654, allocations: 300.1 kB / 400 MB, free: 17.63 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 3.924e-06/0.4654, allocations: 0 / 400 MB, free: 17.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.0009249/0.4664, allocations: 425.4 kB / 400.4 MB, free: 17.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.4664, allocations: 140.3 kB / 400.6 MB, free: 17.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005715/0.467, allocations: 397 kB / 401 MB, free: 17.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/0.4671, allocations: 43.28 kB / 401 MB, free: 17.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.4673, allocations: 346 kB / 401.3 MB, free: 17.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.4674, allocations: 137.8 kB / 401.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.4675, allocations: 14.12 kB / 401.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.708e-05/0.4676, allocations: 332.3 kB / 401.8 MB, free: 16.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.4679, allocations: 153.1 kB / 402 MB, free: 16.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.4684, allocations: 304.8 kB / 402.3 MB, free: 16.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.4688, allocations: 170.7 kB / 402.4 MB, free: 16.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.131e-06/0.4688, allocations: 0 / 402.4 MB, free: 16.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001069/0.4699, allocations: 0.506 MB / 402.9 MB, free: 16.33 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000317/0.4702, allocations: 1.668 MB / 404.6 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.4702, allocations: 3.906 kB / 404.6 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003713/0.4706, allocations: 77.23 kB / 404.7 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.471, allocations: 99.28 kB / 404.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.4729, allocations: 1.722 MB / 406.5 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006386/0.4735, allocations: 91.41 kB / 406.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.4736, allocations: 22.81 kB / 406.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.603e-06/0.4736, allocations: 3.875 kB / 406.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009779/0.4746, allocations: 463.6 kB / 407.1 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.508e-06/0.4746, allocations: 3.875 kB / 407.1 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/0.4749, allocations: 88.5 kB / 407.2 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004101/0.4754, allocations: 81.66 kB / 407.2 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.4777, allocations: 1.73 MB / 409 MB, free: 27.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.4781, allocations: 72.97 kB / 409 MB, free: 27.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/0.4781, allocations: 22.66 kB / 409.1 MB, free: 27.72 MB / 330.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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002222/0.4784, allocations: 158 kB / 409.2 MB, free: 27.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.4785, allocations: 46.78 kB / 409.3 MB, free: 27.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.4787, allocations: 69.08 kB / 409.3 MB, free: 27.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.746e-06/0.4787, allocations: 3.812 kB / 409.3 MB, free: 27.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.455e-06/0.4787, allocations: 0 / 409.3 MB, free: 27.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.19e-06/0.4787, allocations: 0 / 409.3 MB, free: 27.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.4809, allocations: 1.239 MB / 410.6 MB, free: 27.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/0.4809, allocations: 0 / 410.6 MB, free: 27.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.4812, allocations: 49.56 kB / 410.6 MB, free: 27.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002734/0.4815, allocations: 71.89 kB / 410.7 MB, free: 27.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/0.4816, allocations: 14.44 kB / 410.7 MB, free: 27.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001948/0.4836, allocations: 1.644 MB / 412.3 MB, free: 25.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.909e-06/0.4836, allocations: 11.73 kB / 412.4 MB, free: 25.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.485, allocations: 0.7402 MB / 413.1 MB, free: 25.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.4853, allocations: 172.2 kB / 413.3 MB, free: 25.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.704e-05/0.4854, allocations: 10.97 kB / 413.3 MB, free: 25.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004334/0.4858, allocations: 42.52 kB / 413.3 MB, free: 25.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.486, allocations: 48.91 kB / 413.4 MB, free: 25.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.4861, allocations: 15.22 kB / 413.4 MB, free: 25.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004789/0.4866, allocations: 309 kB / 413.7 MB, free: 25.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.17e-07/0.4866, allocations: 0 / 413.7 MB, free: 25.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00116/0.4877, allocations: 278.2 kB / 414 MB, free: 25.36 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (39): * Single equations (assignments): 33 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002118/0.488, allocations: 143.4 kB / 414.1 MB, free: 25.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.4895, allocations: 0.8734 MB / 415 MB, free: 24.99 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.674e-06/0.4896, allocations: 384 / 415 MB, free: 24.99 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005732/0.4901, allocations: 335.7 kB / 415.3 MB, free: 24.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.4907, allocations: 77.73 kB / 415.4 MB, free: 24.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.4926, allocations: 0.857 MB / 416.2 MB, free: 24.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006135/0.4932, allocations: 0.9157 MB / 417.1 MB, free: 23.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.4934, allocations: 38.75 kB / 417.2 MB, free: 23.78 MB / 330.7 MB Notification: Performance of SimCode: time 1.78e-06/0.4934, allocations: 0 / 417.2 MB, free: 23.78 MB / 330.7 MB Notification: Performance of Templates: time 0.01409/0.5075, allocations: 9.461 MB / 426.6 MB, free: 19.23 MB / 330.7 MB