Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadModel(Buildings): time 4.592/4.592, allocations: 458.9 MB / 473.4 MB, free: 11.9 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.17e-05/3.175e-05, allocations: 10.94 kB / 0.5697 GB, free: 9.816 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2389, allocations: 106.2 MB / 0.6734 GB, free: 2.641 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.0007907/0.2397, allocations: 329 kB / 0.6738 GB, free: 2.316 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0002267/0.24, allocations: 39.89 kB / 0.6738 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.995e-06/0.24, allocations: 0 / 0.6738 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 9.979e-06/0.24, allocations: 0 / 0.6738 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 5.39e-06/0.2401, allocations: 4 kB / 0.6738 GB, free: 2.273 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.2402, allocations: 11.92 kB / 0.6738 GB, free: 2.262 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 2.884e-05/0.2403, allocations: 0 / 0.6738 GB, free: 2.262 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.2403, allocations: 0 / 0.6738 GB, free: 2.262 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 1.669e-05/0.2403, allocations: 4 kB / 0.6738 GB, free: 2.258 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 2.681e-05/0.2404, allocations: 4 kB / 0.6738 GB, free: 2.254 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 7.763e-05/0.2405, allocations: 11.98 kB / 0.6738 GB, free: 2.242 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.2405, allocations: 3.938 kB / 0.6738 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 6.813e-06/0.2405, allocations: 0 / 0.6738 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.039e-05/0.2405, allocations: 0 / 0.6738 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 6.66e-05/0.2406, allocations: 4 kB / 0.6738 GB, free: 2.234 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2406, allocations: 0 / 0.6738 GB, free: 2.234 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.555e-06/0.2406, allocations: 0 / 0.6738 GB, free: 2.234 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.2406, allocations: 0 / 0.6738 GB, free: 2.234 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003143/0.2409, allocations: 315.3 kB / 0.6741 GB, free: 1.879 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.241, allocations: 12.03 kB / 0.6741 GB, free: 1.867 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.241, allocations: 0 / 0.6741 GB, free: 1.867 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.2412, allocations: 163 kB / 0.6743 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.2412, allocations: 4 kB / 0.6743 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.2412, allocations: 4 kB / 0.6743 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.2413, allocations: 33.69 kB / 0.6743 GB, free: 1.621 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2414, allocations: 0 / 0.6743 GB, free: 1.621 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2414, allocations: 3.984 kB / 0.6743 GB, free: 1.617 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2414, allocations: 0 / 0.6743 GB, free: 1.617 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.452e-05/0.2414, allocations: 7.938 kB / 0.6744 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.2416, allocations: 153.6 kB / 0.6745 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.041e-05/0.2417, allocations: 26.53 kB / 0.6745 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001971/0.2419, allocations: 85.16 kB / 0.6746 GB, free: 1.273 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.242, allocations: 34.56 kB / 0.6746 GB, free: 1.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.242, allocations: 0 / 0.6746 GB, free: 1.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001618/0.2422, allocations: 45.72 kB / 0.6747 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.2422, allocations: 55.44 kB / 0.6747 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.548e-05/0.2423, allocations: 85 kB / 0.6748 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.2423, allocations: 29.7 kB / 0.6748 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.2423, allocations: 80.14 kB / 0.6749 GB, free: 0.9062 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.2424, allocations: 288 / 0.6749 GB, free: 0.9062 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.2424, allocations: 3.938 kB / 0.6749 GB, free: 0.9023 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2425, allocations: 314.8 kB / 0.6752 GB, free: 0.5859 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.2426, allocations: 0 / 0.6752 GB, free: 0.5859 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.377e-05/0.2426, allocations: 10.7 kB / 0.6752 GB, free: 0.5781 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.861e-05/0.2426, allocations: 8 kB / 0.6752 GB, free: 0.5703 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.2427, allocations: 3.953 kB / 0.6752 GB, free: 0.5664 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.388e-05/0.2427, allocations: 37.64 kB / 0.6753 GB, free: 0.5234 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.2428, allocations: 4 kB / 0.6753 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2428, allocations: 0 / 0.6753 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2428, allocations: 4 kB / 0.6753 GB, free: 0.5156 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.889e-05/0.2429, allocations: 3.984 kB / 0.6753 GB, free: 0.5117 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2429, allocations: 0 / 0.6753 GB, free: 0.5117 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.346e-05/0.243, allocations: 15.94 kB / 0.6753 GB, free: 0.4961 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.243, allocations: 0 / 0.6753 GB, free: 0.4961 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fac,n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.411e-05/0.2431, allocations: 109.8 kB / 0.6754 GB, free: 388 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.2431, allocations: 3.953 kB / 0.6754 GB, free: 384 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.2432, allocations: 44.77 kB / 0.6755 GB, free: 332 kB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.2432, allocations: 0 / 0.6755 GB, free: 332 kB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2432, allocations: 0 / 0.6755 GB, free: 332 kB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.2433, allocations: 4 kB / 0.6755 GB, free: 328 kB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.2434, allocations: 149.7 kB / 0.6756 GB, free: 128 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.2434, allocations: 4.031 kB / 0.6756 GB, free: 124 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.2435, allocations: 11.89 kB / 0.6756 GB, free: 112 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2435, allocations: 0 / 0.6756 GB, free: 112 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.2435, allocations: 4 kB / 0.6756 GB, free: 108 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.2435, allocations: 0 / 0.6756 GB, free: 108 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2435, allocations: 3.938 kB / 0.6756 GB, free: 104 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.583e-05/0.2436, allocations: 65.12 kB / 0.6757 GB, free: 20 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/0.2437, allocations: 81.14 kB / 0.6758 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.2437, allocations: 3.953 kB / 0.6758 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.528e-05/0.2438, allocations: 0 / 0.6758 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.2438, allocations: 0 / 0.6758 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.2438, allocations: 4 kB / 0.6758 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.65e-05/0.2439, allocations: 75.28 kB / 0.6758 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2439, allocations: 0 / 0.6758 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002449/0.2441, allocations: 15.98 kB / 0.6759 GB, free: 15.82 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: 2 (fac,n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001948/0.2443, allocations: 111.2 kB / 0.676 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.503e-05/0.2444, allocations: 4 kB / 0.676 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2444, allocations: 0 / 0.676 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.312e-05/0.2445, allocations: 4 kB / 0.676 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.2446, allocations: 11.92 kB / 0.676 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002083/0.2448, allocations: 74.77 kB / 0.6761 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.2451, allocations: 0.677 MB / 0.6767 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.018e-05/0.2451, allocations: 4.125 kB / 0.6767 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.2452, allocations: 11.44 kB / 0.6767 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of SimCode: time 5.91e-07/0.2452, allocations: 0 / 0.6767 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of Templates: time 0.002748/0.2479, allocations: 307.1 kB / 0.677 GB, free: 14.57 MB / 0.5573 GB