Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.033/2.033, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.17e-05/3.191e-05, allocations: 4 kB / 292.2 MB, free: 8.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 50.41 MB / 342.7 MB, free: 6.27 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4635/0.5688, allocations: 89.28 MB / 431.9 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/0.5691, allocations: 85.12 kB / 432 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05885/0.628, allocations: 14.01 MB / 446 MB, free: 8.688 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6281, allocations: 0 / 446 MB, free: 8.688 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.072e-05/0.6281, allocations: 15.98 kB / 446 MB, free: 8.672 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.002334/0.6305, allocations: 0.873 MB / 446.9 MB, free: 7.789 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.6305, allocations: 8.031 kB / 446.9 MB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001983/0.6308, allocations: 111.1 kB / 447 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.631, allocations: 86.97 kB / 447.1 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.6321, allocations: 497.4 kB / 447.6 MB, free: 7.172 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.257e-05/0.6322, allocations: 49.75 kB / 447.6 MB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.6323, allocations: 64.75 kB / 447.7 MB, free: 7.102 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.634, allocations: 0.6512 MB / 448.4 MB, free: 6.641 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.634, allocations: 3.984 kB / 448.4 MB, free: 6.637 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.355e-05/0.6342, allocations: 27.38 kB / 448.4 MB, free: 6.629 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.6342, allocations: 16 kB / 448.4 MB, free: 6.613 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.6355, allocations: 462.8 kB / 448.9 MB, free: 6.324 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005684/0.6412, allocations: 2.414 MB / 451.3 MB, free: 4.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.6423, allocations: 432.5 kB / 451.7 MB, free: 4.047 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000751/0.6431, allocations: 265.3 kB / 452 MB, free: 3.863 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.834e-05/0.6431, allocations: 4 kB / 452 MB, free: 3.859 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007268/0.6439, allocations: 310 kB / 452.3 MB, free: 3.613 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 3.927e-06/0.6439, allocations: 0 / 452.3 MB, free: 3.613 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.001287/0.6452, allocations: 457.6 kB / 452.7 MB, free: 3.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.6453, allocations: 166.6 kB / 452.9 MB, free: 3.074 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000799/0.6461, allocations: 429.7 kB / 453.3 MB, free: 2.746 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.051e-05/0.6462, allocations: 44.45 kB / 453.3 MB, free: 2.707 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/0.6465, allocations: 367.9 kB / 453.7 MB, free: 2.418 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.6467, allocations: 143.1 kB / 453.8 MB, free: 2.297 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.6468, allocations: 10.94 kB / 453.8 MB, free: 2.297 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.6469, allocations: 333.9 kB / 454.2 MB, free: 1.969 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004339/0.6474, allocations: 162.9 kB / 454.3 MB, free: 1.875 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005938/0.648, allocations: 327.8 kB / 454.7 MB, free: 1.559 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004877/0.6485, allocations: 191.8 kB / 454.8 MB, free: 1.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.6485, allocations: 0 / 454.8 MB, free: 1.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001366/0.6499, allocations: 0.5285 MB / 455.4 MB, free: 1.039 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006923/0.6506, allocations: 1.658 MB / 457 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.6506, allocations: 7.938 kB / 457 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004701/0.6511, allocations: 84.69 kB / 457.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/0.6519, allocations: 103.3 kB / 457.2 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.6543, allocations: 1.738 MB / 459 MB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009192/0.6553, allocations: 91.73 kB / 459 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.827e-05/0.6554, allocations: 25.69 kB / 459.1 MB, free: 13.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.6554, allocations: 4 kB / 459.1 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00127/0.6567, allocations: 495.9 kB / 459.6 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.6567, allocations: 8.062 kB / 459.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003332/0.657, allocations: 75.27 kB / 459.6 MB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006186/0.6577, allocations: 91.27 kB / 459.7 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/0.66, allocations: 1.722 MB / 461.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005964/0.6606, allocations: 70.28 kB / 461.5 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/0.6607, allocations: 22.06 kB / 461.5 MB, free: 11.12 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.0002532/0.6609, allocations: 157 kB / 461.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.6611, allocations: 63.2 kB / 461.8 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.6614, allocations: 63.25 kB / 461.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.6614, allocations: 8 kB / 461.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.6614, allocations: 0 / 461.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.6614, allocations: 3.984 kB / 461.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/0.6645, allocations: 1.327 MB / 463.2 MB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/0.6646, allocations: 4.031 kB / 463.2 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000512/0.6651, allocations: 55.91 kB / 463.2 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003544/0.6655, allocations: 68.83 kB / 463.3 MB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.241e-05/0.6656, allocations: 15.94 kB / 463.3 MB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/0.6678, allocations: 1.645 MB / 464.9 MB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6679, allocations: 0 / 464.9 MB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.6699, allocations: 0.7891 MB / 465.7 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003658/0.6703, allocations: 176.4 kB / 465.9 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.6704, allocations: 8 kB / 465.9 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006393/0.6711, allocations: 55.89 kB / 466 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.6713, allocations: 56.3 kB / 466 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.902e-05/0.6714, allocations: 12 kB / 466 MB, free: 6.418 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006891/0.6721, allocations: 329.6 kB / 466.4 MB, free: 6.098 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-07/0.6721, allocations: 0 / 466.4 MB, free: 6.098 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001513/0.6736, allocations: 307 kB / 466.7 MB, free: 5.797 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.002391/0.676, allocations: 1.45 MB / 468.1 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002238/0.6783, allocations: 0.9139 MB / 469 MB, free: 3.379 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.6783, allocations: 2.125 kB / 469 MB, free: 3.379 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007631/0.6791, allocations: 347.2 kB / 469.4 MB, free: 3.031 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009121/0.68, allocations: 90.06 kB / 469.4 MB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/0.6835, allocations: 1.041 MB / 470.5 MB, free: 1.855 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006716/0.6843, allocations: 0.9377 MB / 471.4 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005407/0.6848, allocations: 231.3 kB / 471.7 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of SimCode: time 1.223e-06/0.6848, allocations: 0 / 471.7 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.126/3.811, allocations: 13.01 MB / 484.7 MB, free: 3.664 MB / 394.7 MB