Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.134/4.134, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.053e-05/5.061e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6128/0.6129, allocations: 92.68 MB / 0.5897 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2223/0.8353, allocations: 119.4 MB / 0.7063 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.8356, allocations: 79.95 kB / 0.7064 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.001401/0.837, allocations: 479.3 kB / 0.7068 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8371, allocations: 4 kB / 0.7068 GB, free: 6.262 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.8371, allocations: 0 / 0.7068 GB, free: 6.262 MB / 0.5886 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.0002971/0.8374, allocations: 310.5 kB / 0.7071 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.8374, allocations: 12.09 kB / 0.7071 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.8375, allocations: 34.5 kB / 0.7072 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.8375, allocations: 3.953 kB / 0.7072 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.8376, allocations: 163.1 kB / 0.7073 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.8377, allocations: 7.938 kB / 0.7073 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.8377, allocations: 0 / 0.7073 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.246e-05/0.8378, allocations: 33.69 kB / 0.7074 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.8378, allocations: 0 / 0.7074 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.8378, allocations: 3.984 kB / 0.7074 GB, free: 5.605 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.8378, allocations: 0 / 0.7074 GB, free: 5.605 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.627e-05/0.8379, allocations: 7.953 kB / 0.7074 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.838, allocations: 145.7 kB / 0.7075 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.655e-05/0.8381, allocations: 18.52 kB / 0.7075 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.8381, allocations: 16.94 kB / 0.7075 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.8382, allocations: 0 / 0.7075 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.8382, allocations: 30.56 kB / 0.7076 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/0.8382, allocations: 0 / 0.7076 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001287/0.8384, allocations: 33.7 kB / 0.7076 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.8384, allocations: 59.38 kB / 0.7077 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.762e-05/0.8385, allocations: 85 kB / 0.7077 GB, free: 5.121 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.8385, allocations: 25.7 kB / 0.7078 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.208e-05/0.8386, allocations: 80.14 kB / 0.7078 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.8386, allocations: 0 / 0.7078 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.8386, allocations: 0 / 0.7078 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.8387, allocations: 318.8 kB / 0.7081 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.8388, allocations: 4 kB / 0.7081 GB, free: 4.684 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.535e-05/0.8388, allocations: 7.922 kB / 0.7082 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.018e-05/0.8388, allocations: 4.062 kB / 0.7082 GB, free: 4.672 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8388, allocations: 0 / 0.7082 GB, free: 4.672 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.153e-05/0.8389, allocations: 33.7 kB / 0.7082 GB, free: 4.633 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.8389, allocations: 4 kB / 0.7082 GB, free: 4.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.839, allocations: 0 / 0.7082 GB, free: 4.629 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.839, allocations: 0 / 0.7082 GB, free: 4.629 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.069e-05/0.8391, allocations: 4 kB / 0.7082 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.8391, allocations: 0 / 0.7082 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.8391, allocations: 3.938 kB / 0.7082 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.8391, allocations: 8.016 kB / 0.7082 GB, free: 4.613 MB / 0.5886 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 7.658e-05/0.8392, allocations: 109.8 kB / 0.7083 GB, free: 4.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-06/0.8392, allocations: 0 / 0.7083 GB, free: 4.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.8394, allocations: 40.77 kB / 0.7084 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.8394, allocations: 3.938 kB / 0.7084 GB, free: 4.449 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.8394, allocations: 7.984 kB / 0.7084 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8394, allocations: 4.031 kB / 0.7084 GB, free: 4.438 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.8395, allocations: 145.6 kB / 0.7085 GB, free: 4.246 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.8396, allocations: 4 kB / 0.7085 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/0.8396, allocations: 4 kB / 0.7085 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.8396, allocations: 0 / 0.7085 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.8396, allocations: 0 / 0.7085 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.8396, allocations: 0 / 0.7085 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.8396, allocations: 0 / 0.7085 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.498e-05/0.8397, allocations: 72.98 kB / 0.7086 GB, free: 4.148 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.8398, allocations: 77.11 kB / 0.7087 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.8398, allocations: 0 / 0.7087 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.534e-05/0.8398, allocations: 0 / 0.7087 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.8399, allocations: 0 / 0.7087 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.8399, allocations: 11.92 kB / 0.7087 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.003e-05/0.8399, allocations: 75.28 kB / 0.7087 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8399, allocations: 0 / 0.7087 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002683/0.8402, allocations: 4 kB / 0.7087 GB, free: 3.965 MB / 0.5886 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.0004642/0.8407, allocations: 0.6084 MB / 0.7093 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.872e-05/0.8408, allocations: 7.938 kB / 0.7093 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8408, allocations: 0 / 0.7093 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.676e-05/0.8408, allocations: 7.938 kB / 0.7094 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001112/0.8409, allocations: 160 / 0.7094 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.8413, allocations: 78.66 kB / 0.7094 GB, free: 3.199 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.8416, allocations: 0.677 MB / 0.7101 GB, free: 2.496 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.238e-05/0.8417, allocations: 4 kB / 0.7101 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.8417, allocations: 7.438 kB / 0.7101 GB, free: 2.484 MB / 0.5886 GB Notification: Performance of SimCode: time 7.01e-07/0.8417, allocations: 0 / 0.7101 GB, free: 2.484 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.8621, allocations: 0.8179 MB / 0.7109 GB, free: 1.73 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002775/0.8625, allocations: 165.3 kB / 0.7111 GB, free: 1.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/3.138, allocations: 7.938 kB / 0.7111 GB, free: 1.492 MB / 0.5886 GB