Running command: "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.43/2.43, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.272e-05/4.284e-05, allocations: 7.984 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1158, allocations: 53.23 MB / 355.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.476/0.5918, allocations: 82.55 MB / 438.1 MB, free: 3.051 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/0.5922, allocations: 79.95 kB / 438.2 MB, free: 2.973 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007687/0.5999, allocations: 1.636 MB / 439.8 MB, free: 1.344 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6, allocations: 0 / 439.8 MB, free: 1.344 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.6, allocations: 4 kB / 439.8 MB, free: 1.34 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.000725/0.6007, allocations: 410.4 kB / 440.2 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.6008, allocations: 8.031 kB / 440.2 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.304e-05/0.6009, allocations: 42.55 kB / 440.2 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.6009, allocations: 7.906 kB / 440.3 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.6012, allocations: 182.9 kB / 440.4 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.6012, allocations: 8.547 kB / 440.4 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.6012, allocations: 4 kB / 440.4 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.6015, allocations: 78.12 kB / 440.5 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.6015, allocations: 0 / 440.5 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.6015, allocations: 11.95 kB / 440.5 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.6016, allocations: 5.859 kB / 440.5 MB, free: 0.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.6017, allocations: 47.98 kB / 440.6 MB, free: 464 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.6029, allocations: 446.2 kB / 441 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.6033, allocations: 86.62 kB / 441.1 MB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.434e-05/0.6034, allocations: 28.84 kB / 441.1 MB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.6034, allocations: 0 / 441.1 MB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.6035, allocations: 38.56 kB / 441.2 MB, free: 15.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.414e-06/0.6035, allocations: 0.5625 kB / 441.2 MB, free: 15.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003099/0.6038, allocations: 73.59 kB / 441.2 MB, free: 15.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.6039, allocations: 55.34 kB / 441.3 MB, free: 15.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.6041, allocations: 135.6 kB / 441.4 MB, free: 15.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.6041, allocations: 29.7 kB / 441.5 MB, free: 15.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/0.6042, allocations: 104 kB / 441.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.6043, allocations: 21.77 kB / 441.6 MB, free: 15.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/0.6043, allocations: 4 kB / 441.6 MB, free: 15.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.6045, allocations: 322.8 kB / 441.9 MB, free: 15.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.678e-05/0.6046, allocations: 20 kB / 441.9 MB, free: 14.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.6047, allocations: 48.53 kB / 442 MB, free: 14.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.6048, allocations: 36.05 kB / 442 MB, free: 14.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.6049, allocations: 0 / 442 MB, free: 14.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003052/0.6052, allocations: 97.53 kB / 442.1 MB, free: 14.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.6052, allocations: 11.98 kB / 442.1 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.6052, allocations: 0 / 442.1 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.6053, allocations: 0 / 442.1 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.6056, allocations: 37.39 kB / 442.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.6056, allocations: 0 / 442.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.6059, allocations: 23.83 kB / 442.2 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.6059, allocations: 3.938 kB / 442.2 MB, free: 14.73 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 0.0001154/0.606, allocations: 112.9 kB / 442.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.6061, allocations: 9.031 kB / 442.3 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.6064, allocations: 106.2 kB / 442.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.6065, allocations: 0 / 442.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.6065, allocations: 0 / 442.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.6065, allocations: 0 / 442.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.6069, allocations: 213.5 kB / 442.6 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6069, allocations: 0 / 442.6 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.6072, allocations: 29.55 kB / 442.6 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.6073, allocations: 0 / 442.6 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.6073, allocations: 0 / 442.6 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.6073, allocations: 4 kB / 442.6 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6073, allocations: 0 / 442.6 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004619/0.6078, allocations: 229.3 kB / 442.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-05/0.6079, allocations: 92.86 kB / 443 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.6079, allocations: 4.031 kB / 443 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.6081, allocations: 7.984 kB / 443 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.6082, allocations: 4 kB / 443 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.6082, allocations: 4.062 kB / 443 MB, free: 13.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.6083, allocations: 114 kB / 443.1 MB, free: 13.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6084, allocations: 0 / 443.1 MB, free: 13.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003641/0.6087, allocations: 16 kB / 443.1 MB, free: 13.71 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.0007684/0.6095, allocations: 0.7669 MB / 443.9 MB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002391/0.6098, allocations: 56.06 kB / 443.9 MB, free: 12.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6098, allocations: 0 / 443.9 MB, free: 12.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.6099, allocations: 31.94 kB / 444 MB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.6102, allocations: 7.984 kB / 444 MB, free: 12.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.6112, allocations: 264.3 kB / 444.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.6116, allocations: 0.7004 MB / 444.9 MB, free: 11.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.6117, allocations: 8.672 kB / 444.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.6119, allocations: 27.61 kB / 445 MB, free: 11.77 MB / 378.7 MB Notification: Performance of SimCode: time 1.963e-06/0.6119, allocations: 3.938 kB / 445 MB, free: 11.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06432/0.6762, allocations: 2.037 MB / 447 MB, free: 9.809 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002557/0.6765, allocations: 147.5 kB / 447.1 MB, free: 9.586 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/2.957, allocations: 0 / 447.1 MB, free: 9.586 MB / 378.7 MB