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.917/1.917, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.886e-05/2.912e-05, allocations: 2.906 kB / 255.4 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07857/0.07862, allocations: 44.5 MB / 299.9 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3367/0.4153, allocations: 81.86 MB / 381.7 MB, free: 21.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.4157, allocations: 82.55 kB / 381.8 MB, free: 21.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04392/0.4596, allocations: 12.37 MB / 394.2 MB, free: 19.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.775e-06/0.4596, allocations: 0 / 394.2 MB, free: 19.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.349e-05/0.4597, allocations: 15.66 kB / 394.2 MB, free: 19.68 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.001467/0.4612, allocations: 0.8307 MB / 395 MB, free: 19.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.4612, allocations: 11.78 kB / 395 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.4614, allocations: 78.25 kB / 395.1 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007685/0.4622, allocations: 484.2 kB / 395.6 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.283e-05/0.4623, allocations: 42.38 kB / 395.6 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.4624, allocations: 60.31 kB / 395.7 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.4636, allocations: 0.6008 MB / 396.3 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.4636, allocations: 7.953 kB / 396.3 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-05/0.4637, allocations: 28.8 kB / 396.3 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.4637, allocations: 11.72 kB / 396.3 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009294/0.4647, allocations: 428.7 kB / 396.7 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003882/0.4686, allocations: 2.288 MB / 399 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009918/0.4696, allocations: 452.2 kB / 399.5 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005162/0.4701, allocations: 238.4 kB / 399.7 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.4702, allocations: 7.891 kB / 399.7 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005214/0.4707, allocations: 302.3 kB / 400 MB, free: 17.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 3.816e-06/0.4708, allocations: 0 / 400 MB, free: 17.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.0009534/0.4717, allocations: 419.3 kB / 400.4 MB, free: 17.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.4718, allocations: 146.6 kB / 400.6 MB, free: 17.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005703/0.4724, allocations: 400.8 kB / 400.9 MB, free: 17.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.944e-05/0.4725, allocations: 40.95 kB / 401 MB, free: 17.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.4726, allocations: 348.6 kB / 401.3 MB, free: 16.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.4728, allocations: 136.4 kB / 401.5 MB, free: 16.9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.4728, allocations: 18.62 kB / 401.5 MB, free: 16.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.4729, allocations: 329.6 kB / 401.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.4732, allocations: 148.8 kB / 401.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/0.4737, allocations: 306.3 kB / 402.2 MB, free: 16.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.474, allocations: 179.1 kB / 402.4 MB, free: 16.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.4741, allocations: 0 / 402.4 MB, free: 16.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001057/0.4751, allocations: 0.5157 MB / 402.9 MB, free: 16.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003234/0.4755, allocations: 1.662 MB / 404.6 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.4755, allocations: 3.906 kB / 404.6 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003753/0.4759, allocations: 80.73 kB / 404.7 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.4764, allocations: 88.97 kB / 404.8 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.4781, allocations: 1.732 MB / 406.5 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006711/0.4788, allocations: 91.45 kB / 406.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/0.4789, allocations: 19.12 kB / 406.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.4789, allocations: 7.391 kB / 406.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009403/0.4799, allocations: 479.8 kB / 407.1 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.693e-06/0.4799, allocations: 3.594 kB / 407.1 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002732/0.4802, allocations: 84.17 kB / 407.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.4806, allocations: 88.2 kB / 407.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.4829, allocations: 1.727 MB / 409 MB, free: 27.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004426/0.4834, allocations: 63.75 kB / 409 MB, free: 27.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.4835, allocations: 26.09 kB / 409.1 MB, free: 27.7 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.0002333/0.4837, allocations: 157.7 kB / 409.2 MB, free: 27.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.4839, allocations: 46.66 kB / 409.3 MB, free: 27.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.484, allocations: 60.55 kB / 409.3 MB, free: 27.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.087e-06/0.484, allocations: 7.812 kB / 409.3 MB, free: 27.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4841, allocations: 0 / 409.3 MB, free: 27.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.4841, allocations: 3.609 kB / 409.3 MB, free: 27.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.4863, allocations: 1.245 MB / 410.6 MB, free: 27.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.9e-06/0.4863, allocations: 0 / 410.6 MB, free: 27.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.4866, allocations: 45.92 kB / 410.6 MB, free: 27.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003053/0.487, allocations: 72.92 kB / 410.7 MB, free: 27.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.487, allocations: 15.12 kB / 410.7 MB, free: 27.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.489, allocations: 1.656 MB / 412.4 MB, free: 25.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.661e-06/0.489, allocations: 3.938 kB / 412.4 MB, free: 25.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.4905, allocations: 0.7471 MB / 413.1 MB, free: 25.56 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/0.4908, allocations: 174.4 kB / 413.3 MB, free: 25.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.4909, allocations: 11.25 kB / 413.3 MB, free: 25.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.4914, allocations: 36.47 kB / 413.3 MB, free: 25.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.4915, allocations: 54.27 kB / 413.4 MB, free: 25.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/0.4916, allocations: 14.72 kB / 413.4 MB, free: 25.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004707/0.4921, allocations: 311.2 kB / 413.7 MB, free: 25.35 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.91e-07/0.4921, allocations: 0 / 413.7 MB, free: 25.35 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00118/0.4933, allocations: 275.2 kB / 414 MB, free: 25.31 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.0002261/0.4935, allocations: 135.5 kB / 414.1 MB, free: 25.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.4952, allocations: 0.9084 MB / 415 MB, free: 24.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.253e-06/0.4952, allocations: 0 / 415 MB, free: 24.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005462/0.4958, allocations: 338.7 kB / 415.4 MB, free: 24.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006119/0.4964, allocations: 86.89 kB / 415.4 MB, free: 24.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.4983, allocations: 0.8619 MB / 416.3 MB, free: 24.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006355/0.499, allocations: 0.9182 MB / 417.2 MB, free: 23.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.4992, allocations: 42.5 kB / 417.3 MB, free: 23.7 MB / 330.7 MB Notification: Performance of SimCode: time 1.657e-06/0.4992, allocations: 0 / 417.3 MB, free: 23.7 MB / 330.7 MB Notification: Performance of Templates: time 0.01339/0.5126, allocations: 9.497 MB / 426.8 MB, free: 19.12 MB / 330.7 MB