Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadModel(Buildings): time 4.416/4.416, allocations: 458.9 MB / 473.4 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.599e-05/3.597e-05, allocations: 8.359 kB / 0.5697 GB, free: 9.812 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2407, allocations: 106.2 MB / 0.6734 GB, free: 2.609 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002146/0.2429, allocations: 1.25 MB / 0.6747 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0003501/0.2433, allocations: 108.5 kB / 0.6748 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.2433, allocations: 4 kB / 0.6748 GB, free: 1.23 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.2435, allocations: 11.86 kB / 0.6748 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 3.591e-05/0.2435, allocations: 7.984 kB / 0.6748 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.2437, allocations: 15.98 kB / 0.6748 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 7.458e-05/0.2438, allocations: 31.89 kB / 0.6748 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.2439, allocations: 12 kB / 0.6748 GB, free: 1.152 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 5.631e-05/0.244, allocations: 19.92 kB / 0.6749 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.244, allocations: 23.91 kB / 0.6749 GB, free: 1.109 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 6.101e-05/0.2441, allocations: 8 kB / 0.6749 GB, free: 1.102 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.2441, allocations: 0 / 0.6749 GB, free: 1.102 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 3.556e-05/0.2442, allocations: 15.92 kB / 0.6749 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.2442, allocations: 4 kB / 0.6749 GB, free: 1.082 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.2443, allocations: 39.92 kB / 0.6749 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2444, allocations: 0 / 0.6749 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2444, allocations: 0 / 0.6749 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.2444, allocations: 0 / 0.6749 GB, free: 1.043 MB / 0.5417 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.0006317/0.245, allocations: 375.5 kB / 0.6753 GB, free: 0.6289 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.2451, allocations: 12.03 kB / 0.6753 GB, free: 0.6172 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.2451, allocations: 11.86 kB / 0.6753 GB, free: 0.6055 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.2453, allocations: 179 kB / 0.6755 GB, free: 400 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.2454, allocations: 4 kB / 0.6755 GB, free: 396 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.2454, allocations: 0 / 0.6755 GB, free: 396 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/0.2458, allocations: 101.6 kB / 0.6756 GB, free: 288 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2459, allocations: 3.938 kB / 0.6756 GB, free: 284 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.2459, allocations: 8 kB / 0.6756 GB, free: 276 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2459, allocations: 0 / 0.6756 GB, free: 276 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000586/0.2465, allocations: 99.91 kB / 0.6757 GB, free: 176 kB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008207/0.2473, allocations: 340.9 kB / 0.676 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.2477, allocations: 70.53 kB / 0.6761 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.809e-05/0.2478, allocations: 4 kB / 0.6761 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.2478, allocations: 42.55 kB / 0.6761 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.764e-06/0.2478, allocations: 0 / 0.6761 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.001393/0.2492, allocations: 169.6 kB / 0.6763 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.2493, allocations: 51.41 kB / 0.6763 GB, free: 15.42 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.2495, allocations: 116.8 kB / 0.6765 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.2495, allocations: 25.7 kB / 0.6765 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.822e-05/0.2497, allocations: 96.03 kB / 0.6766 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.2497, allocations: 15.78 kB / 0.6766 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-06/0.2497, allocations: 0 / 0.6766 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.25, allocations: 322.8 kB / 0.6769 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004075/0.2504, allocations: 43.95 kB / 0.6769 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.2508, allocations: 48.14 kB / 0.677 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/0.2512, allocations: 44.05 kB / 0.677 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.2513, allocations: 7.938 kB / 0.677 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0011/0.2524, allocations: 129.6 kB / 0.6772 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.2525, allocations: 4 kB / 0.6772 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.2525, allocations: 3.984 kB / 0.6772 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.2525, allocations: 3.953 kB / 0.6772 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.2529, allocations: 19.98 kB / 0.6772 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2529, allocations: 0 / 0.6772 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.2531, allocations: 27.88 kB / 0.6772 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.2532, allocations: 0 / 0.6772 GB, free: 14.5 MB / 0.5573 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.0001617/0.2534, allocations: 113.8 kB / 0.6773 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.527e-05/0.2534, allocations: 4 kB / 0.6773 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009676/0.2544, allocations: 137.4 kB / 0.6775 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.2545, allocations: 11.89 kB / 0.6775 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.2545, allocations: 0 / 0.6775 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2545, allocations: 0 / 0.6775 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.255, allocations: 181.6 kB / 0.6776 GB, free: 14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.255, allocations: 0 / 0.6776 GB, free: 14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/0.2553, allocations: 19.98 kB / 0.6777 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.2554, allocations: 4 kB / 0.6777 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.2554, allocations: 4 kB / 0.6777 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.2554, allocations: 0 / 0.6777 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.2554, allocations: 3.953 kB / 0.6777 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009961/0.2564, allocations: 227.3 kB / 0.6779 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.2565, allocations: 85.11 kB / 0.678 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.2566, allocations: 0 / 0.678 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.2568, allocations: 19.97 kB / 0.678 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.2569, allocations: 0 / 0.678 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.2569, allocations: 7.953 kB / 0.678 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.362e-05/0.257, allocations: 91.27 kB / 0.6781 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.31e-07/0.2571, allocations: 4 kB / 0.6781 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004886/0.2576, allocations: 11.91 kB / 0.6781 GB, free: 13.49 MB / 0.5573 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.0002239/0.2578, allocations: 107.2 kB / 0.6782 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008444/0.2587, allocations: 95.92 kB / 0.6783 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2587, allocations: 0 / 0.6783 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004161/0.2591, allocations: 55.89 kB / 0.6783 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.2595, allocations: 11.94 kB / 0.6784 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006129/0.2601, allocations: 160.8 kB / 0.6785 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.2606, allocations: 0.6926 MB / 0.6792 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 9.647e-05/0.2607, allocations: 8.234 kB / 0.6792 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.2608, allocations: 11.44 kB / 0.6792 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of SimCode: time 1.072e-06/0.2608, allocations: 0 / 0.6792 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of Templates: time 0.005265/0.2661, allocations: 0.6073 MB / 0.6798 GB, free: 11.69 MB / 0.5573 GB