Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.854/2.854, allocations: 288.1 MB / 300.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.391e-05/4.4e-05, allocations: 5.547 kB / 370.6 MB, free: 7.836 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1781, allocations: 67.01 MB / 437.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5954/0.7736, allocations: 97.81 MB / 0.5229 GB, free: 17.04 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.7739, allocations: 74.56 kB / 0.523 GB, free: 17.04 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005555/0.7795, allocations: 1.123 MB / 0.5241 GB, free: 32.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.7796, allocations: 0 / 0.5241 GB, free: 32.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.7796, allocations: 1.25 kB / 0.5241 GB, free: 32.68 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006026/0.7802, allocations: 377.4 kB / 0.5244 GB, free: 32.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.7803, allocations: 11.02 kB / 0.5244 GB, free: 32.32 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.7803, allocations: 38.89 kB / 0.5245 GB, free: 32.28 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.7804, allocations: 7.344 kB / 0.5245 GB, free: 32.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.7806, allocations: 187 kB / 0.5247 GB, free: 32.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.7806, allocations: 3.594 kB / 0.5247 GB, free: 32.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.7806, allocations: 4 kB / 0.5247 GB, free: 32.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.7808, allocations: 64.45 kB / 0.5247 GB, free: 32.04 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.7809, allocations: 4 kB / 0.5247 GB, free: 32.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.7809, allocations: 7.094 kB / 0.5247 GB, free: 32.03 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.7809, allocations: 0 / 0.5247 GB, free: 32.03 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.781, allocations: 35.44 kB / 0.5248 GB, free: 32.03 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007736/0.7818, allocations: 335.9 kB / 0.5251 GB, free: 31.75 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.782, allocations: 39.91 kB / 0.5251 GB, free: 31.73 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.009e-05/0.782, allocations: 17.73 kB / 0.5252 GB, free: 31.72 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.471e-05/0.7821, allocations: 4.75 kB / 0.5252 GB, free: 31.72 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.7821, allocations: 35.94 kB / 0.5252 GB, free: 31.68 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.7821, allocations: 0 / 0.5252 GB, free: 31.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002223/0.7824, allocations: 58.83 kB / 0.5252 GB, free: 31.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.7824, allocations: 55.34 kB / 0.5253 GB, free: 31.57 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.7825, allocations: 105.5 kB / 0.5254 GB, free: 31.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.7826, allocations: 27.08 kB / 0.5254 GB, free: 31.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.7826, allocations: 89.81 kB / 0.5255 GB, free: 31.37 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.7827, allocations: 18.62 kB / 0.5255 GB, free: 31.36 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-06/0.7827, allocations: 0 / 0.5255 GB, free: 31.36 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.7828, allocations: 319.3 kB / 0.5258 GB, free: 31.04 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.734e-05/0.7829, allocations: 14.06 kB / 0.5258 GB, free: 31.04 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.603e-05/0.7829, allocations: 13.23 kB / 0.5259 GB, free: 31.04 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.781e-05/0.783, allocations: 8.938 kB / 0.5259 GB, free: 31.04 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.783, allocations: 3.938 kB / 0.5259 GB, free: 31.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001441/0.7832, allocations: 61.02 kB / 0.5259 GB, free: 31 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.7832, allocations: 6.281 kB / 0.5259 GB, free: 31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.7832, allocations: 0 / 0.5259 GB, free: 31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.7832, allocations: 1.375 kB / 0.5259 GB, free: 31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.7835, allocations: 24.14 kB / 0.526 GB, free: 31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.7835, allocations: 2.531 kB / 0.526 GB, free: 31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.7837, allocations: 20.44 kB / 0.526 GB, free: 30.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.7837, allocations: 1.375 kB / 0.526 GB, free: 30.99 MB / 458.7 MB 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 (3): * Single equations (assignments): 3 * 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.306e-05/0.7838, allocations: 103.9 kB / 0.5261 GB, free: 30.89 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.7838, allocations: 16.25 kB / 0.5261 GB, free: 30.88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.784, allocations: 68.11 kB / 0.5262 GB, free: 30.83 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.7841, allocations: 1.375 kB / 0.5262 GB, free: 30.83 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7841, allocations: 0 / 0.5262 GB, free: 30.83 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.7841, allocations: 2.875 kB / 0.5262 GB, free: 30.83 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.7843, allocations: 174.7 kB / 0.5263 GB, free: 30.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.7843, allocations: 0 / 0.5263 GB, free: 30.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.7845, allocations: 22.59 kB / 0.5264 GB, free: 30.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.7845, allocations: 9.562 kB / 0.5264 GB, free: 30.63 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.7845, allocations: 0 / 0.5264 GB, free: 30.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.7846, allocations: 1.375 kB / 0.5264 GB, free: 30.63 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7846, allocations: 0 / 0.5264 GB, free: 30.63 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.7848, allocations: 162.2 kB / 0.5265 GB, free: 30.49 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.7848, allocations: 78.48 kB / 0.5266 GB, free: 30.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.7848, allocations: 6.219 kB / 0.5266 GB, free: 30.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.7851, allocations: 20.62 kB / 0.5266 GB, free: 30.39 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.7851, allocations: 4.359 kB / 0.5266 GB, free: 30.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.7851, allocations: 3.016 kB / 0.5266 GB, free: 30.39 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.679e-05/0.7852, allocations: 92.22 kB / 0.5267 GB, free: 30.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7852, allocations: 0 / 0.5267 GB, free: 30.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003407/0.7856, allocations: 14.66 kB / 0.5267 GB, free: 30.31 MB / 458.7 MB 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 (3): * Single equations (assignments): 3 * 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.0005975/0.7862, allocations: 0.6966 MB / 0.5274 GB, free: 29.65 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.7864, allocations: 37.09 kB / 0.5274 GB, free: 29.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.7864, allocations: 0 / 0.5274 GB, free: 29.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.787e-05/0.7865, allocations: 16.03 kB / 0.5275 GB, free: 29.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.7867, allocations: 9.219 kB / 0.5275 GB, free: 29.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005224/0.7873, allocations: 134.7 kB / 0.5276 GB, free: 29.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.7876, allocations: 0.6915 MB / 0.5283 GB, free: 28.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.983e-05/0.7877, allocations: 6.484 kB / 0.5283 GB, free: 28.82 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.693e-05/0.7878, allocations: 17.81 kB / 0.5283 GB, free: 28.81 MB / 458.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7878, allocations: 0 / 0.5283 GB, free: 28.81 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.8114, allocations: 1.445 MB / 0.5297 GB, free: 28.61 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/0.8117, allocations: 147.1 kB / 0.5298 GB, free: 28.38 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/3.159, allocations: 1.188 kB / 0.5298 GB, free: 28.38 MB / 458.7 MB