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.879/3.879, allocations: 402 MB / 416.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.178e-05/3.181e-05, allocations: 4 kB / 0.5009 GB, free: 8.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2008, allocations: 92.69 MB / 0.5915 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002148/0.203, allocations: 1.208 MB / 0.5926 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0003363/0.2033, allocations: 91.77 kB / 0.5927 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.2034, allocations: 3.938 kB / 0.5927 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.2035, allocations: 3.984 kB / 0.5927 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.385e-05/0.2036, allocations: 11.92 kB / 0.5927 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.2038, allocations: 19.97 kB / 0.5928 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.418e-05/0.2039, allocations: 19.97 kB / 0.5928 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.204, allocations: 19.98 kB / 0.5928 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.052e-05/0.2041, allocations: 19.92 kB / 0.5928 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.411e-05/0.2041, allocations: 23.91 kB / 0.5928 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.285e-05/0.2042, allocations: 4 kB / 0.5928 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.2043, allocations: 4 kB / 0.5929 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.847e-05/0.2043, allocations: 11.98 kB / 0.5929 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.2043, allocations: 3.938 kB / 0.5929 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.2045, allocations: 44.2 kB / 0.5929 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2045, allocations: 0 / 0.5929 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2045, allocations: 0 / 0.5929 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.2045, allocations: 4 kB / 0.5929 GB, free: 9.895 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.0007204/0.2052, allocations: 367.2 kB / 0.5933 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.2053, allocations: 8.031 kB / 0.5933 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.2054, allocations: 7.953 kB / 0.5933 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.2056, allocations: 194.8 kB / 0.5935 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.2056, allocations: 4 kB / 0.5935 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.2057, allocations: 15.92 kB / 0.5935 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.2061, allocations: 93.64 kB / 0.5936 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2062, allocations: 0 / 0.5936 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.2062, allocations: 4 kB / 0.5936 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.2062, allocations: 0 / 0.5936 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005912/0.2068, allocations: 111.8 kB / 0.5937 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008068/0.2076, allocations: 336.7 kB / 0.594 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003506/0.208, allocations: 70.56 kB / 0.5941 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-05/0.2081, allocations: 4 kB / 0.5941 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.2081, allocations: 42.73 kB / 0.5941 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 2.345e-06/0.2081, allocations: 0 / 0.5941 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.001008/0.2091, allocations: 165.7 kB / 0.5943 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.2092, allocations: 51.41 kB / 0.5943 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.2093, allocations: 116.9 kB / 0.5944 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.2094, allocations: 25.7 kB / 0.5945 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.2094, allocations: 95.97 kB / 0.5946 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.2095, allocations: 7.906 kB / 0.5946 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-06/0.2095, allocations: 7.938 kB / 0.5946 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.2096, allocations: 314.8 kB / 0.5949 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.2099, allocations: 43.97 kB / 0.5949 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.2102, allocations: 43.95 kB / 0.5949 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.2105, allocations: 43.97 kB / 0.595 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2105, allocations: 4 kB / 0.595 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006342/0.2112, allocations: 129.5 kB / 0.5951 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.2112, allocations: 4 kB / 0.5951 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2112, allocations: 0 / 0.5951 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.2113, allocations: 7.953 kB / 0.5951 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.2115, allocations: 23.97 kB / 0.5952 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.2115, allocations: 4 kB / 0.5952 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.2117, allocations: 15.98 kB / 0.5952 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.2117, allocations: 0 / 0.5952 GB, free: 7.367 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 0.0001196/0.2119, allocations: 121.8 kB / 0.5953 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.2119, allocations: 3.906 kB / 0.5953 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006785/0.2126, allocations: 141.5 kB / 0.5954 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2126, allocations: 0 / 0.5954 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2126, allocations: 3.953 kB / 0.5954 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.2127, allocations: 81.05 kB / 0.5955 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.2127, allocations: 4 kB / 0.5955 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.2129, allocations: 16.36 kB / 0.5955 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.213, allocations: 7.984 kB / 0.5955 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007865/0.2138, allocations: 224.8 kB / 0.5957 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007225/0.2145, allocations: 306.5 kB / 0.596 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003017/0.2149, allocations: 51.95 kB / 0.5961 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.348e-05/0.2149, allocations: 87.28 kB / 0.5962 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of Backend: time 8.42e-07/0.215, allocations: 0 / 0.5962 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006604/0.2156, allocations: 138.3 kB / 0.5963 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of SimCode: time 0.0006569/0.2163, allocations: 0.5995 MB / 0.5969 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of Templates: time 0.004284/0.2206, allocations: 0.7769 MB / 0.5977 GB, free: 4.715 MB / 0.4948 GB