Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadModel(Modelica): time 1.916/1.916, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.491e-05/3.531e-05, allocations: 7.984 kB / 292.2 MB, free: 8.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09282/0.09288, allocations: 50.42 MB / 342.6 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3676/0.4605, allocations: 89.74 MB / 432.3 MB, free: 4.434 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.4608, allocations: 86.45 kB / 432.4 MB, free: 4.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05719/0.518, allocations: 14.97 MB / 447.4 MB, free: 7.719 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.155e-06/0.5181, allocations: 4 kB / 447.4 MB, free: 7.715 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.506e-05/0.5181, allocations: 16 kB / 447.4 MB, free: 7.699 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.00203/0.5202, allocations: 0.9099 MB / 448.3 MB, free: 6.781 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.5202, allocations: 12.03 kB / 448.3 MB, free: 6.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.5205, allocations: 98.14 kB / 448.4 MB, free: 6.676 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.5215, allocations: 0.5136 MB / 448.9 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.639e-05/0.5216, allocations: 57.12 kB / 449 MB, free: 6.176 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.5218, allocations: 75.12 kB / 449.1 MB, free: 6.129 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.5235, allocations: 0.7398 MB / 449.8 MB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.5235, allocations: 0 / 449.8 MB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.5236, allocations: 32.67 kB / 449.8 MB, free: 5.586 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.5236, allocations: 16 kB / 449.8 MB, free: 5.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.525, allocations: 0.5211 MB / 450.4 MB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005363/0.5304, allocations: 2.779 MB / 453.1 MB, free: 2.969 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.5315, allocations: 0.5362 MB / 453.7 MB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.5326, allocations: 432.8 kB / 454.1 MB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.951e-05/0.5327, allocations: 12.5 kB / 454.1 MB, free: 2.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007725/0.5335, allocations: 351.5 kB / 454.5 MB, free: 2.059 MB / 362.7 MB Notification: Performance of pre-optimization done (n=60): time 6.585e-06/0.5335, allocations: 0 / 454.5 MB, free: 2.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=60): time 0.001442/0.5349, allocations: 0.5741 MB / 455 MB, free: 1.637 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.5351, allocations: 149 kB / 455.2 MB, free: 1.461 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007692/0.5359, allocations: 451.8 kB / 455.6 MB, free: 1.113 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.946e-05/0.536, allocations: 40.02 kB / 455.7 MB, free: 1.078 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.5363, allocations: 370 kB / 456 MB, free: 0.793 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.5365, allocations: 181.4 kB / 456.2 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.5366, allocations: 14.31 kB / 456.2 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.5368, allocations: 341.2 kB / 456.5 MB, free: 312 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004697/0.5372, allocations: 200 kB / 456.7 MB, free: 196 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000656/0.5379, allocations: 358 kB / 457.1 MB, free: 15.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/0.5385, allocations: 222.8 kB / 457.3 MB, free: 15.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.546e-06/0.5385, allocations: 0 / 457.3 MB, free: 15.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001618/0.5401, allocations: 0.6749 MB / 458 MB, free: 15.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008844/0.541, allocations: 1.578 MB / 459.6 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.541, allocations: 4 kB / 459.6 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000688/0.5417, allocations: 169.5 kB / 459.7 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005597/0.5423, allocations: 99.83 kB / 459.8 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005144/0.5475, allocations: 3.591 MB / 463.4 MB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000719/0.5482, allocations: 95.67 kB / 463.5 MB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.682e-05/0.5483, allocations: 28 kB / 463.5 MB, free: 9.238 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.5483, allocations: 4 kB / 463.5 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001606/0.55, allocations: 0.6199 MB / 464.2 MB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.55, allocations: 8.438 kB / 464.2 MB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005903/0.5506, allocations: 161.6 kB / 464.3 MB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004873/0.5511, allocations: 95.83 kB / 464.4 MB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005017/0.5561, allocations: 3.577 MB / 468 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/0.5567, allocations: 71.59 kB / 468.1 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-05/0.5568, allocations: 28.31 kB / 468.1 MB, free: 4.398 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 (68): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002753/0.5571, allocations: 161 kB / 468.3 MB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.5573, allocations: 63.25 kB / 468.3 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.5575, allocations: 69.7 kB / 468.4 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.982e-06/0.5575, allocations: 4 kB / 468.4 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.848e-06/0.5575, allocations: 7.953 kB / 468.4 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.5575, allocations: 3.984 kB / 468.4 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/0.5608, allocations: 1.481 MB / 469.9 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.156e-06/0.5608, allocations: 0 / 469.9 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003844/0.5612, allocations: 51.91 kB / 469.9 MB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006015/0.5618, allocations: 165.6 kB / 470.1 MB, free: 2.316 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.403e-05/0.5619, allocations: 12 kB / 470.1 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004977/0.5669, allocations: 3.508 MB / 473.6 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.651e-06/0.5669, allocations: 0 / 473.6 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.5693, allocations: 1.007 MB / 474.6 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003819/0.5697, allocations: 196.2 kB / 474.8 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.5698, allocations: 12 kB / 474.8 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005208/0.5703, allocations: 43.97 kB / 474.9 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/0.5706, allocations: 88.33 kB / 474.9 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.794e-05/0.5707, allocations: 16 kB / 475 MB, free: 13.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006185/0.5713, allocations: 345.5 kB / 475.3 MB, free: 12.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.5713, allocations: 0 / 475.3 MB, free: 12.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001655/0.573, allocations: 351 kB / 475.6 MB, free: 12.45 MB / 394.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: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002622/0.5733, allocations: 153.5 kB / 475.8 MB, free: 12.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002723/0.576, allocations: 1.35 MB / 477.1 MB, free: 10.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.091e-06/0.576, allocations: 0 / 477.1 MB, free: 10.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.577, allocations: 0.549 MB / 477.7 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007212/0.5778, allocations: 102.7 kB / 477.8 MB, free: 10.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.5805, allocations: 1.057 MB / 478.9 MB, free: 9.141 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008005/0.5814, allocations: 0.9663 MB / 479.8 MB, free: 8.148 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.5816, allocations: 43.44 kB / 479.9 MB, free: 8.105 MB / 394.7 MB Notification: Performance of SimCode: time 1.558e-06/0.5816, allocations: 4 kB / 479.9 MB, free: 8.102 MB / 394.7 MB Notification: Performance of Templates: time 0.02322/0.6048, allocations: 14.22 MB / 494.1 MB, free: 9.898 MB / 410.7 MB