Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.58/3.58, allocations: 343.8 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.337e-05/4.361e-05, allocations: 8 kB / 436.7 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.183, allocations: 77.72 MB / 0.5023 GB, free: 4.492 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.717/0.9002, allocations: 106.2 MB / 0.606 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.9005, allocations: 71.95 kB / 0.6061 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.00783/0.9084, allocations: 1.334 MB / 0.6074 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9084, allocations: 0 / 0.6074 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.9084, allocations: 0 / 0.6074 GB, free: 13.41 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.0005769/0.909, allocations: 354.4 kB / 0.6078 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.9091, allocations: 11.97 kB / 0.6078 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.242e-05/0.9092, allocations: 38.48 kB / 0.6078 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.9092, allocations: 11.91 kB / 0.6078 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.9094, allocations: 167 kB / 0.608 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.9094, allocations: 0 / 0.608 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.9094, allocations: 7.984 kB / 0.608 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.9096, allocations: 45.69 kB / 0.608 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.9096, allocations: 3.938 kB / 0.608 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.9096, allocations: 8 kB / 0.608 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.9097, allocations: 0 / 0.608 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.103e-05/0.9098, allocations: 19.98 kB / 0.6081 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.9103, allocations: 276.8 kB / 0.6083 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.9107, allocations: 50.5 kB / 0.6084 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.231e-05/0.9108, allocations: 12.92 kB / 0.6084 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006024/0.9114, allocations: 417.7 kB / 0.6088 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.9115, allocations: 34.56 kB / 0.6088 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 3.867e-06/0.9115, allocations: 3.938 kB / 0.6088 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002711/0.9118, allocations: 49.64 kB / 0.6089 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.9118, allocations: 51.41 kB / 0.6089 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.912, allocations: 109 kB / 0.609 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.912, allocations: 25.7 kB / 0.609 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.9121, allocations: 80.14 kB / 0.6091 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.9121, allocations: 15.89 kB / 0.6091 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.9121, allocations: 4 kB / 0.6091 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.9123, allocations: 310.8 kB / 0.6094 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-05/0.9124, allocations: 8 kB / 0.6094 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.78e-05/0.9124, allocations: 11.94 kB / 0.6094 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.627e-05/0.9125, allocations: 7.984 kB / 0.6095 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.9125, allocations: 4 kB / 0.6095 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001485/0.9126, allocations: 49.61 kB / 0.6095 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.9127, allocations: 7.984 kB / 0.6095 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.9127, allocations: 4 kB / 0.6095 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.9127, allocations: 0 / 0.6095 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.9129, allocations: 15.98 kB / 0.6095 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.9129, allocations: 3.953 kB / 0.6095 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.9131, allocations: 8 kB / 0.6095 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.9131, allocations: 0 / 0.6095 GB, free: 10.91 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 (bin.y,bin.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 9.799e-05/0.9132, allocations: 105 kB / 0.6096 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.9132, allocations: 3.984 kB / 0.6096 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.9135, allocations: 65.66 kB / 0.6097 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.9135, allocations: 0 / 0.6097 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.9135, allocations: 0 / 0.6097 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.9135, allocations: 7.891 kB / 0.6097 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.9138, allocations: 178.3 kB / 0.6099 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.9138, allocations: 0 / 0.6099 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.9139, allocations: 8.234 kB / 0.6099 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.914, allocations: 7.984 kB / 0.6099 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.914, allocations: 4 kB / 0.6099 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.914, allocations: 4 kB / 0.6099 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.914, allocations: 0 / 0.6099 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.9143, allocations: 155.4 kB / 0.6101 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/0.9144, allocations: 77.11 kB / 0.6101 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.9144, allocations: 3.938 kB / 0.6101 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.9146, allocations: 11.98 kB / 0.6101 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/0.9146, allocations: 15.98 kB / 0.6102 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.9147, allocations: 0 / 0.6102 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.54e-05/0.9148, allocations: 87.28 kB / 0.6102 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.01e-07/0.9148, allocations: 0 / 0.6102 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003627/0.9151, allocations: 20 kB / 0.6103 GB, free: 10.07 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 (bin.y,bin.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.0007043/0.9159, allocations: 0.7162 MB / 0.611 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.916, allocations: 23.94 kB / 0.611 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.916, allocations: 0 / 0.611 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.004e-05/0.9161, allocations: 12 kB / 0.611 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.9163, allocations: 0.625 kB / 0.611 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.9169, allocations: 110.6 kB / 0.6111 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.9172, allocations: 0.6887 MB / 0.6118 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.287e-05/0.9173, allocations: 8 kB / 0.6118 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.9173, allocations: 15.44 kB / 0.6118 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of SimCode: time 3.467e-06/0.9174, allocations: 0 / 0.6118 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.9403, allocations: 1.592 MB / 0.6134 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/0.9407, allocations: 154.9 kB / 0.6135 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/3.282, allocations: 0 / 0.6135 GB, free: 6.68 MB / 0.4948 GB