Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.03/2.03, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.721e-05/3.724e-05, allocations: 4 kB / 292.2 MB, free: 8.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 50.41 MB / 342.7 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4439/0.5526, allocations: 88.66 MB / 431.3 MB, free: 5.246 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003544/0.553, allocations: 90.19 kB / 431.4 MB, free: 5.195 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06125/0.6143, allocations: 13.37 MB / 444.8 MB, free: 9.871 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.6143, allocations: 3.938 kB / 444.8 MB, free: 9.867 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.307e-05/0.6144, allocations: 16 kB / 444.8 MB, free: 9.852 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.002969/0.6174, allocations: 0.841 MB / 445.6 MB, free: 9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/0.6175, allocations: 12.03 kB / 445.6 MB, free: 8.988 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002805/0.6178, allocations: 102.9 kB / 445.7 MB, free: 8.914 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003072/0.6181, allocations: 75.16 kB / 445.8 MB, free: 8.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.6196, allocations: 474.1 kB / 446.3 MB, free: 8.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-05/0.6197, allocations: 49.95 kB / 446.3 MB, free: 8.383 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/0.62, allocations: 69.03 kB / 446.4 MB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.6223, allocations: 0.6178 MB / 447 MB, free: 7.891 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/0.6224, allocations: 3.938 kB / 447 MB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.6225, allocations: 21.44 kB / 447 MB, free: 7.883 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/0.6226, allocations: 20 kB / 447.1 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.6245, allocations: 437.6 kB / 447.5 MB, free: 7.598 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007507/0.632, allocations: 2.289 MB / 449.8 MB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.6335, allocations: 399.8 kB / 450.2 MB, free: 5.445 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009801/0.6345, allocations: 245 kB / 450.4 MB, free: 5.277 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.688e-05/0.6346, allocations: 8 kB / 450.4 MB, free: 5.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009676/0.6355, allocations: 313.5 kB / 450.7 MB, free: 5.016 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 4.208e-06/0.6356, allocations: 0 / 450.7 MB, free: 5.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001735/0.6373, allocations: 441.3 kB / 451.1 MB, free: 4.688 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.6375, allocations: 162.2 kB / 451.3 MB, free: 4.492 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.6386, allocations: 418 kB / 451.7 MB, free: 4.176 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.6387, allocations: 44.44 kB / 451.8 MB, free: 4.137 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000376/0.6391, allocations: 344 kB / 452.1 MB, free: 3.863 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.6393, allocations: 137.3 kB / 452.2 MB, free: 3.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.6394, allocations: 6.938 kB / 452.2 MB, free: 3.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.6396, allocations: 336.4 kB / 452.6 MB, free: 3.422 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006037/0.6402, allocations: 160.7 kB / 452.7 MB, free: 3.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000825/0.641, allocations: 317.9 kB / 453 MB, free: 3.023 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006681/0.6417, allocations: 175.8 kB / 453.2 MB, free: 2.906 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.6417, allocations: 3.938 kB / 453.2 MB, free: 2.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001862/0.6436, allocations: 0.5217 MB / 453.7 MB, free: 2.512 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008493/0.6445, allocations: 1.658 MB / 455.4 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.6445, allocations: 4 kB / 455.4 MB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006692/0.6452, allocations: 95.38 kB / 455.5 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008039/0.646, allocations: 87.08 kB / 455.6 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003637/0.6497, allocations: 1.853 MB / 457.4 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.6509, allocations: 90.86 kB / 457.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.559e-05/0.651, allocations: 23.56 kB / 457.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.651, allocations: 4 kB / 457.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001704/0.6527, allocations: 480.4 kB / 458 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.6527, allocations: 4 kB / 458 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005323/0.6533, allocations: 93.53 kB / 458.1 MB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007501/0.6541, allocations: 79.34 kB / 458.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003649/0.6577, allocations: 1.833 MB / 460 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007957/0.6586, allocations: 66.23 kB / 460.1 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.161e-05/0.6587, allocations: 19.19 kB / 460.1 MB, free: 12.47 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.0003316/0.659, allocations: 154.2 kB / 460.2 MB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/0.6593, allocations: 55.34 kB / 460.3 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.6595, allocations: 55.77 kB / 460.4 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.6595, allocations: 4 kB / 460.4 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.6596, allocations: 3.984 kB / 460.4 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.6596, allocations: 11.95 kB / 460.4 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003616/0.6632, allocations: 1.274 MB / 461.6 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.6633, allocations: 3.953 kB / 461.7 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/0.6638, allocations: 47.91 kB / 461.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005264/0.6643, allocations: 89 kB / 461.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.054e-05/0.6644, allocations: 12 kB / 461.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003529/0.668, allocations: 1.762 MB / 463.6 MB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.668, allocations: 0 / 463.6 MB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.6706, allocations: 0.7597 MB / 464.3 MB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/0.6711, allocations: 172.4 kB / 464.5 MB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.6713, allocations: 15.98 kB / 464.5 MB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008617/0.6722, allocations: 43.97 kB / 464.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002449/0.6724, allocations: 55.92 kB / 464.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/0.6725, allocations: 15.98 kB / 464.6 MB, free: 7.883 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000824/0.6733, allocations: 309.2 kB / 464.9 MB, free: 7.586 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6734, allocations: 0 / 464.9 MB, free: 7.586 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002047/0.6754, allocations: 299.1 kB / 465.2 MB, free: 7.293 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.003142/0.6786, allocations: 1.401 MB / 466.6 MB, free: 5.859 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00303/0.6817, allocations: 0.9186 MB / 467.5 MB, free: 4.922 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.6817, allocations: 0 / 467.5 MB, free: 4.922 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.6828, allocations: 354.8 kB / 467.9 MB, free: 4.566 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.6839, allocations: 86.59 kB / 468 MB, free: 4.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/0.688, allocations: 0.9415 MB / 468.9 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009171/0.689, allocations: 0.9223 MB / 469.8 MB, free: 2.535 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006818/0.6897, allocations: 223.3 kB / 470 MB, free: 2.316 MB / 378.7 MB Notification: Performance of SimCode: time 1.723e-06/0.6897, allocations: 0 / 470 MB, free: 2.316 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.924/3.614, allocations: 12.39 MB / 482.4 MB, free: 5.941 MB / 394.7 MB