Running command: "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.303/2.303, allocations: 233 MB / 245.6 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.087e-05, allocations: 0 / 301.4 MB, free: 7.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1112, allocations: 53.23 MB / 354.6 MB, free: 2.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4455/0.5568, allocations: 82.55 MB / 437.1 MB, free: 3.355 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/0.5572, allocations: 82.11 kB / 437.2 MB, free: 3.277 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007783/0.565, allocations: 1.648 MB / 438.9 MB, free: 1.637 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.565, allocations: 0 / 438.9 MB, free: 1.637 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.5651, allocations: 4 kB / 438.9 MB, free: 1.633 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007387/0.5658, allocations: 402.5 kB / 439.3 MB, free: 1.195 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.5659, allocations: 8.031 kB / 439.3 MB, free: 1.188 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.307e-05/0.566, allocations: 38.56 kB / 439.3 MB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.566, allocations: 7.906 kB / 439.3 MB, free: 1.133 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.5662, allocations: 191.4 kB / 439.5 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.5663, allocations: 9.219 kB / 439.5 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.5663, allocations: 4 kB / 439.5 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.5666, allocations: 78.19 kB / 439.6 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.5666, allocations: 0 / 439.6 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.5666, allocations: 9.156 kB / 439.6 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.5666, allocations: 4 kB / 439.6 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.5668, allocations: 40 kB / 439.6 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.5679, allocations: 461.2 kB / 440.1 MB, free: 256 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.5683, allocations: 78.69 kB / 440.2 MB, free: 168 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.771e-05/0.5684, allocations: 28.86 kB / 440.2 MB, free: 136 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.5685, allocations: 0 / 440.2 MB, free: 136 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.5685, allocations: 30.56 kB / 440.2 MB, free: 96 kB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.5685, allocations: 0 / 440.2 MB, free: 96 kB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000324/0.5689, allocations: 92.2 kB / 440.3 MB, free: 0 / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.5689, allocations: 51.41 kB / 440.4 MB, free: 15.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.5691, allocations: 129.4 kB / 440.5 MB, free: 15.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.5691, allocations: 33.7 kB / 440.5 MB, free: 15.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.166e-05/0.5692, allocations: 166.5 kB / 440.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.5693, allocations: 23.8 kB / 440.7 MB, free: 15.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/0.5693, allocations: 4 kB / 440.7 MB, free: 15.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5695, allocations: 318.8 kB / 441 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.166e-05/0.5696, allocations: 20 kB / 441 MB, free: 15.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.5697, allocations: 51.42 kB / 441.1 MB, free: 15.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.5698, allocations: 35.92 kB / 441.1 MB, free: 15.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5698, allocations: 0 / 441.1 MB, free: 15.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002709/0.5701, allocations: 97.53 kB / 441.2 MB, free: 15.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.5701, allocations: 4 kB / 441.2 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5701, allocations: 1.438 kB / 441.2 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.5702, allocations: 4 kB / 441.2 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.5705, allocations: 36.06 kB / 441.3 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.5705, allocations: 0 / 441.3 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.5707, allocations: 18 kB / 441.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.5707, allocations: 4 kB / 441.3 MB, free: 14.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.417e-05/0.5708, allocations: 116.9 kB / 441.4 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.5709, allocations: 7.906 kB / 441.4 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.5712, allocations: 102.8 kB / 441.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.5712, allocations: 4 kB / 441.5 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.5712, allocations: 0 / 441.5 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.5712, allocations: 3.984 kB / 441.5 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.5716, allocations: 209.5 kB / 441.7 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.5716, allocations: 0 / 441.7 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/0.5719, allocations: 28.53 kB / 441.8 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.572, allocations: 0 / 441.8 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.572, allocations: 4 kB / 441.8 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.572, allocations: 4 kB / 441.8 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.572, allocations: 1.172 kB / 441.8 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.5724, allocations: 224.9 kB / 442 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.5725, allocations: 88.98 kB / 442.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.5726, allocations: 3.984 kB / 442.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.5728, allocations: 8.875 kB / 442.1 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.5728, allocations: 12.05 kB / 442.1 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.5729, allocations: 4 kB / 442.1 MB, free: 14.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.573, allocations: 105.8 kB / 442.2 MB, free: 13.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.573, allocations: 0 / 442.2 MB, free: 13.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003532/0.5733, allocations: 20 kB / 442.2 MB, free: 13.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007321/0.5741, allocations: 0.7533 MB / 443 MB, free: 13.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.5743, allocations: 59.94 kB / 443 MB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.5744, allocations: 4 kB / 443 MB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.919e-05/0.5745, allocations: 28 kB / 443.1 MB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.5747, allocations: 12.12 kB / 443.1 MB, free: 13.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009446/0.5757, allocations: 289.9 kB / 443.4 MB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.576, allocations: 0.7043 MB / 444.1 MB, free: 12.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.5762, allocations: 27.42 kB / 444.1 MB, free: 12 MB / 378.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5762, allocations: 3.938 kB / 444.1 MB, free: 11.99 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.327/2.903, allocations: 1.688 MB / 445.8 MB, free: 10.31 MB / 378.7 MB