Running command: "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.489/2.489, allocations: 233 MB / 246.1 MB, free: 14.86 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.788e-05/4.813e-05, allocations: 7.938 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 53.24 MB / 355.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4343/0.549, allocations: 82.54 MB / 438.1 MB, free: 3.043 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.5494, allocations: 83.89 kB / 438.2 MB, free: 2.961 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007592/0.557, allocations: 1.632 MB / 439.8 MB, free: 1.336 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.557, allocations: 4 kB / 439.8 MB, free: 1.332 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.5571, allocations: 4 kB / 439.8 MB, free: 1.328 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.0007218/0.5578, allocations: 410.4 kB / 440.2 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.5579, allocations: 8.031 kB / 440.2 MB, free: 0.875 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.553e-05/0.5579, allocations: 46.25 kB / 440.2 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.558, allocations: 7.906 kB / 440.3 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.5582, allocations: 183.5 kB / 440.4 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.5583, allocations: 4 kB / 440.4 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.5583, allocations: 8 kB / 440.4 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.5585, allocations: 78.17 kB / 440.5 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.5586, allocations: 0 / 440.5 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.5586, allocations: 13.75 kB / 440.5 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.5586, allocations: 4 kB / 440.5 MB, free: 500 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.5588, allocations: 40 kB / 440.6 MB, free: 460 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.5599, allocations: 457.3 kB / 441 MB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.5603, allocations: 83.28 kB / 441.1 MB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.995e-05/0.5604, allocations: 24.86 kB / 441.1 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.5605, allocations: 4 kB / 441.1 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.5605, allocations: 34.56 kB / 441.2 MB, free: 15.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.154e-06/0.5605, allocations: 4 kB / 441.2 MB, free: 15.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002952/0.5608, allocations: 77.73 kB / 441.2 MB, free: 15.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.5609, allocations: 51.41 kB / 441.3 MB, free: 15.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.561, allocations: 129.5 kB / 441.4 MB, free: 15.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.5611, allocations: 25.7 kB / 441.5 MB, free: 15.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.5611, allocations: 108 kB / 441.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.5612, allocations: 19.8 kB / 441.6 MB, free: 15.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.5612, allocations: 7.938 kB / 441.6 MB, free: 15.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.5614, allocations: 326.8 kB / 441.9 MB, free: 15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-05/0.5615, allocations: 22.59 kB / 441.9 MB, free: 14.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.5616, allocations: 47.42 kB / 442 MB, free: 14.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.787e-05/0.5617, allocations: 28 kB / 442 MB, free: 14.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.5617, allocations: 4 kB / 442 MB, free: 14.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002743/0.562, allocations: 97.52 kB / 442.1 MB, free: 14.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.562, allocations: 4 kB / 442.1 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.562, allocations: 4 kB / 442.1 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5621, allocations: 0 / 442.1 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.5624, allocations: 35.92 kB / 442.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.5624, allocations: 4.094 kB / 442.1 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.5626, allocations: 23.77 kB / 442.2 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.5626, allocations: 5.219 kB / 442.2 MB, free: 14.71 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 8.981e-05/0.5627, allocations: 112.9 kB / 442.3 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.5628, allocations: 7.906 kB / 442.3 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.5631, allocations: 110.7 kB / 442.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.5631, allocations: 0 / 442.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5631, allocations: 4 kB / 442.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5631, allocations: 0 / 442.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.5635, allocations: 205.6 kB / 442.6 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5635, allocations: 0 / 442.6 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.5638, allocations: 31.98 kB / 442.6 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5639, allocations: 0 / 442.6 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.5639, allocations: 0 / 442.6 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.5639, allocations: 0 / 442.6 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.5639, allocations: 8.328 kB / 442.6 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/0.5643, allocations: 223.3 kB / 442.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.5644, allocations: 92.89 kB / 443 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.5645, allocations: 4 kB / 443 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.5647, allocations: 11.98 kB / 443 MB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.5647, allocations: 5.688 kB / 443 MB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.5648, allocations: 3.984 kB / 443 MB, free: 13.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001013/0.5649, allocations: 109.8 kB / 443.1 MB, free: 13.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5649, allocations: 0 / 443.1 MB, free: 13.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000341/0.5652, allocations: 20 kB / 443.1 MB, free: 13.7 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.0007293/0.566, allocations: 0.7481 MB / 443.9 MB, free: 12.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.5662, allocations: 63.92 kB / 443.9 MB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5662, allocations: 4.25 kB / 443.9 MB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.771e-05/0.5663, allocations: 27.94 kB / 443.9 MB, free: 12.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.5666, allocations: 8 kB / 444 MB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000945/0.5676, allocations: 262.7 kB / 444.2 MB, free: 12.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.5679, allocations: 0.7043 MB / 444.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.568, allocations: 8.672 kB / 444.9 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.5681, allocations: 31.42 kB / 445 MB, free: 11.76 MB / 378.7 MB Notification: Performance of SimCode: time 9.51e-07/0.5682, allocations: 0 / 445 MB, free: 11.76 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.5923, allocations: 2.027 MB / 447 MB, free: 9.812 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002811/0.5927, allocations: 148.1 kB / 447.1 MB, free: 9.582 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.24/2.833, allocations: 0 / 447.1 MB, free: 9.582 MB / 378.7 MB