Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadModel(Buildings): time 3.56/3.56, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.683e-05/3.696e-05, allocations: 7.938 kB / 0.499 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5432/0.5433, allocations: 92.69 MB / 0.5895 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.206/0.7493, allocations: 120.3 MB / 0.707 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.7496, allocations: 71.91 kB / 0.7071 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.00423/0.7539, allocations: 1.112 MB / 0.7081 GB, free: 4.883 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.637e-06/0.7539, allocations: 3.938 kB / 0.7081 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.914e-06/0.7539, allocations: 0 / 0.7081 GB, free: 4.879 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005677/0.7545, allocations: 370.5 kB / 0.7085 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/0.7546, allocations: 8.031 kB / 0.7085 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.896e-05/0.7547, allocations: 11.86 kB / 0.7085 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.755, allocations: 182.9 kB / 0.7087 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.7551, allocations: 3.938 kB / 0.7087 GB, free: 4.23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.7551, allocations: 4 kB / 0.7087 GB, free: 4.227 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.7554, allocations: 65.67 kB / 0.7088 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.7554, allocations: 4 kB / 0.7088 GB, free: 4.152 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.7555, allocations: 3.938 kB / 0.7088 GB, free: 4.148 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.92e-06/0.7555, allocations: 0 / 0.7088 GB, free: 4.148 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.7557, allocations: 32 kB / 0.7088 GB, free: 4.117 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.7567, allocations: 340.6 kB / 0.7091 GB, free: 3.734 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.7569, allocations: 34.58 kB / 0.7092 GB, free: 3.691 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.577e-05/0.7571, allocations: 16.86 kB / 0.7092 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.987e-05/0.7571, allocations: 4.031 kB / 0.7092 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/0.7572, allocations: 46.53 kB / 0.7092 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 3.834e-06/0.7572, allocations: 4 kB / 0.7092 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003647/0.7576, allocations: 61.67 kB / 0.7093 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.7577, allocations: 51.41 kB / 0.7093 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.7579, allocations: 101 kB / 0.7094 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.7579, allocations: 25.7 kB / 0.7095 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/0.7581, allocations: 96.03 kB / 0.7095 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.7581, allocations: 11.84 kB / 0.7096 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.494e-06/0.7581, allocations: 0 / 0.7096 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.7584, allocations: 322.8 kB / 0.7099 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.931e-05/0.7585, allocations: 8 kB / 0.7099 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.671e-05/0.7585, allocations: 12 kB / 0.7099 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.377e-05/0.7586, allocations: 11.94 kB / 0.7099 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.681e-06/0.7586, allocations: 0 / 0.7099 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002419/0.7589, allocations: 65.58 kB / 0.71 GB, free: 2.809 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.7589, allocations: 4 kB / 0.71 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.134e-06/0.7589, allocations: 3.953 kB / 0.71 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.759, allocations: 0 / 0.71 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.7592, allocations: 23.98 kB / 0.71 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.671e-06/0.7593, allocations: 0 / 0.71 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.7595, allocations: 15.98 kB / 0.71 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.7595, allocations: 8 kB / 0.71 GB, free: 2.754 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 (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 0.0001059/0.7596, allocations: 101 kB / 0.7101 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.127e-05/0.7597, allocations: 11.89 kB / 0.7101 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.76, allocations: 73.64 kB / 0.7102 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.7601, allocations: 3.953 kB / 0.7102 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.307e-06/0.7601, allocations: 0 / 0.7102 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.39e-06/0.7601, allocations: 0 / 0.7102 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003697/0.7605, allocations: 177.6 kB / 0.7104 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.642e-06/0.7605, allocations: 0 / 0.7104 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.7607, allocations: 19.98 kB / 0.7104 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.692e-06/0.7607, allocations: 4 kB / 0.7104 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.7608, allocations: 7.938 kB / 0.7104 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.103e-06/0.7608, allocations: 0 / 0.7104 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.235e-06/0.7608, allocations: 7.891 kB / 0.7104 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.7612, allocations: 159.5 kB / 0.7106 GB, free: 2.113 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.016e-05/0.7613, allocations: 81.02 kB / 0.7106 GB, free: 2.016 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.7613, allocations: 4 kB / 0.7106 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/0.7616, allocations: 15.98 kB / 0.7107 GB, free: 1.996 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.805e-05/0.7617, allocations: 11.94 kB / 0.7107 GB, free: 1.984 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.7618, allocations: 4 kB / 0.7107 GB, free: 1.98 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000102/0.7619, allocations: 95.66 kB / 0.7108 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.36e-07/0.7619, allocations: 0 / 0.7108 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00059/0.7625, allocations: 8 kB / 0.7108 GB, free: 1.879 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 (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.0002068/0.7627, allocations: 107 kB / 0.7109 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001952/0.7629, allocations: 28 kB / 0.7109 GB, free: 1.738 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.509e-06/0.763, allocations: 4 kB / 0.7109 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.7631, allocations: 15.94 kB / 0.7109 GB, free: 1.719 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.7635, allocations: 15.92 kB / 0.7109 GB, free: 1.703 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004221/0.7639, allocations: 85.5 kB / 0.711 GB, free: 1.594 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.7644, allocations: 0.6965 MB / 0.7117 GB, free: 0.8711 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.566e-05/0.7645, allocations: 11.98 kB / 0.7117 GB, free: 0.8594 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.7646, allocations: 11.38 kB / 0.7117 GB, free: 0.8477 MB / 0.5886 GB Notification: Performance of SimCode: time 1.703e-06/0.7646, allocations: 0 / 0.7117 GB, free: 0.8477 MB / 0.5886 GB Notification: Performance of Templates: time 0.005112/0.7698, allocations: 0.6165 MB / 0.7123 GB, free: 244 kB / 0.5886 GB