Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadModel(Buildings): time 3.988/3.988, allocations: 432.8 MB / 444.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.838e-05/3.848e-05, allocations: 5.938 kB / 0.5337 GB, free: 12.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.181, allocations: 98.73 MB / 0.6301 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/0.3746, allocations: 124.6 MB / 0.7518 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/0.375, allocations: 75.95 kB / 0.7519 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006504/0.3815, allocations: 1.094 MB / 0.753 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.64e-06/0.3816, allocations: 4 kB / 0.753 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.3816, allocations: 0 / 0.753 GB, free: 8.25 MB / 0.6355 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.0007362/0.3824, allocations: 382.2 kB / 0.7533 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.3825, allocations: 8.031 kB / 0.7533 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.016e-05/0.3825, allocations: 11.91 kB / 0.7534 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.3828, allocations: 190.9 kB / 0.7535 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.3829, allocations: 0 / 0.7535 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.3829, allocations: 4 kB / 0.7535 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.3832, allocations: 61.62 kB / 0.7536 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3832, allocations: 4 kB / 0.7536 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.3833, allocations: 0 / 0.7536 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.3833, allocations: 7.969 kB / 0.7536 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.3835, allocations: 32 kB / 0.7536 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009716/0.3845, allocations: 336.7 kB / 0.754 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.3847, allocations: 38.56 kB / 0.754 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.594e-05/0.3848, allocations: 16.86 kB / 0.754 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/0.3849, allocations: 4 kB / 0.754 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.3849, allocations: 30.56 kB / 0.754 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 3.204e-06/0.3849, allocations: 0 / 0.754 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003423/0.3853, allocations: 65.67 kB / 0.7541 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.3854, allocations: 55.41 kB / 0.7542 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.3856, allocations: 108.9 kB / 0.7543 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.3856, allocations: 29.7 kB / 0.7543 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.378e-05/0.3857, allocations: 104 kB / 0.7544 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.3858, allocations: 3.906 kB / 0.7544 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.604e-06/0.3858, allocations: 3.938 kB / 0.7544 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.386, allocations: 314.8 kB / 0.7547 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.282e-05/0.3861, allocations: 12 kB / 0.7547 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.261e-05/0.3862, allocations: 15.98 kB / 0.7547 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.919e-05/0.3863, allocations: 8 kB / 0.7547 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3863, allocations: 0 / 0.7547 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002624/0.3866, allocations: 61.59 kB / 0.7548 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.3866, allocations: 8 kB / 0.7548 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3867, allocations: 0 / 0.7548 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3867, allocations: 0 / 0.7548 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.387, allocations: 31.86 kB / 0.7548 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.284e-06/0.387, allocations: 0 / 0.7548 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.3872, allocations: 19.98 kB / 0.7548 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.3873, allocations: 0 / 0.7548 GB, free: 6.109 MB / 0.6355 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.0001277/0.3874, allocations: 105 kB / 0.7549 GB, free: 6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.436e-05/0.3875, allocations: 3.938 kB / 0.755 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003214/0.3879, allocations: 69.7 kB / 0.755 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.644e-06/0.3879, allocations: 0 / 0.755 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.3879, allocations: 3.953 kB / 0.755 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3879, allocations: 0 / 0.755 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004159/0.3884, allocations: 185.5 kB / 0.7552 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.278e-06/0.3884, allocations: 4 kB / 0.7552 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.3886, allocations: 23.97 kB / 0.7552 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.3886, allocations: 3.938 kB / 0.7552 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3886, allocations: 4 kB / 0.7552 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.412e-06/0.3886, allocations: 0 / 0.7552 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.769e-06/0.3886, allocations: 0 / 0.7552 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.3888, allocations: 155.7 kB / 0.7554 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.3889, allocations: 85.05 kB / 0.7555 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.389, allocations: 7.984 kB / 0.7555 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.3891, allocations: 19.98 kB / 0.7555 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.3892, allocations: 4 kB / 0.7555 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.3892, allocations: 0 / 0.7555 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.679e-05/0.3893, allocations: 95.2 kB / 0.7556 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.13e-07/0.3893, allocations: 4 kB / 0.7556 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003251/0.3897, allocations: 15.95 kB / 0.7556 GB, free: 5.234 MB / 0.6355 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.0001682/0.3898, allocations: 97.75 kB / 0.7557 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.39, allocations: 35.92 kB / 0.7557 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.64e-06/0.39, allocations: 0 / 0.7557 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.543e-05/0.3901, allocations: 16 kB / 0.7557 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.3903, allocations: 8 kB / 0.7558 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.3906, allocations: 97.02 kB / 0.7558 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.391, allocations: 0.6887 MB / 0.7565 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.946e-05/0.3911, allocations: 7.984 kB / 0.7565 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.3912, allocations: 11.44 kB / 0.7565 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of SimCode: time 1.526e-06/0.3912, allocations: 0 / 0.7565 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of Templates: time 0.003351/0.3945, allocations: 0.6047 MB / 0.7571 GB, free: 3.617 MB / 0.6355 GB