Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Average,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.403/3.403, allocations: 343.8 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.56e-05/4.579e-05, allocations: 8 kB / 436.6 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1855, allocations: 77.73 MB / 0.5023 GB, free: 4.488 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7222/0.9078, allocations: 105.8 MB / 0.6056 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.9082, allocations: 71.95 kB / 0.6057 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004916/0.9131, allocations: 1.116 MB / 0.6068 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9131, allocations: 4 kB / 0.6068 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.9132, allocations: 4.766 kB / 0.6068 GB, free: 14.07 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000641/0.9138, allocations: 372.5 kB / 0.6071 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.9139, allocations: 15.97 kB / 0.6071 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.52e-05/0.914, allocations: 38.56 kB / 0.6072 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.914, allocations: 4 kB / 0.6072 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.9142, allocations: 194.8 kB / 0.6074 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.9143, allocations: 0 / 0.6074 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.9143, allocations: 4 kB / 0.6074 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.9145, allocations: 61.67 kB / 0.6074 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.9145, allocations: 7.938 kB / 0.6074 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.9146, allocations: 0 / 0.6074 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.9146, allocations: 0 / 0.6074 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.9147, allocations: 35.94 kB / 0.6075 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008033/0.9155, allocations: 336.7 kB / 0.6078 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.9157, allocations: 46.59 kB / 0.6078 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.684e-05/0.9157, allocations: 12.86 kB / 0.6078 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.9158, allocations: 4 kB / 0.6079 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.9158, allocations: 30.56 kB / 0.6079 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/0.9158, allocations: 0 / 0.6079 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002411/0.9161, allocations: 61.77 kB / 0.6079 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.9162, allocations: 55.41 kB / 0.608 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.9163, allocations: 113.5 kB / 0.6081 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.9163, allocations: 25.7 kB / 0.6081 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.9164, allocations: 96.03 kB / 0.6082 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.9165, allocations: 11.84 kB / 0.6082 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-06/0.9165, allocations: 0 / 0.6082 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.9166, allocations: 310.8 kB / 0.6085 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-05/0.9167, allocations: 12 kB / 0.6085 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.925e-05/0.9167, allocations: 19.92 kB / 0.6086 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.45e-05/0.9168, allocations: 8 kB / 0.6086 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9168, allocations: 4 kB / 0.6086 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001591/0.917, allocations: 62.47 kB / 0.6086 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.917, allocations: 7.938 kB / 0.6086 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.917, allocations: 0 / 0.6086 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.9171, allocations: 3.953 kB / 0.6086 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.9173, allocations: 23.97 kB / 0.6087 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.9173, allocations: 0 / 0.6087 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.9175, allocations: 19.98 kB / 0.6087 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.9175, allocations: 0 / 0.6087 GB, free: 11.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 (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.406e-05/0.9176, allocations: 109 kB / 0.6088 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.9177, allocations: 3.906 kB / 0.6088 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.9179, allocations: 77.58 kB / 0.6089 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.9179, allocations: 0 / 0.6089 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.9179, allocations: 3.953 kB / 0.6089 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.9179, allocations: 3.984 kB / 0.6089 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.9182, allocations: 177.7 kB / 0.609 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.9182, allocations: 0 / 0.609 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.9184, allocations: 23.97 kB / 0.6091 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.9184, allocations: 0 / 0.6091 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.9185, allocations: 4 kB / 0.6091 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.9185, allocations: 0 / 0.6091 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9185, allocations: 0 / 0.6091 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.9187, allocations: 159.5 kB / 0.6092 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.9188, allocations: 85 kB / 0.6093 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.9188, allocations: 3.938 kB / 0.6093 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.919, allocations: 15.98 kB / 0.6093 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.9191, allocations: 4 kB / 0.6093 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.9191, allocations: 3.984 kB / 0.6093 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.355e-05/0.9192, allocations: 99.61 kB / 0.6094 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9192, allocations: 0 / 0.6094 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000316/0.9195, allocations: 12 kB / 0.6094 GB, free: 11.02 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 (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.0005798/0.9201, allocations: 0.6928 MB / 0.6101 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.9203, allocations: 32.22 kB / 0.6101 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9203, allocations: 4 kB / 0.6101 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/0.9204, allocations: 19.98 kB / 0.6102 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.9206, allocations: 8.625 kB / 0.6102 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005206/0.9212, allocations: 134.4 kB / 0.6103 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.9216, allocations: 0.6887 MB / 0.611 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.972e-05/0.9216, allocations: 16.17 kB / 0.611 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.9217, allocations: 19.38 kB / 0.611 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of SimCode: time 6.72e-07/0.9217, allocations: 0 / 0.611 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.9436, allocations: 1.466 MB / 0.6124 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002971/0.944, allocations: 149.9 kB / 0.6126 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.378/3.322, allocations: 0 / 0.6126 GB, free: 7.715 MB / 0.4948 GB