Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.427/3.427, allocations: 343.8 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.508e-05/4.516e-05, allocations: 4 kB / 436.7 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1827, allocations: 77.72 MB / 0.5023 GB, free: 4.484 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6678/0.8506, allocations: 104.8 MB / 0.6047 GB, free: 84 kB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003799/0.851, allocations: 79.94 kB / 0.6048 GB, free: 4 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001854/0.8529, allocations: 480 kB / 0.6053 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.225e-06/0.853, allocations: 4 kB / 0.6053 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.853, allocations: 0 / 0.6053 GB, free: 15.53 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003757/0.8534, allocations: 301.8 kB / 0.6055 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.8534, allocations: 16.08 kB / 0.6056 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.923e-05/0.8535, allocations: 30.56 kB / 0.6056 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.8535, allocations: 0 / 0.6056 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.8537, allocations: 163 kB / 0.6057 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.8537, allocations: 0 / 0.6057 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.8538, allocations: 3.938 kB / 0.6057 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.8539, allocations: 33.7 kB / 0.6058 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.8539, allocations: 0 / 0.6058 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.8539, allocations: 6.562 kB / 0.6058 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.854, allocations: 2.625 kB / 0.6058 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.212e-05/0.854, allocations: 4 kB / 0.6058 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.8542, allocations: 149.6 kB / 0.6059 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.647e-05/0.8543, allocations: 14.58 kB / 0.6059 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.428e-05/0.8544, allocations: 12.95 kB / 0.606 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-05/0.8544, allocations: 0 / 0.606 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.8545, allocations: 38.5 kB / 0.606 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 2.144e-06/0.8545, allocations: 0 / 0.606 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001563/0.8547, allocations: 37.69 kB / 0.606 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.8547, allocations: 51.41 kB / 0.6061 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.775e-05/0.8548, allocations: 85 kB / 0.6062 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.8548, allocations: 25.7 kB / 0.6062 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.107e-05/0.8549, allocations: 88.16 kB / 0.6063 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.855, allocations: 0 / 0.6063 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.855, allocations: 0 / 0.6063 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.8552, allocations: 314.8 kB / 0.6066 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.8552, allocations: 4 kB / 0.6066 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.174e-05/0.8552, allocations: 0 / 0.6066 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.875e-05/0.8553, allocations: 0 / 0.6066 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.8553, allocations: 0 / 0.6066 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001156/0.8554, allocations: 49.69 kB / 0.6066 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.8554, allocations: 4 kB / 0.6066 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.8555, allocations: 0 / 0.6066 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.8555, allocations: 0 / 0.6066 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.994e-05/0.8556, allocations: 7.938 kB / 0.6066 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.8556, allocations: 0 / 0.6066 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.754e-05/0.8557, allocations: 7.875 kB / 0.6066 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.8557, allocations: 3.984 kB / 0.6066 GB, free: 13.89 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001055/0.8558, allocations: 108.9 kB / 0.6067 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.8558, allocations: 0 / 0.6067 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.856, allocations: 40.84 kB / 0.6068 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.8561, allocations: 0 / 0.6068 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.8561, allocations: 4 kB / 0.6068 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.8561, allocations: 0 / 0.6068 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.8563, allocations: 157.6 kB / 0.6069 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.8563, allocations: 0 / 0.6069 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.786e-05/0.8563, allocations: 4 kB / 0.6069 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.8564, allocations: 8.016 kB / 0.607 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.8564, allocations: 0.875 kB / 0.607 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.8564, allocations: 0 / 0.607 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.8564, allocations: 0 / 0.607 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.8566, allocations: 61.03 kB / 0.607 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.8566, allocations: 81.06 kB / 0.6071 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.8567, allocations: 0 / 0.6071 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.765e-05/0.8567, allocations: 8 kB / 0.6071 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.8567, allocations: 4.031 kB / 0.6071 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.8568, allocations: 4 kB / 0.6071 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.361e-05/0.8568, allocations: 75.28 kB / 0.6072 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.81e-07/0.8568, allocations: 0 / 0.6072 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004357/0.8573, allocations: 4.875 kB / 0.6072 GB, free: 13.24 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0006305/0.8579, allocations: 0.6124 MB / 0.6078 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.191e-05/0.858, allocations: 4 kB / 0.6078 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.8581, allocations: 0 / 0.6078 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.542e-05/0.8581, allocations: 0 / 0.6078 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.8583, allocations: 6.859 kB / 0.6078 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004125/0.8587, allocations: 74.64 kB / 0.6079 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.8591, allocations: 0.677 MB / 0.6085 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.056e-05/0.8591, allocations: 8.062 kB / 0.6085 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.8592, allocations: 7.438 kB / 0.6085 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of SimCode: time 1.162e-06/0.8592, allocations: 0 / 0.6085 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0672/0.9264, allocations: 0.8349 MB / 0.6094 GB, free: 11 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003285/0.9268, allocations: 167.2 kB / 0.6095 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/3.203, allocations: 0 / 0.6095 GB, free: 10.78 MB / 0.4948 GB