Running command: translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Factorial") Notification: Performance of loadModel(Buildings): time 4.639/4.639, allocations: 458.9 MB / 473.4 MB, free: 11.89 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.89e-05/3.88e-05, allocations: 5.406 kB / 0.5697 GB, free: 9.816 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2357, allocations: 106.2 MB / 0.6734 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.002179/0.2379, allocations: 1.244 MB / 0.6746 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0003755/0.2384, allocations: 112.5 kB / 0.6748 GB, free: 1.273 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.2384, allocations: 0 / 0.6748 GB, free: 1.273 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.2384, allocations: 0 / 0.6748 GB, free: 1.273 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 4.019e-05/0.2385, allocations: 0 / 0.6748 GB, free: 1.273 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.2386, allocations: 15.92 kB / 0.6748 GB, free: 1.258 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 6.727e-05/0.2387, allocations: 23.91 kB / 0.6748 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 7.025e-05/0.2388, allocations: 4 kB / 0.6748 GB, free: 1.23 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 4.682e-05/0.2389, allocations: 7.984 kB / 0.6748 GB, free: 1.223 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 5.732e-05/0.239, allocations: 15.98 kB / 0.6748 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 6.219e-05/0.239, allocations: 8 kB / 0.6748 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.2391, allocations: 0 / 0.6748 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.2391, allocations: 3.938 kB / 0.6748 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.2391, allocations: 4 kB / 0.6748 GB, free: 1.191 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 8.875e-05/0.2392, allocations: 19.95 kB / 0.6749 GB, free: 1.172 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2392, allocations: 0 / 0.6749 GB, free: 1.172 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2392, allocations: 0 / 0.6749 GB, free: 1.172 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.2393, allocations: 8 kB / 0.6749 GB, free: 1.164 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005594/0.2398, allocations: 339.5 kB / 0.6752 GB, free: 0.7852 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.2399, allocations: 8.031 kB / 0.6752 GB, free: 0.7773 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.2399, allocations: 8 kB / 0.6752 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.2401, allocations: 167 kB / 0.6754 GB, free: 0.5664 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.2401, allocations: 3.984 kB / 0.6754 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.2401, allocations: 4 kB / 0.6754 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.2404, allocations: 65.67 kB / 0.6754 GB, free: 500 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2405, allocations: 0 / 0.6754 GB, free: 500 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.2405, allocations: 3.938 kB / 0.6754 GB, free: 496 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.2405, allocations: 0 / 0.6754 GB, free: 496 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.2408, allocations: 55.89 kB / 0.6755 GB, free: 440 kB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.2413, allocations: 268.8 kB / 0.6757 GB, free: 120 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004993/0.2418, allocations: 58.83 kB / 0.6758 GB, free: 52 kB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.242, allocations: 89.19 kB / 0.6759 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.2421, allocations: 38.5 kB / 0.6759 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 2.054e-06/0.2421, allocations: 0 / 0.6759 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0006246/0.2427, allocations: 109.6 kB / 0.676 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.2428, allocations: 51.41 kB / 0.6761 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.305e-05/0.2429, allocations: 96.95 kB / 0.6762 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.2429, allocations: 25.7 kB / 0.6762 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.243, allocations: 84.14 kB / 0.6763 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.243, allocations: 11.84 kB / 0.6763 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.243, allocations: 4 kB / 0.6763 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2432, allocations: 314.8 kB / 0.6766 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.2433, allocations: 23.98 kB / 0.6766 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.2435, allocations: 31.91 kB / 0.6766 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.2437, allocations: 23.98 kB / 0.6767 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2437, allocations: 0 / 0.6767 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000392/0.2441, allocations: 86.03 kB / 0.6767 GB, free: 15 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.2441, allocations: 4 kB / 0.6768 GB, free: 15 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2442, allocations: 4 kB / 0.6768 GB, free: 15 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2442, allocations: 4 kB / 0.6768 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.2443, allocations: 11.98 kB / 0.6768 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.2444, allocations: 0 / 0.6768 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.2445, allocations: 11.98 kB / 0.6768 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.2445, allocations: 3.953 kB / 0.6768 GB, free: 14.96 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: 2 (fac.y,rea2Int.y) * 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.0001057/0.2446, allocations: 121.9 kB / 0.6769 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.2447, allocations: 3.984 kB / 0.6769 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004381/0.2451, allocations: 93.08 kB / 0.677 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.2451, allocations: 0 / 0.677 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.2451, allocations: 3.984 kB / 0.677 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.2452, allocations: 4 kB / 0.677 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.2454, allocations: 169.6 kB / 0.6772 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2454, allocations: 0 / 0.6772 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.2456, allocations: 15.98 kB / 0.6772 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2456, allocations: 0 / 0.6772 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.2456, allocations: 7.984 kB / 0.6772 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2456, allocations: 0 / 0.6772 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2456, allocations: 0 / 0.6772 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.2461, allocations: 183.4 kB / 0.6774 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.2461, allocations: 81.02 kB / 0.6774 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.2462, allocations: 0 / 0.6774 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.2463, allocations: 11.98 kB / 0.6775 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.2464, allocations: 15.98 kB / 0.6775 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.2464, allocations: 0 / 0.6775 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.353e-05/0.2465, allocations: 83.22 kB / 0.6775 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2465, allocations: 0 / 0.6775 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003145/0.2468, allocations: 8 kB / 0.6776 GB, free: 14.07 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.y,rea2Int.y) * 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.0002161/0.247, allocations: 113.3 kB / 0.6777 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003818/0.2474, allocations: 55.95 kB / 0.6777 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2474, allocations: 0 / 0.6777 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.2476, allocations: 31.92 kB / 0.6777 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.2479, allocations: 10.91 kB / 0.6778 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.2482, allocations: 120.7 kB / 0.6779 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.2485, allocations: 0.677 MB / 0.6785 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.756e-05/0.2486, allocations: 7.938 kB / 0.6785 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.2486, allocations: 7.438 kB / 0.6785 GB, free: 13 MB / 0.5573 GB Notification: Performance of SimCode: time 7.21e-07/0.2487, allocations: 4 kB / 0.6785 GB, free: 13 MB / 0.5573 GB Notification: Performance of Templates: time 0.003517/0.2522, allocations: 0.6028 MB / 0.6791 GB, free: 12.4 MB / 0.5573 GB