Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.467e-05/3.479e-05, allocations: 7.938 kB / 292.2 MB, free: 8.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09187/0.09193, allocations: 50.42 MB / 342.6 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3739/0.4659, allocations: 88.65 MB / 431.2 MB, free: 5.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.4662, allocations: 84.2 kB / 431.3 MB, free: 5.473 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05208/0.5183, allocations: 13.36 MB / 444.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.752e-06/0.5184, allocations: 0 / 444.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.774e-05/0.5185, allocations: 19.94 kB / 444.7 MB, free: 10.13 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001845/0.5203, allocations: 0.8416 MB / 445.5 MB, free: 9.281 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.5204, allocations: 8.031 kB / 445.5 MB, free: 9.273 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.5206, allocations: 83.05 kB / 445.6 MB, free: 9.191 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009673/0.5216, allocations: 475.8 kB / 446.1 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-05/0.5217, allocations: 49.69 kB / 446.1 MB, free: 8.734 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.5218, allocations: 69.2 kB / 446.2 MB, free: 8.684 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.5232, allocations: 0.6183 MB / 446.8 MB, free: 8.242 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.5233, allocations: 3.906 kB / 446.8 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.238e-05/0.5234, allocations: 25.81 kB / 446.8 MB, free: 8.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.5234, allocations: 12 kB / 446.8 MB, free: 8.219 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.5245, allocations: 435.1 kB / 447.3 MB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004741/0.5292, allocations: 2.296 MB / 449.6 MB, free: 6.047 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008903/0.5302, allocations: 402.9 kB / 450 MB, free: 5.793 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006134/0.5308, allocations: 242.8 kB / 450.2 MB, free: 5.625 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.5309, allocations: 8.422 kB / 450.2 MB, free: 5.617 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006654/0.5315, allocations: 312 kB / 450.5 MB, free: 5.363 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 3.779e-06/0.5316, allocations: 4 kB / 450.5 MB, free: 5.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001126/0.5327, allocations: 437.2 kB / 450.9 MB, free: 5.035 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.5329, allocations: 165.8 kB / 451.1 MB, free: 4.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007125/0.5336, allocations: 417.8 kB / 451.5 MB, free: 4.523 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.011e-05/0.5337, allocations: 39.64 kB / 451.6 MB, free: 4.488 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.534, allocations: 343.9 kB / 451.9 MB, free: 4.215 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.5341, allocations: 142.5 kB / 452 MB, free: 4.094 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.5342, allocations: 13.81 kB / 452 MB, free: 4.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.5344, allocations: 329.7 kB / 452.4 MB, free: 3.766 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/0.5348, allocations: 160.8 kB / 452.5 MB, free: 3.668 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005649/0.5354, allocations: 317.3 kB / 452.8 MB, free: 3.367 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/0.5358, allocations: 179.7 kB / 453 MB, free: 3.246 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5358, allocations: 0 / 453 MB, free: 3.246 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00124/0.5371, allocations: 0.5155 MB / 453.5 MB, free: 2.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009191/0.538, allocations: 1.662 MB / 455.2 MB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.5381, allocations: 4 kB / 455.2 MB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004626/0.5385, allocations: 97.12 kB / 455.3 MB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/0.539, allocations: 83.77 kB / 455.4 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/0.5418, allocations: 1.848 MB / 457.2 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006935/0.5425, allocations: 92.86 kB / 457.3 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.832e-05/0.5426, allocations: 19.31 kB / 457.3 MB, free: 15.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.5426, allocations: 4 kB / 457.3 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001157/0.5438, allocations: 479.5 kB / 457.8 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.5438, allocations: 4 kB / 457.8 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003518/0.5442, allocations: 97.3 kB / 457.9 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.5446, allocations: 83.45 kB / 458 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/0.5472, allocations: 1.825 MB / 459.8 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.5477, allocations: 71.36 kB / 459.9 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.717e-05/0.5478, allocations: 27.94 kB / 459.9 MB, free: 12.82 MB / 378.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 (58): * Single equations (assignments): 57 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002476/0.5481, allocations: 145 kB / 460 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.5482, allocations: 59.33 kB / 460.1 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.5484, allocations: 53.64 kB / 460.1 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.657e-06/0.5484, allocations: 8 kB / 460.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.5485, allocations: 4 kB / 460.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.726e-06/0.5485, allocations: 3.984 kB / 460.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/0.5512, allocations: 1.269 MB / 461.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.102e-06/0.5512, allocations: 384 / 461.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.5516, allocations: 51.91 kB / 461.5 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003751/0.552, allocations: 96.67 kB / 461.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.622e-05/0.552, allocations: 7.984 kB / 461.6 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002616/0.5547, allocations: 1.758 MB / 463.3 MB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.386e-06/0.5547, allocations: 0 / 463.3 MB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.5565, allocations: 0.7674 MB / 464.1 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003337/0.5568, allocations: 176.4 kB / 464.3 MB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.5569, allocations: 12 kB / 464.3 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004851/0.5574, allocations: 47.95 kB / 464.3 MB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.5576, allocations: 51.92 kB / 464.4 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/0.5577, allocations: 12 kB / 464.4 MB, free: 8.137 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005787/0.5583, allocations: 313.2 kB / 464.7 MB, free: 7.836 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.36e-07/0.5583, allocations: 0 / 464.7 MB, free: 7.836 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001367/0.5597, allocations: 291.1 kB / 465 MB, free: 7.551 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (37): * Single equations (assignments): 31 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002564/0.56, allocations: 145.4 kB / 465.1 MB, free: 7.402 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.5621, allocations: 0.921 MB / 466.1 MB, free: 6.461 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.072e-06/0.5621, allocations: 0 / 466.1 MB, free: 6.461 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007286/0.5629, allocations: 345.4 kB / 466.4 MB, free: 6.113 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000699/0.5636, allocations: 92.97 kB / 466.5 MB, free: 6.023 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.5657, allocations: 0.8065 MB / 467.3 MB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007459/0.5665, allocations: 0.9223 MB / 468.2 MB, free: 4.227 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.5667, allocations: 39.44 kB / 468.3 MB, free: 4.188 MB / 378.7 MB Notification: Performance of SimCode: time 1.682e-06/0.5667, allocations: 0 / 468.3 MB, free: 4.188 MB / 378.7 MB Notification: Performance of Templates: time 0.01777/0.5845, allocations: 9.739 MB / 478 MB, free: 10.47 MB / 394.7 MB