Running command: translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") Notification: Performance of loadModel(IBPSA): time 2.605/2.605, allocations: 288.1 MB / 300.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.515e-05/3.529e-05, allocations: 4.516 kB / 370.6 MB, free: 7.898 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1159, allocations: 67.02 MB / 437.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5117/0.6276, allocations: 97.83 MB / 0.5229 GB, free: 18.16 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.6279, allocations: 75.56 kB / 0.523 GB, free: 18.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004745/0.6327, allocations: 1.122 MB / 0.5241 GB, free: 33.79 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6327, allocations: 0 / 0.5241 GB, free: 33.79 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.6327, allocations: 1.75 kB / 0.5241 GB, free: 33.79 MB / 458.7 MB 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.0004363/0.6332, allocations: 372.1 kB / 0.5244 GB, free: 33.44 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.6332, allocations: 9.969 kB / 0.5245 GB, free: 33.44 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.6333, allocations: 10.33 kB / 0.5245 GB, free: 33.43 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.6334, allocations: 187.8 kB / 0.5246 GB, free: 33.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.6335, allocations: 2.469 kB / 0.5246 GB, free: 33.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.6335, allocations: 8 kB / 0.5247 GB, free: 33.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.6337, allocations: 65.25 kB / 0.5247 GB, free: 33.19 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.242e-06/0.6337, allocations: 4 kB / 0.5247 GB, free: 33.19 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.6337, allocations: 9.141 kB / 0.5247 GB, free: 33.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.6337, allocations: 1.375 kB / 0.5247 GB, free: 33.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.6338, allocations: 31.7 kB / 0.5248 GB, free: 33.18 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005755/0.6344, allocations: 338.2 kB / 0.5251 GB, free: 32.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.282e-05/0.6345, allocations: 35.83 kB / 0.5251 GB, free: 32.88 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.082e-05/0.6346, allocations: 18.5 kB / 0.5251 GB, free: 32.87 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.6347, allocations: 6.75 kB / 0.5251 GB, free: 32.87 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.6347, allocations: 32.94 kB / 0.5252 GB, free: 32.83 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 2.222e-06/0.6347, allocations: 0 / 0.5252 GB, free: 32.83 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001973/0.6349, allocations: 63 kB / 0.5252 GB, free: 32.79 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.6349, allocations: 51.41 kB / 0.5253 GB, free: 32.73 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.923e-05/0.635, allocations: 104.4 kB / 0.5254 GB, free: 32.64 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.6351, allocations: 27.08 kB / 0.5254 GB, free: 32.61 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.6351, allocations: 91.86 kB / 0.5255 GB, free: 32.52 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.6352, allocations: 18.25 kB / 0.5255 GB, free: 32.51 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-06/0.6352, allocations: 1.625 kB / 0.5255 GB, free: 32.51 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6353, allocations: 315.5 kB / 0.5258 GB, free: 32.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.398e-05/0.6354, allocations: 16.11 kB / 0.5258 GB, free: 32.19 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.833e-05/0.6354, allocations: 11.69 kB / 0.5258 GB, free: 32.19 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.217e-05/0.6355, allocations: 10.02 kB / 0.5258 GB, free: 32.19 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.423e-06/0.6355, allocations: 0 / 0.5258 GB, free: 32.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001354/0.6357, allocations: 60.27 kB / 0.5259 GB, free: 32.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.6357, allocations: 5.5 kB / 0.5259 GB, free: 32.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.053e-06/0.6357, allocations: 3.938 kB / 0.5259 GB, free: 32.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.6357, allocations: 5.375 kB / 0.5259 GB, free: 32.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.6359, allocations: 21.05 kB / 0.5259 GB, free: 32.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.889e-06/0.6359, allocations: 0 / 0.5259 GB, free: 32.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.636, allocations: 18.47 kB / 0.526 GB, free: 32.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.6361, allocations: 1.375 kB / 0.526 GB, free: 32.15 MB / 458.7 MB 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 7.471e-05/0.6361, allocations: 109.6 kB / 0.5261 GB, free: 32.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.6362, allocations: 10.61 kB / 0.5261 GB, free: 32.03 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.6364, allocations: 64.59 kB / 0.5261 GB, free: 31.99 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.7e-06/0.6364, allocations: 1.609 kB / 0.5261 GB, free: 31.99 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.296e-06/0.6364, allocations: 0 / 0.5261 GB, free: 31.99 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.802e-06/0.6364, allocations: 3.016 kB / 0.5261 GB, free: 31.99 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.6366, allocations: 178.1 kB / 0.5263 GB, free: 31.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.779e-06/0.6367, allocations: 1.5 kB / 0.5263 GB, free: 31.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.6368, allocations: 27.61 kB / 0.5263 GB, free: 31.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.117e-06/0.6368, allocations: 5.328 kB / 0.5263 GB, free: 31.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.6368, allocations: 2.625 kB / 0.5263 GB, free: 31.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.72e-06/0.6369, allocations: 1.375 kB / 0.5263 GB, free: 31.79 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6369, allocations: 0 / 0.5263 GB, free: 31.79 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.6371, allocations: 156.6 kB / 0.5265 GB, free: 31.65 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.6371, allocations: 81.47 kB / 0.5266 GB, free: 31.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.6371, allocations: 8.703 kB / 0.5266 GB, free: 31.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.6373, allocations: 16.88 kB / 0.5266 GB, free: 31.55 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.6374, allocations: 4.984 kB / 0.5266 GB, free: 31.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.6374, allocations: 5.375 kB / 0.5266 GB, free: 31.54 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.429e-05/0.6375, allocations: 91.66 kB / 0.5267 GB, free: 31.47 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.466e-06/0.6375, allocations: 0 / 0.5267 GB, free: 31.47 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003064/0.6378, allocations: 17.97 kB / 0.5267 GB, free: 31.46 MB / 458.7 MB 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.0001457/0.638, allocations: 112.6 kB / 0.5268 GB, free: 31.37 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.6381, allocations: 32.25 kB / 0.5269 GB, free: 31.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6381, allocations: 0 / 0.5269 GB, free: 31.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.875e-05/0.6382, allocations: 17.41 kB / 0.5269 GB, free: 31.36 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.6384, allocations: 5 kB / 0.5269 GB, free: 31.36 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.6387, allocations: 92.75 kB / 0.527 GB, free: 31.29 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.6391, allocations: 0.6986 MB / 0.5276 GB, free: 30.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.672e-05/0.6392, allocations: 6.938 kB / 0.5276 GB, free: 30.59 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.6392, allocations: 9.688 kB / 0.5277 GB, free: 30.58 MB / 458.7 MB Notification: Performance of SimCode: time 1.336e-06/0.6392, allocations: 0 / 0.5277 GB, free: 30.58 MB / 458.7 MB Notification: Performance of Templates: time 0.003202/0.6424, allocations: 0.6135 MB / 0.5283 GB, free: 30.51 MB / 458.7 MB