Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") Notification: Performance of loadModel(Modelica): time 2.137/2.137, allocations: 225.8 MB / 239.4 MB, free: 1.254 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.543e-05/4.562e-05, allocations: 4 kB / 292.7 MB, free: 11.46 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1175, allocations: 50.41 MB / 343.1 MB, free: 9.055 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3765/0.494, allocations: 88.95 MB / 432 MB, free: 7.059 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.4943, allocations: 92.48 kB / 432.1 MB, free: 7.039 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06381/0.5581, allocations: 13.99 MB / 446.1 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.377e-06/0.5582, allocations: 4 kB / 446.1 MB, free: 1.441 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.56e-05/0.5583, allocations: 19.53 kB / 446.2 MB, free: 1.438 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002685/0.561, allocations: 0.8689 MB / 447 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.5611, allocations: 11.31 kB / 447 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003136/0.5614, allocations: 89.47 kB / 447.1 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.5629, allocations: 497.2 kB / 447.6 MB, free: 428 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.879e-05/0.563, allocations: 53.52 kB / 447.7 MB, free: 424 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.5632, allocations: 66.19 kB / 447.7 MB, free: 420 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.5655, allocations: 0.6516 MB / 448.4 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.32e-05/0.5655, allocations: 4 kB / 448.4 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.5657, allocations: 28.09 kB / 448.4 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.5657, allocations: 15.34 kB / 448.4 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.5676, allocations: 460.5 kB / 448.9 MB, free: 192 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00901/0.5766, allocations: 2.456 MB / 451.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.5781, allocations: 430.1 kB / 451.7 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009734/0.5791, allocations: 251.7 kB / 452 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.236e-05/0.5792, allocations: 7.547 kB / 452 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.5803, allocations: 320.9 kB / 452.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 6.571e-06/0.5803, allocations: 0 / 452.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.001857/0.5822, allocations: 451.5 kB / 452.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001669/0.5824, allocations: 166.7 kB / 452.9 MB, free: 14.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.5837, allocations: 433.1 kB / 453.3 MB, free: 14.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.5838, allocations: 41.02 kB / 453.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004772/0.5843, allocations: 334.6 kB / 453.7 MB, free: 13.74 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/0.5846, allocations: 144.4 kB / 453.9 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.5847, allocations: 7.875 kB / 453.9 MB, free: 13.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003089/0.5851, allocations: 365.9 kB / 454.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.5862, allocations: 166.4 kB / 454.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/0.5878, allocations: 329.1 kB / 454.7 MB, free: 12.87 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.589, allocations: 185.7 kB / 454.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/0.5891, allocations: 3.938 kB / 454.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002985/0.5921, allocations: 0.5632 MB / 455.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001861/0.594, allocations: 1.656 MB / 457.1 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.594, allocations: 4 kB / 457.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007938/0.5949, allocations: 88.02 kB / 457.2 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.596, allocations: 99.73 kB / 457.3 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005014/0.6011, allocations: 1.731 MB / 459 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000839/0.602, allocations: 94.94 kB / 459.1 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.474e-05/0.6021, allocations: 31.86 kB / 459.1 MB, free: 8.633 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.6021, allocations: 4 kB / 459.1 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00117/0.6033, allocations: 497.4 kB / 459.6 MB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.6033, allocations: 4 kB / 459.6 MB, free: 8.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003234/0.6036, allocations: 77.02 kB / 459.7 MB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/0.6041, allocations: 91.52 kB / 459.8 MB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/0.6065, allocations: 1.736 MB / 461.5 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006074/0.6071, allocations: 78.06 kB / 461.6 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/0.6072, allocations: 23.19 kB / 461.6 MB, free: 6.395 MB / 346.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (64): * Single equations (assignments): 63 * 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.0002422/0.6074, allocations: 149.1 kB / 461.8 MB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.6076, allocations: 63.28 kB / 461.8 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/0.6078, allocations: 64.62 kB / 461.9 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.868e-06/0.6078, allocations: 4 kB / 461.9 MB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.2e-06/0.6078, allocations: 4 kB / 461.9 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.6078, allocations: 3.984 kB / 461.9 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/0.6106, allocations: 1.329 MB / 463.3 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.295e-06/0.6106, allocations: 0 / 463.3 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.611, allocations: 59.39 kB / 463.3 MB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003318/0.6113, allocations: 74.2 kB / 463.4 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.971e-05/0.6114, allocations: 11.27 kB / 463.4 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002265/0.6137, allocations: 1.638 MB / 465 MB, free: 3.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.958e-06/0.6137, allocations: 0 / 465 MB, free: 3.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.6154, allocations: 0.8003 MB / 465.8 MB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003706/0.6158, allocations: 181.5 kB / 466 MB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.616, allocations: 11.06 kB / 466 MB, free: 2.633 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/0.6165, allocations: 47.81 kB / 466.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.6167, allocations: 62.14 kB / 466.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.052e-05/0.6168, allocations: 12 kB / 466.1 MB, free: 2.531 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000612/0.6174, allocations: 327.8 kB / 466.5 MB, free: 2.289 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.242e-06/0.6174, allocations: 4 kB / 466.5 MB, free: 2.285 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00136/0.6188, allocations: 294.4 kB / 466.7 MB, free: 2.023 MB / 346.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (42): * Single equations (assignments): 36 * 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.0002652/0.6191, allocations: 148.2 kB / 466.9 MB, free: 1.883 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001999/0.6211, allocations: 0.9339 MB / 467.8 MB, free: 1.156 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.172e-06/0.6211, allocations: 4.25 kB / 467.8 MB, free: 1.152 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006709/0.6218, allocations: 343.2 kB / 468.2 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006913/0.6225, allocations: 86.62 kB / 468.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.6248, allocations: 0.8979 MB / 469.1 MB, free: 24 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000814/0.6257, allocations: 0.947 MB / 470.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006604/0.6263, allocations: 124.6 kB / 470.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.6265, allocations: 35.42 kB / 470.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of SimCode: time 1.624e-06/0.6265, allocations: 4 kB / 470.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of Templates: time 0.0231/0.6496, allocations: 8.143 MB / 478.4 MB, free: 6.832 MB / 362.7 MB