Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") Notification: Performance of loadModel(Modelica): time 1.902/1.902, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.909e-05/2.954e-05, allocations: 6.5 kB / 292.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.08952, allocations: 50.42 MB / 342.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3718/0.4614, allocations: 89.26 MB / 431.8 MB, free: 4.938 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.4617, allocations: 86.64 kB / 431.9 MB, free: 4.887 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05473/0.5164, allocations: 14 MB / 445.9 MB, free: 9.023 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.086e-06/0.5165, allocations: 0 / 445.9 MB, free: 9.023 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.752e-05/0.5165, allocations: 20 kB / 445.9 MB, free: 9.004 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001887/0.5184, allocations: 0.8717 MB / 446.8 MB, free: 8.121 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.5185, allocations: 8.031 kB / 446.8 MB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.5187, allocations: 86.97 kB / 446.9 MB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009875/0.5197, allocations: 493.7 kB / 447.4 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.518e-05/0.5198, allocations: 47.19 kB / 447.4 MB, free: 7.562 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.5199, allocations: 65.06 kB / 447.5 MB, free: 7.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.5214, allocations: 0.6565 MB / 448.2 MB, free: 7.051 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.5214, allocations: 0 / 448.2 MB, free: 7.051 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-05/0.5215, allocations: 32.61 kB / 448.2 MB, free: 7.039 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.5216, allocations: 12 kB / 448.2 MB, free: 7.027 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.5227, allocations: 460.4 kB / 448.6 MB, free: 6.742 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004812/0.5275, allocations: 2.417 MB / 451.1 MB, free: 4.734 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009083/0.5284, allocations: 432.2 kB / 451.5 MB, free: 4.461 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006231/0.5291, allocations: 260.1 kB / 451.7 MB, free: 4.281 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.5291, allocations: 4.562 kB / 451.7 MB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006617/0.5298, allocations: 318.1 kB / 452.1 MB, free: 4.023 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 4.053e-06/0.5298, allocations: 4 kB / 452.1 MB, free: 4.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.00112/0.531, allocations: 449.7 kB / 452.5 MB, free: 3.684 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.5311, allocations: 170 kB / 452.7 MB, free: 3.484 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007291/0.5319, allocations: 430.3 kB / 453.1 MB, free: 3.156 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.8e-05/0.5319, allocations: 39.77 kB / 453.1 MB, free: 3.121 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.5323, allocations: 368.9 kB / 453.5 MB, free: 2.832 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.5324, allocations: 139.9 kB / 453.6 MB, free: 2.715 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.5325, allocations: 14.59 kB / 453.6 MB, free: 2.711 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.5327, allocations: 340.5 kB / 454 MB, free: 2.379 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.5331, allocations: 161.5 kB / 454.1 MB, free: 2.285 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005524/0.5336, allocations: 323.2 kB / 454.4 MB, free: 1.973 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.5341, allocations: 190.4 kB / 454.6 MB, free: 1.848 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.182e-06/0.5341, allocations: 3.938 kB / 454.6 MB, free: 1.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001237/0.5354, allocations: 0.5285 MB / 455.2 MB, free: 1.453 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009271/0.5363, allocations: 1.657 MB / 456.8 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.5363, allocations: 8 kB / 456.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003944/0.5367, allocations: 79.53 kB / 456.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005257/0.5373, allocations: 103 kB / 457 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002457/0.5398, allocations: 1.725 MB / 458.7 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007527/0.5406, allocations: 97.36 kB / 458.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/0.5406, allocations: 19.19 kB / 458.8 MB, free: 13.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.5407, allocations: 4 kB / 458.8 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001159/0.5418, allocations: 0.4912 MB / 459.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.5419, allocations: 4 kB / 459.3 MB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000312/0.5422, allocations: 77.56 kB / 459.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004636/0.5427, allocations: 95.61 kB / 459.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002309/0.545, allocations: 1.727 MB / 461.2 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.5455, allocations: 67.66 kB / 461.3 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/0.5456, allocations: 20 kB / 461.3 MB, free: 11.5 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 (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.0002556/0.5458, allocations: 164 kB / 461.5 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.546, allocations: 63.23 kB / 461.5 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.5462, allocations: 65.36 kB / 461.6 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.579e-06/0.5462, allocations: 4 kB / 461.6 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.096e-06/0.5463, allocations: 0 / 461.6 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.372e-06/0.5463, allocations: 0 / 461.6 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002749/0.549, allocations: 1.331 MB / 462.9 MB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.047e-06/0.5491, allocations: 0 / 462.9 MB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000371/0.5495, allocations: 55.91 kB / 463 MB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000313/0.5498, allocations: 72.86 kB / 463.1 MB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.247e-05/0.5499, allocations: 12.05 kB / 463.1 MB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/0.5522, allocations: 1.653 MB / 464.7 MB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.508e-06/0.5522, allocations: 0 / 464.7 MB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.5539, allocations: 0.7968 MB / 465.5 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/0.5543, allocations: 172.4 kB / 465.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.5544, allocations: 20.05 kB / 465.7 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.5549, allocations: 43.97 kB / 465.8 MB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.5551, allocations: 56.3 kB / 465.8 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.056e-05/0.5552, allocations: 15.98 kB / 465.8 MB, free: 6.734 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005976/0.5558, allocations: 333.6 kB / 466.2 MB, free: 6.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.06e-07/0.5558, allocations: 0 / 466.2 MB, free: 6.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001309/0.5571, allocations: 303 kB / 466.4 MB, free: 6.113 MB / 378.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.0002561/0.5574, allocations: 137.4 kB / 466.6 MB, free: 5.973 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.5594, allocations: 0.9146 MB / 467.5 MB, free: 5.039 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.264e-06/0.5594, allocations: 0 / 467.5 MB, free: 5.039 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006728/0.5601, allocations: 348.8 kB / 467.8 MB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006727/0.5608, allocations: 93.94 kB / 467.9 MB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.5632, allocations: 0.9063 MB / 468.8 MB, free: 3.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007642/0.564, allocations: 0.9415 MB / 469.8 MB, free: 2.688 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.5642, allocations: 47.44 kB / 469.8 MB, free: 2.641 MB / 378.7 MB Notification: Performance of SimCode: time 1.558e-06/0.5642, allocations: 0 / 469.8 MB, free: 2.641 MB / 378.7 MB Notification: Performance of Templates: time 0.01877/0.583, allocations: 10.18 MB / 480 MB, free: 8.48 MB / 394.7 MB