Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadModel(BuildSysPro): time 3.074/3.074, allocations: 325.3 MB / 337.5 MB, free: 10.1 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.246e-05/3.252e-05, allocations: 4 kB / 414.8 MB, free: 6.129 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1345, allocations: 74.41 MB / 489.2 MB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5408/0.6754, allocations: 101.3 MB / 0.5767 GB, free: 14.45 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.6757, allocations: 79.94 kB / 0.5768 GB, free: 14.4 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001464/0.6771, allocations: 0.527 MB / 0.5773 GB, free: 13.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.503e-06/0.6772, allocations: 0 / 0.5773 GB, free: 13.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.602e-06/0.6772, allocations: 0 / 0.5773 GB, free: 13.91 MB / 474.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.0002834/0.6775, allocations: 316.7 kB / 0.5776 GB, free: 13.56 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.6775, allocations: 11.31 kB / 0.5776 GB, free: 13.55 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.6776, allocations: 0 / 0.5776 GB, free: 13.55 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.6777, allocations: 160.5 kB / 0.5778 GB, free: 13.36 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.6777, allocations: 3.953 kB / 0.5778 GB, free: 13.35 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.6777, allocations: 4 kB / 0.5778 GB, free: 13.35 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.544e-05/0.6778, allocations: 37.38 kB / 0.5778 GB, free: 13.31 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.43e-06/0.6779, allocations: 4 kB / 0.5778 GB, free: 13.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.041e-06/0.6779, allocations: 0 / 0.5778 GB, free: 13.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4e-06/0.6779, allocations: 4 kB / 0.5778 GB, free: 13.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.161e-05/0.6779, allocations: 4 kB / 0.5778 GB, free: 13.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.6781, allocations: 145 kB / 0.578 GB, free: 13.11 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.803e-05/0.6782, allocations: 22.56 kB / 0.578 GB, free: 13.08 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.525e-05/0.6782, allocations: 8.922 kB / 0.578 GB, free: 13.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/0.6784, allocations: 90.06 kB / 0.5781 GB, free: 12.96 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.6784, allocations: 38.5 kB / 0.5781 GB, free: 12.92 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 2.116e-06/0.6785, allocations: 0 / 0.5781 GB, free: 12.92 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001242/0.6786, allocations: 37.69 kB / 0.5781 GB, free: 12.88 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.6786, allocations: 51.41 kB / 0.5782 GB, free: 12.81 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.902e-05/0.6787, allocations: 85 kB / 0.5783 GB, free: 12.72 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.6787, allocations: 29.14 kB / 0.5783 GB, free: 12.69 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.6788, allocations: 80.14 kB / 0.5784 GB, free: 12.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.6788, allocations: 3.906 kB / 0.5784 GB, free: 12.61 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-06/0.6788, allocations: 0 / 0.5784 GB, free: 12.61 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.679, allocations: 322.8 kB / 0.5787 GB, free: 12.28 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.913e-05/0.679, allocations: 0 / 0.5787 GB, free: 12.28 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.26e-05/0.6791, allocations: 4 kB / 0.5787 GB, free: 12.28 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.209e-05/0.6791, allocations: 3.438 kB / 0.5787 GB, free: 12.28 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.15e-06/0.6791, allocations: 0 / 0.5787 GB, free: 12.28 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.89e-05/0.6792, allocations: 41.62 kB / 0.5787 GB, free: 12.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.6792, allocations: 11.95 kB / 0.5787 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.458e-06/0.6792, allocations: 0 / 0.5787 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.6793, allocations: 4.094 kB / 0.5787 GB, free: 12.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.873e-05/0.6793, allocations: 4 kB / 0.5788 GB, free: 12.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.819e-06/0.6794, allocations: 0 / 0.5788 GB, free: 12.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.735e-05/0.6794, allocations: 0 / 0.5788 GB, free: 12.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.726e-06/0.6794, allocations: 0 / 0.5788 GB, free: 12.21 MB / 474.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 9.538e-05/0.6795, allocations: 107.2 kB / 0.5789 GB, free: 12.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.6795, allocations: 11.11 kB / 0.5789 GB, free: 12.09 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.6797, allocations: 37.66 kB / 0.5789 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.6797, allocations: 32 / 0.5789 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.129e-06/0.6797, allocations: 8 kB / 0.5789 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.31e-06/0.6797, allocations: 0 / 0.5789 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.6798, allocations: 148.7 kB / 0.5791 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.231e-06/0.6799, allocations: 0 / 0.5791 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.6799, allocations: 9.312 kB / 0.5791 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.063e-06/0.6799, allocations: 0 / 0.5791 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.6799, allocations: 0 / 0.5791 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.6799, allocations: 3.953 kB / 0.5791 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.319e-06/0.68, allocations: 7.984 kB / 0.5791 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.6801, allocations: 64.69 kB / 0.5791 GB, free: 11.76 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.6801, allocations: 77.11 kB / 0.5792 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.6802, allocations: 3.984 kB / 0.5792 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.9e-05/0.6802, allocations: 0 / 0.5792 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.6802, allocations: 15.58 kB / 0.5792 GB, free: 11.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-06/0.6802, allocations: 0 / 0.5792 GB, free: 11.65 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.743e-05/0.6803, allocations: 75.28 kB / 0.5793 GB, free: 11.57 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.86e-07/0.6803, allocations: 0 / 0.5793 GB, free: 11.57 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002696/0.6806, allocations: 8.031 kB / 0.5793 GB, free: 11.57 MB / 474.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.0001888/0.6808, allocations: 115.2 kB / 0.5794 GB, free: 11.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.011e-05/0.6809, allocations: 4 kB / 0.5794 GB, free: 11.44 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.349e-06/0.6809, allocations: 0 / 0.5794 GB, free: 11.44 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.966e-05/0.6809, allocations: 7.188 kB / 0.5794 GB, free: 11.44 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.947e-05/0.681, allocations: 4 kB / 0.5794 GB, free: 11.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001611/0.6812, allocations: 45.12 kB / 0.5795 GB, free: 11.37 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.6816, allocations: 0.6825 MB / 0.5801 GB, free: 10.66 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.672e-05/0.6816, allocations: 0 / 0.5801 GB, free: 10.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.6816, allocations: 15.19 kB / 0.5802 GB, free: 10.65 MB / 474.7 MB Notification: Performance of SimCode: time 1.313e-06/0.6816, allocations: 0 / 0.5802 GB, free: 10.65 MB / 474.7 MB Notification: Performance of Templates: time 0.002442/0.6841, allocations: 326.3 kB / 0.5805 GB, free: 10.34 MB / 474.7 MB