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.596/3.596, allocations: 403.3 MB / 415.4 MB, free: 12.94 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.319e-05/3.331e-05, allocations: 8 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4943/0.4944, allocations: 92.68 MB / 0.5896 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1874/0.6819, allocations: 120.3 MB / 0.707 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.6821, allocations: 67.97 kB / 0.7071 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004314/0.6865, allocations: 1.116 MB / 0.7082 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.369e-06/0.6865, allocations: 0 / 0.7082 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.6865, allocations: 0 / 0.7082 GB, free: 4.832 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.0005086/0.6871, allocations: 366.5 kB / 0.7085 GB, free: 4.43 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.6871, allocations: 8.031 kB / 0.7085 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.6872, allocations: 11.86 kB / 0.7086 GB, free: 4.41 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.6874, allocations: 190.8 kB / 0.7087 GB, free: 4.184 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.6874, allocations: 4 kB / 0.7087 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.6874, allocations: 0 / 0.7087 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.6876, allocations: 69.61 kB / 0.7088 GB, free: 4.105 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.6877, allocations: 0 / 0.7088 GB, free: 4.105 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.6877, allocations: 0 / 0.7088 GB, free: 4.105 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.483e-06/0.6877, allocations: 0 / 0.7088 GB, free: 4.105 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.6878, allocations: 36 kB / 0.7088 GB, free: 4.07 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006549/0.6885, allocations: 344.6 kB / 0.7092 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.6886, allocations: 34.58 kB / 0.7092 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.757e-05/0.6887, allocations: 16.86 kB / 0.7092 GB, free: 3.621 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.6887, allocations: 96 / 0.7092 GB, free: 3.621 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.6888, allocations: 38.45 kB / 0.7093 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.937e-06/0.6888, allocations: 0 / 0.7093 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002158/0.689, allocations: 53.78 kB / 0.7093 GB, free: 3.516 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.6891, allocations: 63.39 kB / 0.7094 GB, free: 3.441 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.6892, allocations: 105 kB / 0.7095 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.6892, allocations: 25.7 kB / 0.7095 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.6893, allocations: 96.03 kB / 0.7096 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.6893, allocations: 7.844 kB / 0.7096 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.937e-06/0.6893, allocations: 4 kB / 0.7096 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.6895, allocations: 310.8 kB / 0.7099 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.835e-05/0.6895, allocations: 15.98 kB / 0.7099 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.037e-05/0.6896, allocations: 12 kB / 0.7099 GB, free: 2.852 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.174e-05/0.6897, allocations: 12 kB / 0.7099 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.133e-06/0.6897, allocations: 0 / 0.7099 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001591/0.6898, allocations: 65.53 kB / 0.71 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.6899, allocations: 4 kB / 0.71 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.159e-06/0.6899, allocations: 3.953 kB / 0.71 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.6899, allocations: 3.984 kB / 0.71 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.6901, allocations: 19.98 kB / 0.71 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.6901, allocations: 0 / 0.71 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.6902, allocations: 20.17 kB / 0.71 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.6902, allocations: 4 kB / 0.71 GB, free: 2.715 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 8.032e-05/0.6903, allocations: 101 kB / 0.7101 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.6904, allocations: 11.89 kB / 0.7102 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.6906, allocations: 69.64 kB / 0.7102 GB, free: 2.516 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.968e-06/0.6906, allocations: 3.953 kB / 0.7102 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.268e-06/0.6906, allocations: 7.984 kB / 0.7102 GB, free: 2.504 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.573e-06/0.6906, allocations: 0 / 0.7102 GB, free: 2.504 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.6909, allocations: 185.6 kB / 0.7104 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.683e-06/0.6909, allocations: 11.94 kB / 0.7104 GB, free: 2.262 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.6911, allocations: 15.98 kB / 0.7104 GB, free: 2.246 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.514e-06/0.6911, allocations: 4 kB / 0.7104 GB, free: 2.242 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.244e-06/0.6911, allocations: 0 / 0.7104 GB, free: 2.242 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.08e-06/0.6911, allocations: 0 / 0.7104 GB, free: 2.242 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.911e-06/0.6911, allocations: 7.953 kB / 0.7104 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.6913, allocations: 151.5 kB / 0.7106 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/0.6914, allocations: 85 kB / 0.7107 GB, free: 1.969 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.6914, allocations: 0 / 0.7107 GB, free: 1.969 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.6916, allocations: 15.98 kB / 0.7107 GB, free: 1.953 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.6917, allocations: 11.94 kB / 0.7107 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.807e-06/0.6917, allocations: 4 kB / 0.7107 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.574e-05/0.6918, allocations: 95.59 kB / 0.7108 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.14e-07/0.6918, allocations: 0 / 0.7108 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003105/0.6921, allocations: 12 kB / 0.7108 GB, free: 1.832 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.0001566/0.6923, allocations: 103 kB / 0.7109 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001523/0.6924, allocations: 31.98 kB / 0.7109 GB, free: 1.691 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.582e-06/0.6924, allocations: 0 / 0.7109 GB, free: 1.691 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.185e-05/0.6925, allocations: 20 kB / 0.7109 GB, free: 1.672 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.6927, allocations: 7.938 kB / 0.711 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.6931, allocations: 96.95 kB / 0.711 GB, free: 1.543 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.6934, allocations: 0.6887 MB / 0.7117 GB, free: 0.8281 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.747e-05/0.6935, allocations: 11.92 kB / 0.7117 GB, free: 0.8164 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.6936, allocations: 11.44 kB / 0.7117 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of SimCode: time 1.399e-06/0.6936, allocations: 4 kB / 0.7117 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of Templates: time 0.003239/0.6968, allocations: 0.6023 MB / 0.7123 GB, free: 208 kB / 0.5886 GB