Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.334/3.334, allocations: 343.7 MB / 355.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.913e-05/4.918e-05, allocations: 12 kB / 436.7 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1862, allocations: 77.73 MB / 0.5023 GB, free: 4.469 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6595/0.8458, allocations: 105.9 MB / 0.6058 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.8462, allocations: 74.55 kB / 0.6059 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004698/0.8509, allocations: 1.048 MB / 0.6069 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8509, allocations: 0 / 0.6069 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.851, allocations: 0 / 0.6069 GB, free: 13.84 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005468/0.8515, allocations: 350.4 kB / 0.6072 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.8516, allocations: 15.97 kB / 0.6072 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.451e-05/0.8517, allocations: 42.48 kB / 0.6073 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.8517, allocations: 7.906 kB / 0.6073 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.8519, allocations: 163 kB / 0.6074 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.8519, allocations: 4 kB / 0.6074 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.8519, allocations: 0 / 0.6074 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.8521, allocations: 49.69 kB / 0.6075 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.8521, allocations: 4 kB / 0.6075 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.8521, allocations: 0 / 0.6075 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.8521, allocations: 0 / 0.6075 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.122e-05/0.8522, allocations: 20 kB / 0.6075 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000539/0.8528, allocations: 292.6 kB / 0.6078 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.8532, allocations: 46.62 kB / 0.6078 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.961e-05/0.8533, allocations: 16.86 kB / 0.6079 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004234/0.8537, allocations: 401.6 kB / 0.6082 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.8537, allocations: 30.56 kB / 0.6083 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 2.284e-06/0.8537, allocations: 0 / 0.6083 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002395/0.854, allocations: 53.58 kB / 0.6083 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.8541, allocations: 59.41 kB / 0.6084 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.8542, allocations: 101 kB / 0.6085 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.8542, allocations: 29.7 kB / 0.6085 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.8543, allocations: 80.14 kB / 0.6086 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.8543, allocations: 15.89 kB / 0.6086 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.8543, allocations: 0 / 0.6086 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8545, allocations: 310.8 kB / 0.6089 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.702e-05/0.8545, allocations: 8 kB / 0.6089 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.8546, allocations: 8 kB / 0.6089 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.462e-05/0.8546, allocations: 12.12 kB / 0.6089 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8547, allocations: 0 / 0.6089 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001418/0.8548, allocations: 61.53 kB / 0.609 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.8548, allocations: 14.64 kB / 0.609 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8549, allocations: 0 / 0.609 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.8549, allocations: 0 / 0.609 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.855, allocations: 11.98 kB / 0.609 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.8551, allocations: 3.953 kB / 0.609 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.8552, allocations: 8 kB / 0.609 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.8552, allocations: 3.938 kB / 0.609 GB, free: 11.35 MB / 0.4948 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 (falFac.y,falFac.k) * 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 8.94e-05/0.8553, allocations: 109 kB / 0.6091 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.8554, allocations: 3.984 kB / 0.6091 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001978/0.8556, allocations: 58.59 kB / 0.6092 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.8556, allocations: 0 / 0.6092 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.8556, allocations: 0 / 0.6092 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.8556, allocations: 7.891 kB / 0.6092 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.8559, allocations: 169.6 kB / 0.6093 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8559, allocations: 3.938 kB / 0.6093 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.8561, allocations: 20 kB / 0.6094 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.8561, allocations: 3.984 kB / 0.6094 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.8561, allocations: 0 / 0.6094 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.8561, allocations: 0 / 0.6094 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.8561, allocations: 0 / 0.6094 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.8563, allocations: 151.4 kB / 0.6095 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.8564, allocations: 77.11 kB / 0.6096 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.8564, allocations: 0 / 0.6096 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.8566, allocations: 19.98 kB / 0.6096 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/0.8567, allocations: 7.984 kB / 0.6096 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.8567, allocations: 0 / 0.6096 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.113e-05/0.8568, allocations: 87.28 kB / 0.6097 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.71e-07/0.8568, allocations: 0 / 0.6097 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003329/0.8571, allocations: 15.94 kB / 0.6097 GB, free: 10.53 MB / 0.4948 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 (falFac.y,falFac.k) * 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.0006991/0.8578, allocations: 0.7155 MB / 0.6104 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.858, allocations: 20 kB / 0.6104 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.858, allocations: 0 / 0.6104 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.062e-05/0.8581, allocations: 19.92 kB / 0.6105 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.8583, allocations: 3.984 kB / 0.6105 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.8588, allocations: 106.6 kB / 0.6106 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.8591, allocations: 0.6848 MB / 0.6112 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.428e-05/0.8592, allocations: 4.375 kB / 0.6112 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.8593, allocations: 19.36 kB / 0.6112 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.8593, allocations: 0 / 0.6112 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.8781, allocations: 1.374 MB / 0.6126 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003559/0.8785, allocations: 170.2 kB / 0.6128 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/3.28, allocations: 0 / 0.6128 GB, free: 7.34 MB / 0.4948 GB