Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.622/4.622, allocations: 404.1 MB / 411.3 MB, free: 332 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.559e-05/4.563e-05, allocations: 7.984 kB / 0.4945 GB, free: 1.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7506/0.7507, allocations: 92.68 MB / 0.585 GB, free: 2.301 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.264/1.015, allocations: 119.6 MB / 0.7018 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/1.015, allocations: 71.95 kB / 0.7019 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.00584/1.021, allocations: 1.14 MB / 0.703 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.623e-06/1.021, allocations: 3.938 kB / 0.703 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.594e-06/1.021, allocations: 0 / 0.703 GB, free: 9.32 MB / 0.5886 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.0005669/1.022, allocations: 354.5 kB / 0.7034 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/1.022, allocations: 12.03 kB / 0.7034 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/1.024, allocations: 187.6 kB / 0.7036 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/1.024, allocations: 171 kB / 0.7037 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/1.024, allocations: 0 / 0.7037 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/1.024, allocations: 3.984 kB / 0.7037 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004171/1.024, allocations: 115.9 kB / 0.7038 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/1.025, allocations: 109.6 kB / 0.7039 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/1.025, allocations: 0 / 0.7039 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/1.025, allocations: 0 / 0.7039 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/1.025, allocations: 7.953 kB / 0.704 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/1.026, allocations: 429.8 kB / 0.7044 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007957/1.027, allocations: 154.5 kB / 0.7045 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/1.027, allocations: 48.94 kB / 0.7046 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/1.027, allocations: 8 kB / 0.7046 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/1.028, allocations: 34.55 kB / 0.7046 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.194e-06/1.028, allocations: 0 / 0.7046 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0004476/1.028, allocations: 109.5 kB / 0.7047 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/1.028, allocations: 55.34 kB / 0.7048 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/1.028, allocations: 97 kB / 0.7048 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/1.028, allocations: 25.7 kB / 0.7049 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.963e-05/1.028, allocations: 92.12 kB / 0.705 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/1.028, allocations: 11.84 kB / 0.705 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.529e-05/1.028, allocations: 0 / 0.705 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.029, allocations: 314.8 kB / 0.7053 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/1.029, allocations: 39.97 kB / 0.7053 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/1.029, allocations: 39.97 kB / 0.7053 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/1.029, allocations: 35.97 kB / 0.7054 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.029, allocations: 0 / 0.7054 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003526/1.029, allocations: 109.5 kB / 0.7055 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/1.029, allocations: 9.672 kB / 0.7055 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.029, allocations: 4 kB / 0.7055 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/1.029, allocations: 0 / 0.7055 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005549/1.03, allocations: 43.94 kB / 0.7055 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/1.03, allocations: 3.938 kB / 0.7055 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/1.031, allocations: 47.89 kB / 0.7056 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/1.031, allocations: 4 kB / 0.7056 GB, free: 6.5 MB / 0.5886 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 0.0001087/1.031, allocations: 101 kB / 0.7057 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003668/1.031, allocations: 109.6 kB / 0.7058 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/1.031, allocations: 7.859 kB / 0.7058 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.25e-05/1.031, allocations: 16.28 kB / 0.7058 GB, free: 6.25 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/1.031, allocations: 4 kB / 0.7058 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.031, allocations: 0 / 0.7058 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/1.031, allocations: 0 / 0.7058 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/1.032, allocations: 186.2 kB / 0.706 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.032, allocations: 4 kB / 0.706 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005104/1.032, allocations: 35.95 kB / 0.706 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/1.032, allocations: 7.953 kB / 0.706 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/1.032, allocations: 4 kB / 0.706 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.032, allocations: 0 / 0.706 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/1.032, allocations: 4.219 kB / 0.7061 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/1.033, allocations: 203.4 kB / 0.7062 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.24e-05/1.033, allocations: 85.02 kB / 0.7063 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/1.033, allocations: 3.953 kB / 0.7063 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005075/1.033, allocations: 39.95 kB / 0.7064 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/1.033, allocations: 7.984 kB / 0.7064 GB, free: 5.605 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/1.033, allocations: 3.938 kB / 0.7064 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.183e-05/1.034, allocations: 83.28 kB / 0.7065 GB, free: 5.52 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.01e-07/1.034, allocations: 0 / 0.7065 GB, free: 5.52 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004486/1.034, allocations: 12 kB / 0.7065 GB, free: 5.508 MB / 0.5886 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.0008081/1.035, allocations: 0.7434 MB / 0.7072 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003476/1.035, allocations: 87.94 kB / 0.7073 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.035, allocations: 0 / 0.7073 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/1.035, allocations: 47.95 kB / 0.7073 GB, free: 4.605 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/1.036, allocations: 3.953 kB / 0.7073 GB, free: 4.602 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/1.037, allocations: 213.5 kB / 0.7075 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/1.038, allocations: 0.6885 MB / 0.7082 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001874/1.038, allocations: 19.98 kB / 0.7082 GB, free: 3.621 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/1.038, allocations: 11.44 kB / 0.7082 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of SimCode: time 8.51e-07/1.038, allocations: 0 / 0.7082 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04354/1.081, allocations: 1.221 MB / 0.7094 GB, free: 2.402 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003474/1.082, allocations: 140.3 kB / 0.7096 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.598/3.68, allocations: 0 / 0.7096 GB, free: 2.203 MB / 0.5886 GB