Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.562/3.562, allocations: 343.7 MB / 355.9 MB, free: 9.391 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.196e-05/5.201e-05, allocations: 4 kB / 436.6 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2006, allocations: 77.73 MB / 0.5023 GB, free: 4.488 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6412/0.8418, allocations: 105.7 MB / 0.6056 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.8422, allocations: 71.95 kB / 0.6057 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005449/0.8476, allocations: 1.15 MB / 0.6068 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8477, allocations: 4 kB / 0.6068 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.8477, allocations: 0 / 0.6068 GB, free: 14.06 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005475/0.8483, allocations: 350.5 kB / 0.6071 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.8483, allocations: 15.97 kB / 0.6071 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.743e-05/0.8484, allocations: 38.5 kB / 0.6072 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.8499, allocations: 187.6 kB / 0.6073 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.8501, allocations: 178.9 kB / 0.6075 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.8502, allocations: 8 kB / 0.6075 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.8502, allocations: 4 kB / 0.6075 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.8506, allocations: 109.6 kB / 0.6076 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.8506, allocations: 0 / 0.6076 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.8506, allocations: 4.547 kB / 0.6076 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.8506, allocations: 0 / 0.6076 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003289/0.851, allocations: 115.9 kB / 0.6077 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.8526, allocations: 461.7 kB / 0.6082 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007086/0.8534, allocations: 158.5 kB / 0.6083 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.8535, allocations: 52.98 kB / 0.6084 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.8536, allocations: 3.953 kB / 0.6084 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.8536, allocations: 32.86 kB / 0.6084 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 2.866e-06/0.8536, allocations: 0 / 0.6084 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.000418/0.8541, allocations: 117.5 kB / 0.6085 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.8541, allocations: 51.41 kB / 0.6086 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.8543, allocations: 113.2 kB / 0.6087 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.8543, allocations: 25.7 kB / 0.6087 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.8544, allocations: 84.14 kB / 0.6088 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.8545, allocations: 15.89 kB / 0.6088 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/0.8545, allocations: 0 / 0.6088 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.8546, allocations: 310.8 kB / 0.6091 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.8548, allocations: 47.97 kB / 0.6092 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.8549, allocations: 43.97 kB / 0.6092 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.855, allocations: 32.11 kB / 0.6092 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.8551, allocations: 0 / 0.6092 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003417/0.8554, allocations: 117.5 kB / 0.6093 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.8554, allocations: 7.953 kB / 0.6093 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.8555, allocations: 384 / 0.6094 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.8555, allocations: 0 / 0.6094 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/0.856, allocations: 47.94 kB / 0.6094 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.856, allocations: 0 / 0.6094 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.8564, allocations: 51.77 kB / 0.6094 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.8564, allocations: 0 / 0.6094 GB, free: 11.11 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: 0 () * 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.144e-05/0.8565, allocations: 105 kB / 0.6095 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.8566, allocations: 7.906 kB / 0.6096 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.21e-05/0.8567, allocations: 15.98 kB / 0.6096 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.8567, allocations: 3.984 kB / 0.6096 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.8567, allocations: 0 / 0.6096 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.8567, allocations: 0 / 0.6096 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.8571, allocations: 209.7 kB / 0.6098 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.8571, allocations: 0.875 kB / 0.6098 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004365/0.8575, allocations: 43.95 kB / 0.6098 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.8576, allocations: 0 / 0.6098 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.8576, allocations: 3.953 kB / 0.6098 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.8576, allocations: 0 / 0.6098 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.838e-06/0.8576, allocations: 7.984 kB / 0.6098 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.858, allocations: 207.4 kB / 0.61 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.8581, allocations: 85.02 kB / 0.6101 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.8581, allocations: 0 / 0.6101 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.8586, allocations: 35.91 kB / 0.6101 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.8586, allocations: 11.98 kB / 0.6102 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.8587, allocations: 0 / 0.6102 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.034e-05/0.8588, allocations: 99.27 kB / 0.6102 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.71e-07/0.8588, allocations: 0 / 0.6102 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003753/0.8592, allocations: 12 kB / 0.6103 GB, free: 10.18 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: 0 () * 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.0007338/0.8599, allocations: 0.7319 MB / 0.611 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.8603, allocations: 99.92 kB / 0.6111 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.8603, allocations: 0 / 0.6111 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.8604, allocations: 43.97 kB / 0.6111 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.8607, allocations: 8.859 kB / 0.6111 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.8619, allocations: 218.3 kB / 0.6113 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.8623, allocations: 0.7004 MB / 0.612 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001612/0.8625, allocations: 19.98 kB / 0.612 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.8626, allocations: 15.42 kB / 0.612 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of SimCode: time 1.192e-06/0.8626, allocations: 0 / 0.612 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.8827, allocations: 1.639 MB / 0.6136 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003398/0.8831, allocations: 159.6 kB / 0.6138 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.464/3.347, allocations: 0 / 0.6138 GB, free: 6.477 MB / 0.4948 GB