Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadModel(Buildings): time 4.213/4.213, allocations: 464.7 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.5e-05/3.514e-05, allocations: 5.094 kB / 0.5731 GB, free: 5.754 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1962, allocations: 107.2 MB / 0.6778 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7012/0.8975, allocations: 132 MB / 0.8066 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.8977, allocations: 72.94 kB / 0.8067 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00391/0.9017, allocations: 1.121 MB / 0.8078 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.212e-06/0.9017, allocations: 0 / 0.8078 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.815e-05/0.9018, allocations: 3.906 kB / 0.8078 GB, free: 12.1 MB / 0.6355 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.00038/0.9021, allocations: 371.7 kB / 0.8082 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.9022, allocations: 7.5 kB / 0.8082 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.9022, allocations: 10.7 kB / 0.8082 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.9024, allocations: 190.1 kB / 0.8084 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.9024, allocations: 3.906 kB / 0.8084 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.9025, allocations: 0 / 0.8084 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.9026, allocations: 78.72 kB / 0.8084 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.694e-06/0.9026, allocations: 0 / 0.8084 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.9027, allocations: 3.562 kB / 0.8084 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.519e-06/0.9027, allocations: 0 / 0.8084 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.403e-05/0.9028, allocations: 29.66 kB / 0.8085 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00052/0.9033, allocations: 339.4 kB / 0.8088 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.416e-05/0.9034, allocations: 35.89 kB / 0.8088 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.9035, allocations: 19.61 kB / 0.8088 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.9036, allocations: 0 / 0.8088 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.9036, allocations: 38.41 kB / 0.8089 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.828e-06/0.9036, allocations: 0 / 0.8089 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001879/0.9038, allocations: 54.08 kB / 0.8089 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.9038, allocations: 55.44 kB / 0.809 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.349e-05/0.9039, allocations: 111.3 kB / 0.8091 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.9039, allocations: 33.05 kB / 0.8091 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.904, allocations: 91 kB / 0.8092 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.904, allocations: 11.66 kB / 0.8092 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-06/0.904, allocations: 3.438 kB / 0.8092 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.982e-05/0.9041, allocations: 314.8 kB / 0.8095 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.027e-05/0.9042, allocations: 14.44 kB / 0.8095 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.9042, allocations: 11.19 kB / 0.8095 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.9042, allocations: 10.53 kB / 0.8096 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.739e-06/0.9043, allocations: 0 / 0.8096 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000127/0.9044, allocations: 62.48 kB / 0.8096 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.9044, allocations: 3.844 kB / 0.8096 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.703e-06/0.9044, allocations: 0 / 0.8096 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.9045, allocations: 0 / 0.8096 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.9046, allocations: 25.16 kB / 0.8096 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.679e-06/0.9046, allocations: 3.844 kB / 0.8096 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.9048, allocations: 20.5 kB / 0.8097 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.9048, allocations: 7.891 kB / 0.8097 GB, free: 10.45 MB / 0.6355 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 4.596e-05/0.9048, allocations: 101 kB / 0.8098 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.9049, allocations: 7.906 kB / 0.8098 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.9051, allocations: 68.38 kB / 0.8098 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.803e-06/0.9051, allocations: 3.906 kB / 0.8098 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.246e-06/0.9051, allocations: 0 / 0.8098 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.42e-06/0.9051, allocations: 0 / 0.8098 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.9053, allocations: 186.4 kB / 0.81 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.118e-06/0.9053, allocations: 0 / 0.81 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.9055, allocations: 24.7 kB / 0.81 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.916e-06/0.9055, allocations: 240 / 0.81 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.9055, allocations: 7.906 kB / 0.8101 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.619e-06/0.9055, allocations: 0 / 0.8101 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.647e-06/0.9055, allocations: 0 / 0.8101 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.9057, allocations: 162.3 kB / 0.8102 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.402e-05/0.9057, allocations: 84.7 kB / 0.8103 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.9057, allocations: 0 / 0.8103 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.9059, allocations: 21.09 kB / 0.8103 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.906, allocations: 6.922 kB / 0.8103 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.906, allocations: 0 / 0.8103 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.632e-05/0.906, allocations: 97.28 kB / 0.8104 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.27e-07/0.906, allocations: 0 / 0.8104 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003084/0.9064, allocations: 11.41 kB / 0.8104 GB, free: 9.777 MB / 0.6355 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.0001309/0.9065, allocations: 109.5 kB / 0.8105 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001333/0.9067, allocations: 29.25 kB / 0.8106 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.687e-06/0.9067, allocations: 7.875 kB / 0.8106 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.366e-05/0.9067, allocations: 14.88 kB / 0.8106 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.907, allocations: 14.06 kB / 0.8106 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.9072, allocations: 96.34 kB / 0.8107 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.9077, allocations: 0.6925 MB / 0.8114 GB, free: 24.89 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.79e-05/0.9078, allocations: 10.78 kB / 0.8114 GB, free: 24.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.9078, allocations: 11.31 kB / 0.8114 GB, free: 24.88 MB / 0.6511 GB Notification: Performance of SimCode: time 1.477e-06/0.9078, allocations: 0 / 0.8114 GB, free: 24.88 MB / 0.6511 GB Notification: Performance of Templates: time 0.003192/0.911, allocations: 0.6003 MB / 0.812 GB, free: 24.82 MB / 0.6511 GB