Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.199/3.199, allocations: 325.3 MB / 337.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.98e-05/3.986e-05, allocations: 8 kB / 414.9 MB, free: 6.016 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1693, allocations: 74.41 MB / 489.3 MB, free: 11.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6562/0.8256, allocations: 101.3 MB / 0.5768 GB, free: 13.94 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/0.8259, allocations: 75.95 kB / 0.5769 GB, free: 13.9 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001519/0.8275, allocations: 0.5292 MB / 0.5774 GB, free: 13.41 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.8275, allocations: 3.312 kB / 0.5774 GB, free: 13.41 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.8275, allocations: 4 kB / 0.5774 GB, free: 13.4 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.0003098/0.8279, allocations: 310.1 kB / 0.5777 GB, free: 13.06 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.8279, allocations: 11.97 kB / 0.5777 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.075e-05/0.828, allocations: 34.55 kB / 0.5777 GB, free: 13 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.828, allocations: 0 / 0.5777 GB, free: 13 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.8281, allocations: 168.4 kB / 0.5779 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.8282, allocations: 4 kB / 0.5779 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.8282, allocations: 5 kB / 0.5779 GB, free: 12.79 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.8283, allocations: 33.14 kB / 0.5779 GB, free: 12.76 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.8283, allocations: 4 kB / 0.5779 GB, free: 12.75 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.8283, allocations: 0 / 0.5779 GB, free: 12.75 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.8284, allocations: 0 / 0.5779 GB, free: 12.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.008e-05/0.8284, allocations: 4 kB / 0.5779 GB, free: 12.75 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.8286, allocations: 149.2 kB / 0.5781 GB, free: 12.56 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.927e-05/0.8287, allocations: 24.09 kB / 0.5781 GB, free: 12.53 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.338e-05/0.8287, allocations: 8.922 kB / 0.5781 GB, free: 12.52 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001808/0.8289, allocations: 85.09 kB / 0.5782 GB, free: 12.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.8289, allocations: 41.94 kB / 0.5782 GB, free: 12.37 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.753e-06/0.8289, allocations: 0 / 0.5782 GB, free: 12.37 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001503/0.8291, allocations: 33.7 kB / 0.5783 GB, free: 12.33 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.8292, allocations: 51.41 kB / 0.5783 GB, free: 12.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.054e-05/0.8292, allocations: 85 kB / 0.5784 GB, free: 12.18 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.8292, allocations: 25.7 kB / 0.5784 GB, free: 12.14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.8293, allocations: 80.14 kB / 0.5785 GB, free: 12.06 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.8293, allocations: 15.38 kB / 0.5785 GB, free: 12.05 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.8293, allocations: 4 kB / 0.5785 GB, free: 12.05 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.8295, allocations: 314.8 kB / 0.5788 GB, free: 11.73 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.8295, allocations: 0 / 0.5788 GB, free: 11.73 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.4e-05/0.8295, allocations: 4 kB / 0.5788 GB, free: 11.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.463e-05/0.8295, allocations: 0 / 0.5788 GB, free: 11.73 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8296, allocations: 0 / 0.5788 GB, free: 11.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001213/0.8297, allocations: 45.03 kB / 0.5789 GB, free: 11.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.8297, allocations: 12.08 kB / 0.5789 GB, free: 11.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.8297, allocations: 4.5 kB / 0.5789 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.8298, allocations: 0 / 0.5789 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.686e-05/0.8299, allocations: 4 kB / 0.5789 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.8299, allocations: 0 / 0.5789 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/0.8299, allocations: 1.938 kB / 0.5789 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.8299, allocations: 0 / 0.5789 GB, free: 11.66 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 7.437e-05/0.83, allocations: 101 kB / 0.579 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.83, allocations: 7.953 kB / 0.579 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.8302, allocations: 48.11 kB / 0.579 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.8302, allocations: 4 kB / 0.579 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.8302, allocations: 0 / 0.579 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.8302, allocations: 7.875 kB / 0.579 GB, free: 11.49 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.8303, allocations: 148.6 kB / 0.5792 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.8304, allocations: 0 / 0.5792 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.679e-05/0.8304, allocations: 4 kB / 0.5792 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.8304, allocations: 0 / 0.5792 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.8304, allocations: 3.953 kB / 0.5792 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.8304, allocations: 4 kB / 0.5792 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.8305, allocations: 0 / 0.5792 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.969e-05/0.8306, allocations: 64.59 kB / 0.5793 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.8306, allocations: 77.11 kB / 0.5793 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.8306, allocations: 5.25 kB / 0.5793 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.915e-05/0.8307, allocations: 3.953 kB / 0.5793 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.8307, allocations: 4 kB / 0.5793 GB, free: 11.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.8307, allocations: 3.984 kB / 0.5793 GB, free: 11.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.59e-05/0.8308, allocations: 79.31 kB / 0.5794 GB, free: 11.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.8308, allocations: 0 / 0.5794 GB, free: 11.02 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002603/0.8311, allocations: 10.62 kB / 0.5794 GB, free: 11.01 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.0004807/0.8316, allocations: 0.6043 MB / 0.58 GB, free: 10.38 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.03e-05/0.8317, allocations: 15.22 kB / 0.58 GB, free: 10.37 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.8317, allocations: 0 / 0.58 GB, free: 10.37 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.241e-05/0.8317, allocations: 4 kB / 0.58 GB, free: 10.37 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.8318, allocations: 4.5 kB / 0.58 GB, free: 10.36 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.8322, allocations: 89.38 kB / 0.5801 GB, free: 10.25 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.8324, allocations: 0.677 MB / 0.5808 GB, free: 9.543 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.515e-05/0.8325, allocations: 7.906 kB / 0.5808 GB, free: 9.535 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.8325, allocations: 7.438 kB / 0.5808 GB, free: 9.527 MB / 474.7 MB Notification: Performance of SimCode: time 3.236e-06/0.8325, allocations: 0 / 0.5808 GB, free: 9.527 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.8511, allocations: 0.8772 MB / 0.5817 GB, free: 8.711 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/0.8514, allocations: 163.2 kB / 0.5818 GB, free: 8.488 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/3.013, allocations: 0 / 0.5818 GB, free: 8.488 MB / 474.7 MB