Running command: translateModel(BuildingSystems.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average") Notification: Performance of loadModel(BuildingSystems): time 3.202/3.202, allocations: 343.8 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.139e-05/4.156e-05, allocations: 11.98 kB / 436.6 MB, free: 2.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1473, allocations: 77.72 MB / 0.5022 GB, free: 4.602 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.503/0.6503, allocations: 105.8 MB / 0.6055 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.6505, allocations: 71.95 kB / 0.6056 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004324/0.6549, allocations: 1.111 MB / 0.6067 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.566e-06/0.6549, allocations: 0 / 0.6067 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.358e-05/0.655, allocations: 4.766 kB / 0.6067 GB, free: 14.17 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.0005188/0.6555, allocations: 372.6 kB / 0.607 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.6556, allocations: 12.03 kB / 0.6071 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.6556, allocations: 7.906 kB / 0.6071 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.6559, allocations: 190.8 kB / 0.6072 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.6559, allocations: 7.984 kB / 0.6073 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.6559, allocations: 8 kB / 0.6073 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.6561, allocations: 57.69 kB / 0.6073 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.728e-06/0.6561, allocations: 3.938 kB / 0.6073 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.6562, allocations: 0 / 0.6073 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.238e-06/0.6562, allocations: 4 kB / 0.6073 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.6563, allocations: 35.97 kB / 0.6074 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006585/0.657, allocations: 336.6 kB / 0.6077 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.6571, allocations: 38.56 kB / 0.6077 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.6572, allocations: 16.86 kB / 0.6077 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.6572, allocations: 8 kB / 0.6077 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.6573, allocations: 34.59 kB / 0.6078 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 2.181e-06/0.6573, allocations: 0 / 0.6078 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002197/0.6575, allocations: 57.73 kB / 0.6078 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.6576, allocations: 51.41 kB / 0.6079 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.6577, allocations: 105 kB / 0.608 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.6577, allocations: 29.7 kB / 0.608 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.6578, allocations: 92.05 kB / 0.6081 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.6578, allocations: 19.83 kB / 0.6081 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-06/0.6578, allocations: 0 / 0.6081 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.658, allocations: 314.8 kB / 0.6084 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.063e-05/0.6581, allocations: 12 kB / 0.6084 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.763e-05/0.6581, allocations: 8 kB / 0.6084 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.539e-05/0.6582, allocations: 15.98 kB / 0.6084 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.6582, allocations: 0 / 0.6084 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001541/0.6584, allocations: 61.53 kB / 0.6085 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.6584, allocations: 8 kB / 0.6085 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.474e-06/0.6584, allocations: 0.875 kB / 0.6085 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.6584, allocations: 4 kB / 0.6085 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.6586, allocations: 27.88 kB / 0.6085 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.335e-06/0.6587, allocations: 3.984 kB / 0.6085 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.6588, allocations: 15.98 kB / 0.6086 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.6588, allocations: 0 / 0.6086 GB, free: 12.04 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.394e-05/0.6589, allocations: 105 kB / 0.6087 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.659, allocations: 7.906 kB / 0.6087 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.6592, allocations: 73.58 kB / 0.6087 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.61e-06/0.6592, allocations: 4 kB / 0.6087 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.64e-06/0.6592, allocations: 7.953 kB / 0.6088 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.371e-06/0.6592, allocations: 0 / 0.6088 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.6595, allocations: 177.6 kB / 0.6089 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.6595, allocations: 0 / 0.6089 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.6597, allocations: 27.97 kB / 0.6089 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.769e-06/0.6597, allocations: 0 / 0.6089 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.27e-06/0.6597, allocations: 0 / 0.6089 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.28e-06/0.6597, allocations: 0 / 0.6089 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.305e-06/0.6597, allocations: 4 kB / 0.609 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.6599, allocations: 147.7 kB / 0.6091 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.66, allocations: 85.02 kB / 0.6092 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.66, allocations: 4.047 kB / 0.6092 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.6602, allocations: 27.95 kB / 0.6092 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.6603, allocations: 0 / 0.6092 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.6603, allocations: 4 kB / 0.6092 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.992e-05/0.6604, allocations: 91.81 kB / 0.6093 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.291e-06/0.6604, allocations: 0 / 0.6093 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003093/0.6607, allocations: 15.89 kB / 0.6093 GB, free: 11.17 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.0001598/0.6609, allocations: 111.2 kB / 0.6094 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.661, allocations: 31.98 kB / 0.6094 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.543e-06/0.661, allocations: 0 / 0.6094 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.114e-05/0.6611, allocations: 16 kB / 0.6095 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.6613, allocations: 8.625 kB / 0.6095 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.6617, allocations: 96.72 kB / 0.6096 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.662, allocations: 0.6965 MB / 0.6102 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.391e-05/0.6621, allocations: 4 kB / 0.6102 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.6622, allocations: 11.44 kB / 0.6103 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of SimCode: time 1.351e-06/0.6622, allocations: 3.938 kB / 0.6103 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of Templates: time 0.003323/0.6655, allocations: 0.6164 MB / 0.6109 GB, free: 9.527 MB / 0.4948 GB