Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.296/4.296, allocations: 460.4 MB / 472.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.027e-05/4.033e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.25, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8718/1.122, allocations: 131.6 MB / 0.8004 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/1.122, allocations: 69.56 kB / 0.8005 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004567/1.127, allocations: 1.148 MB / 0.8016 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.845e-06/1.127, allocations: 5.609 kB / 0.8016 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.088e-05/1.127, allocations: 0 / 0.8016 GB, free: 12.57 MB / 0.6355 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.0004262/1.127, allocations: 354.2 kB / 0.8019 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.127, allocations: 11.59 kB / 0.8019 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.681e-05/1.127, allocations: 31.69 kB / 0.802 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/1.129, allocations: 197.2 kB / 0.8022 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.941e-05/1.129, allocations: 166.8 kB / 0.8023 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/1.129, allocations: 1.594 kB / 0.8023 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/1.129, allocations: 11.06 kB / 0.8023 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/1.129, allocations: 113 kB / 0.8024 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/1.129, allocations: 0 / 0.8024 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/1.129, allocations: 0 / 0.8024 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/1.129, allocations: 0 / 0.8024 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/1.13, allocations: 119.5 kB / 0.8026 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/1.131, allocations: 469.6 kB / 0.803 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000617/1.132, allocations: 160.7 kB / 0.8032 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/1.132, allocations: 55.77 kB / 0.8032 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/1.132, allocations: 0 / 0.8032 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/1.132, allocations: 32.69 kB / 0.8032 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.074e-06/1.132, allocations: 0 / 0.8032 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003616/1.132, allocations: 109.7 kB / 0.8033 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/1.132, allocations: 55.41 kB / 0.8034 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.959e-05/1.132, allocations: 114.7 kB / 0.8035 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/1.132, allocations: 25.7 kB / 0.8035 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/1.132, allocations: 93 kB / 0.8036 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/1.132, allocations: 5.219 kB / 0.8036 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/1.132, allocations: 0 / 0.8036 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.897e-05/1.133, allocations: 319.1 kB / 0.8039 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/1.133, allocations: 43.06 kB / 0.804 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/1.133, allocations: 44.28 kB / 0.804 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.662e-05/1.133, allocations: 31.42 kB / 0.804 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.133, allocations: 0 / 0.804 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002738/1.133, allocations: 111.3 kB / 0.8041 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.133, allocations: 14.83 kB / 0.8042 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.133, allocations: 7.781 kB / 0.8042 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/1.133, allocations: 0 / 0.8042 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004451/1.134, allocations: 48.12 kB / 0.8042 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/1.134, allocations: 0 / 0.8042 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003545/1.134, allocations: 43.41 kB / 0.8043 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/1.134, allocations: 1.547 kB / 0.8043 GB, free: 10.86 MB / 0.6355 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 6.298e-05/1.134, allocations: 101 kB / 0.8044 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/1.134, allocations: 7.875 kB / 0.8044 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/1.134, allocations: 17.41 kB / 0.8044 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/1.134, allocations: 0 / 0.8044 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.134, allocations: 0 / 0.8044 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/1.134, allocations: 0 / 0.8044 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/1.135, allocations: 209.7 kB / 0.8046 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.135, allocations: 0 / 0.8046 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004183/1.135, allocations: 49.05 kB / 0.8046 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.135, allocations: 0 / 0.8046 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/1.135, allocations: 9.312 kB / 0.8046 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.135, allocations: 0 / 0.8046 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.135, allocations: 384 / 0.8046 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/1.135, allocations: 206.8 kB / 0.8048 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/1.136, allocations: 86 kB / 0.8049 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/1.136, allocations: 3.844 kB / 0.8049 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/1.136, allocations: 47.16 kB / 0.805 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/1.136, allocations: 2.438 kB / 0.805 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/1.136, allocations: 0 / 0.805 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.444e-05/1.136, allocations: 93.73 kB / 0.8051 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.91e-07/1.136, allocations: 4 kB / 0.8051 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003294/1.136, allocations: 11.5 kB / 0.8051 GB, free: 10.21 MB / 0.6355 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.0009142/1.137, allocations: 0.7339 MB / 0.8058 GB, free: 25.56 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003148/1.138, allocations: 93.64 kB / 0.8059 GB, free: 25.55 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.138, allocations: 0 / 0.8059 GB, free: 25.55 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/1.138, allocations: 51.33 kB / 0.8059 GB, free: 25.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/1.138, allocations: 14.89 kB / 0.8059 GB, free: 25.54 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/1.139, allocations: 217.8 kB / 0.8061 GB, free: 25.43 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/1.14, allocations: 0.6921 MB / 0.8068 GB, free: 24.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001562/1.14, allocations: 20.03 kB / 0.8068 GB, free: 24.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.884e-05/1.14, allocations: 15.92 kB / 0.8069 GB, free: 24.72 MB / 0.6511 GB Notification: Performance of SimCode: time 1.132e-06/1.14, allocations: 0 / 0.8069 GB, free: 24.72 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/1.162, allocations: 1.605 MB / 0.8084 GB, free: 24.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002514/1.162, allocations: 157.8 kB / 0.8086 GB, free: 24.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/3.454, allocations: 4 kB / 0.8086 GB, free: 24.27 MB / 0.6511 GB