Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadModel(IBPSA): time 2.625/2.625, allocations: 288.1 MB / 300.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.383e-05/3.395e-05, allocations: 4.875 kB / 370.6 MB, free: 7.855 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1156, allocations: 67.01 MB / 437.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4728/0.5885, allocations: 96.95 MB / 0.5221 GB, free: 18.22 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.5888, allocations: 77.75 kB / 0.5221 GB, free: 18.22 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001847/0.5906, allocations: 0.5203 MB / 0.5226 GB, free: 33.91 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.546e-06/0.5907, allocations: 0.7031 kB / 0.5226 GB, free: 33.91 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.252e-06/0.5907, allocations: 5.469 kB / 0.5227 GB, free: 33.9 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002061/0.5909, allocations: 309.1 kB / 0.5229 GB, free: 33.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.591, allocations: 9.047 kB / 0.523 GB, free: 33.57 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.591, allocations: 1.5 kB / 0.523 GB, free: 33.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.288e-05/0.5911, allocations: 160.5 kB / 0.5231 GB, free: 33.37 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.5911, allocations: 1.281 kB / 0.5231 GB, free: 33.37 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.5911, allocations: 0 / 0.5231 GB, free: 33.37 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.256e-05/0.5912, allocations: 37.12 kB / 0.5231 GB, free: 33.34 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.32e-06/0.5912, allocations: 0 / 0.5231 GB, free: 33.34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.5912, allocations: 11.95 kB / 0.5232 GB, free: 33.33 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.873e-06/0.5913, allocations: 1.094 kB / 0.5232 GB, free: 33.33 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.179e-05/0.5913, allocations: 8.453 kB / 0.5232 GB, free: 33.32 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.5914, allocations: 147.7 kB / 0.5233 GB, free: 33.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.998e-05/0.5915, allocations: 24 kB / 0.5233 GB, free: 33.11 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.01e-05/0.5915, allocations: 11.83 kB / 0.5233 GB, free: 33.1 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.5916, allocations: 82.55 kB / 0.5234 GB, free: 33.01 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.5917, allocations: 30.56 kB / 0.5235 GB, free: 32.97 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 2.416e-06/0.5917, allocations: 1 kB / 0.5235 GB, free: 32.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001115/0.5918, allocations: 41.84 kB / 0.5235 GB, free: 32.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.966e-05/0.5918, allocations: 55.36 kB / 0.5235 GB, free: 32.87 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.64e-05/0.5919, allocations: 87.41 kB / 0.5236 GB, free: 32.78 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.132e-06/0.5919, allocations: 25.7 kB / 0.5237 GB, free: 32.75 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/0.592, allocations: 84.17 kB / 0.5237 GB, free: 32.66 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.592, allocations: 7.906 kB / 0.5237 GB, free: 32.66 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-06/0.592, allocations: 0 / 0.5237 GB, free: 32.66 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.5922, allocations: 312 kB / 0.524 GB, free: 32.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.388e-05/0.5922, allocations: 1.906 kB / 0.524 GB, free: 32.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.973e-06/0.5922, allocations: 1.781 kB / 0.524 GB, free: 32.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.495e-05/0.5923, allocations: 4.266 kB / 0.524 GB, free: 32.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5923, allocations: 1.484 kB / 0.524 GB, free: 32.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.612e-05/0.5924, allocations: 41.45 kB / 0.5241 GB, free: 32.31 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.5924, allocations: 5.219 kB / 0.5241 GB, free: 32.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.5924, allocations: 0 / 0.5241 GB, free: 32.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.5924, allocations: 0.7188 kB / 0.5241 GB, free: 32.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.745e-05/0.5925, allocations: 5.984 kB / 0.5241 GB, free: 32.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.866e-06/0.5925, allocations: 2 kB / 0.5241 GB, free: 32.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.5926, allocations: 12.22 kB / 0.5241 GB, free: 32.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.435e-06/0.5926, allocations: 1.281 kB / 0.5241 GB, free: 32.3 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: 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 7.226e-05/0.5927, allocations: 110.9 kB / 0.5242 GB, free: 32.19 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.5927, allocations: 1.75 kB / 0.5242 GB, free: 32.19 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.706e-05/0.5928, allocations: 41.77 kB / 0.5243 GB, free: 32.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.7e-06/0.5928, allocations: 0 / 0.5243 GB, free: 32.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5928, allocations: 5.781 kB / 0.5243 GB, free: 32.15 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.164e-06/0.5928, allocations: 0 / 0.5243 GB, free: 32.15 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.064e-05/0.5929, allocations: 151.9 kB / 0.5244 GB, free: 31.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.001e-06/0.5929, allocations: 0 / 0.5244 GB, free: 31.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.696e-05/0.593, allocations: 3.781 kB / 0.5244 GB, free: 31.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.496e-06/0.593, allocations: 1.641 kB / 0.5244 GB, free: 31.96 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.5931, allocations: 5.406 kB / 0.5244 GB, free: 31.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.463e-06/0.5931, allocations: 1.25 kB / 0.5244 GB, free: 31.96 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.498e-06/0.5931, allocations: 0.6094 kB / 0.5244 GB, free: 31.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.5932, allocations: 68.55 kB / 0.5245 GB, free: 31.89 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/0.5933, allocations: 77.72 kB / 0.5246 GB, free: 31.79 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.5934, allocations: 2.109 kB / 0.5246 GB, free: 31.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.007e-05/0.5934, allocations: 0.5 kB / 0.5246 GB, free: 31.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.5935, allocations: 11.47 kB / 0.5246 GB, free: 31.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.529e-06/0.5935, allocations: 0.7812 kB / 0.5246 GB, free: 31.79 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.317e-05/0.5936, allocations: 76.72 kB / 0.5247 GB, free: 31.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.173e-06/0.5936, allocations: 0 / 0.5247 GB, free: 31.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005079/0.5941, allocations: 9.312 kB / 0.5247 GB, free: 31.71 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: 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.0002672/0.5944, allocations: 114.3 kB / 0.5248 GB, free: 31.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.459e-05/0.5945, allocations: 8.312 kB / 0.5248 GB, free: 31.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.263e-06/0.5945, allocations: 64 / 0.5248 GB, free: 31.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.401e-05/0.5946, allocations: 13.47 kB / 0.5248 GB, free: 31.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.5948, allocations: 6.016 kB / 0.5248 GB, free: 31.61 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001837/0.595, allocations: 55.48 kB / 0.5248 GB, free: 31.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.5954, allocations: 0.6761 MB / 0.5255 GB, free: 30.85 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.479e-05/0.5955, allocations: 1.125 kB / 0.5255 GB, free: 30.85 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.5955, allocations: 9.328 kB / 0.5255 GB, free: 30.84 MB / 458.7 MB Notification: Performance of SimCode: time 1.908e-06/0.5955, allocations: 0 / 0.5255 GB, free: 30.84 MB / 458.7 MB Notification: Performance of Templates: time 0.003768/0.5993, allocations: 318.9 kB / 0.5258 GB, free: 30.79 MB / 458.7 MB