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.59/3.59, allocations: 402 MB / 415.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.5e-05/2.513e-05, allocations: 4 kB / 0.5003 GB, free: 8.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2444, allocations: 92.68 MB / 0.5908 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6728/0.9173, allocations: 120.3 MB / 0.7083 GB, free: 6.168 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.9176, allocations: 75.95 kB / 0.7084 GB, free: 6.094 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.004345/0.922, allocations: 1.097 MB / 0.7095 GB, free: 5 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.305e-06/0.922, allocations: 4 kB / 0.7095 GB, free: 4.996 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.922, allocations: 4.984 kB / 0.7095 GB, free: 4.992 MB / 0.573 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.0005283/0.9226, allocations: 365.6 kB / 0.7098 GB, free: 4.59 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.9226, allocations: 12.03 kB / 0.7098 GB, free: 4.578 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.9227, allocations: 18.09 kB / 0.7099 GB, free: 4.562 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.9229, allocations: 186.9 kB / 0.71 GB, free: 4.34 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.9229, allocations: 4 kB / 0.71 GB, free: 4.336 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.923, allocations: 7.938 kB / 0.7101 GB, free: 4.328 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.9233, allocations: 93.58 kB / 0.7101 GB, free: 4.23 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.078e-06/0.9233, allocations: 0 / 0.7101 GB, free: 4.23 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.9234, allocations: 11.98 kB / 0.7102 GB, free: 4.219 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.7e-06/0.9234, allocations: 0 / 0.7102 GB, free: 4.219 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/0.9238, allocations: 95.92 kB / 0.7102 GB, free: 4.125 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006712/0.9245, allocations: 344.5 kB / 0.7106 GB, free: 3.742 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.9248, allocations: 70.53 kB / 0.7106 GB, free: 3.664 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.9248, allocations: 0 / 0.7106 GB, free: 3.664 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.9249, allocations: 50.62 kB / 0.7107 GB, free: 3.605 MB / 0.573 GB Notification: Performance of pre-optimization done (n=3): time 2.15e-06/0.9249, allocations: 0 / 0.7107 GB, free: 3.605 MB / 0.573 GB Notification: Performance of matching and sorting (n=3): time 0.0007509/0.9257, allocations: 165.6 kB / 0.7109 GB, free: 3.438 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.9257, allocations: 51.41 kB / 0.7109 GB, free: 3.375 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.9259, allocations: 113.5 kB / 0.711 GB, free: 3.258 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.9259, allocations: 25.7 kB / 0.711 GB, free: 3.227 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.926, allocations: 96.05 kB / 0.7111 GB, free: 3.129 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.926, allocations: 7.844 kB / 0.7111 GB, free: 3.121 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-06/0.926, allocations: 0 / 0.7111 GB, free: 3.121 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.9262, allocations: 322.8 kB / 0.7114 GB, free: 2.797 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.9264, allocations: 47.95 kB / 0.7115 GB, free: 2.75 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.9266, allocations: 39.97 kB / 0.7115 GB, free: 2.711 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.9269, allocations: 51.89 kB / 0.7116 GB, free: 2.66 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.81e-06/0.9269, allocations: 0 / 0.7116 GB, free: 2.66 MB / 0.573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004725/0.9274, allocations: 125.8 kB / 0.7117 GB, free: 2.531 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.9274, allocations: 4 kB / 0.7117 GB, free: 2.527 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.207e-06/0.9274, allocations: 0 / 0.7117 GB, free: 2.527 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.9274, allocations: 7.938 kB / 0.7117 GB, free: 2.52 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.9276, allocations: 24.03 kB / 0.7117 GB, free: 2.496 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.9276, allocations: 0 / 0.7117 GB, free: 2.496 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.9278, allocations: 23.97 kB / 0.7117 GB, free: 2.473 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.9278, allocations: 4 kB / 0.7118 GB, free: 2.469 MB / 0.573 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.0001192/0.9279, allocations: 121 kB / 0.7119 GB, free: 2.344 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.928, allocations: 3.906 kB / 0.7119 GB, free: 2.34 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005165/0.9285, allocations: 142.3 kB / 0.712 GB, free: 2.195 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.817e-06/0.9285, allocations: 3.953 kB / 0.712 GB, free: 2.191 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.431e-06/0.9285, allocations: 0 / 0.712 GB, free: 2.191 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.9286, allocations: 0 / 0.712 GB, free: 2.191 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.9288, allocations: 177.6 kB / 0.7122 GB, free: 1.969 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-06/0.9288, allocations: 0 / 0.7122 GB, free: 1.969 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.929, allocations: 27.97 kB / 0.7122 GB, free: 1.941 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.953e-06/0.929, allocations: 0 / 0.7122 GB, free: 1.941 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.066e-06/0.929, allocations: 3.938 kB / 0.7122 GB, free: 1.938 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.764e-06/0.929, allocations: 8 kB / 0.7122 GB, free: 1.93 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.062e-06/0.929, allocations: 3.953 kB / 0.7122 GB, free: 1.926 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005206/0.9296, allocations: 219.4 kB / 0.7124 GB, free: 1.695 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.9297, allocations: 89.02 kB / 0.7125 GB, free: 1.59 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.9297, allocations: 0 / 0.7125 GB, free: 1.59 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.9299, allocations: 15.98 kB / 0.7125 GB, free: 1.574 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.9299, allocations: 7.984 kB / 0.7125 GB, free: 1.566 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.93, allocations: 7.953 kB / 0.7125 GB, free: 1.559 MB / 0.573 GB Notification: Performance of sorting global known variables: time 7.685e-05/0.93, allocations: 91.27 kB / 0.7126 GB, free: 1.469 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.45e-07/0.93, allocations: 0 / 0.7126 GB, free: 1.469 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003151/0.9304, allocations: 8 kB / 0.7126 GB, free: 1.461 MB / 0.573 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.0001668/0.9306, allocations: 103 kB / 0.7127 GB, free: 1.348 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004647/0.931, allocations: 103.9 kB / 0.7128 GB, free: 1.246 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.934e-06/0.931, allocations: 0 / 0.7128 GB, free: 1.246 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.9313, allocations: 51.91 kB / 0.7129 GB, free: 1.195 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.9315, allocations: 7.938 kB / 0.7129 GB, free: 1.188 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.9319, allocations: 165.3 kB / 0.7131 GB, free: 0.9922 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.9323, allocations: 0.6965 MB / 0.7137 GB, free: 276 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 5.77e-05/0.9324, allocations: 7.984 kB / 0.7137 GB, free: 268 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.9325, allocations: 11.44 kB / 0.7138 GB, free: 256 kB / 0.573 GB Notification: Performance of SimCode: time 1.543e-06/0.9325, allocations: 0 / 0.7138 GB, free: 256 kB / 0.573 GB Notification: Performance of Templates: time 0.003387/0.9359, allocations: 0.6044 MB / 0.7143 GB, free: 15.65 MB / 0.5886 GB