Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.911/3.911, allocations: 403.3 MB / 415.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.761e-05/3.789e-05, allocations: 4 kB / 0.4991 GB, free: 13.29 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6065/0.6066, allocations: 92.67 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2269/0.8336, allocations: 120.3 MB / 0.7071 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.8339, allocations: 71.91 kB / 0.7071 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005118/0.839, allocations: 1.147 MB / 0.7083 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8391, allocations: 0 / 0.7083 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.8391, allocations: 4 kB / 0.7083 GB, free: 4.828 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.000495/0.8396, allocations: 342.5 kB / 0.7086 GB, free: 4.449 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.8397, allocations: 12.03 kB / 0.7086 GB, free: 4.438 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.622e-05/0.8397, allocations: 34.56 kB / 0.7086 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.8412, allocations: 195.6 kB / 0.7088 GB, free: 4.203 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.8414, allocations: 167.1 kB / 0.709 GB, free: 4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.8414, allocations: 7.938 kB / 0.709 GB, free: 3.992 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.8415, allocations: 4 kB / 0.709 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.8418, allocations: 109.5 kB / 0.7091 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.8418, allocations: 0 / 0.7091 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.8419, allocations: 8 kB / 0.7091 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.8419, allocations: 0 / 0.7091 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.8422, allocations: 115.9 kB / 0.7092 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.8437, allocations: 461.2 kB / 0.7097 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006993/0.8444, allocations: 166.3 kB / 0.7098 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.8446, allocations: 52.98 kB / 0.7099 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.8446, allocations: 3.984 kB / 0.7099 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.8447, allocations: 34.56 kB / 0.7099 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.395e-06/0.8447, allocations: 0 / 0.7099 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0004023/0.8451, allocations: 109.5 kB / 0.71 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.8451, allocations: 59.34 kB / 0.7101 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.8453, allocations: 113.1 kB / 0.7102 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.8453, allocations: 25.7 kB / 0.7102 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.8454, allocations: 84.14 kB / 0.7103 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.8454, allocations: 11.91 kB / 0.7103 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.208e-05/0.8454, allocations: 0 / 0.7103 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.8456, allocations: 318.8 kB / 0.7106 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.8457, allocations: 43.97 kB / 0.7106 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.8459, allocations: 43.97 kB / 0.7107 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.846, allocations: 27.98 kB / 0.7107 GB, free: 2.113 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.846, allocations: 0 / 0.7107 GB, free: 2.113 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003157/0.8463, allocations: 117.5 kB / 0.7108 GB, free: 1.992 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.8463, allocations: 4 kB / 0.7108 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.8464, allocations: 0 / 0.7108 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.8464, allocations: 0 / 0.7108 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.8469, allocations: 51.89 kB / 0.7109 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.8469, allocations: 0 / 0.7109 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003708/0.8473, allocations: 47.83 kB / 0.7109 GB, free: 1.891 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.8473, allocations: 3.984 kB / 0.7109 GB, free: 1.887 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 9.299e-05/0.8474, allocations: 105 kB / 0.711 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.8475, allocations: 7.859 kB / 0.711 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.16e-05/0.8475, allocations: 12.03 kB / 0.711 GB, free: 1.754 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.8475, allocations: 0 / 0.711 GB, free: 1.754 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.8476, allocations: 0 / 0.711 GB, free: 1.754 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.8476, allocations: 0 / 0.711 GB, free: 1.754 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.8479, allocations: 205.6 kB / 0.7112 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.8479, allocations: 4 kB / 0.7112 GB, free: 1.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.8483, allocations: 43.94 kB / 0.7113 GB, free: 1.457 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.8483, allocations: 3.953 kB / 0.7113 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.8484, allocations: 0 / 0.7113 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.8484, allocations: 0 / 0.7113 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.8484, allocations: 384 / 0.7113 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.8488, allocations: 211.4 kB / 0.7115 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.8489, allocations: 85.02 kB / 0.7116 GB, free: 1.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.8489, allocations: 7.953 kB / 0.7116 GB, free: 1.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/0.8493, allocations: 43.89 kB / 0.7116 GB, free: 1.078 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.8494, allocations: 4 kB / 0.7116 GB, free: 1.074 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.8494, allocations: 4.219 kB / 0.7116 GB, free: 1.07 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.131e-05/0.8495, allocations: 91.28 kB / 0.7117 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.41e-07/0.8495, allocations: 0 / 0.7117 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000305/0.8498, allocations: 12 kB / 0.7117 GB, free: 0.9688 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.0007033/0.8505, allocations: 0.7512 MB / 0.7125 GB, free: 192 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003163/0.8509, allocations: 87.94 kB / 0.7125 GB, free: 104 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8509, allocations: 0 / 0.7125 GB, free: 104 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.8511, allocations: 47.95 kB / 0.7126 GB, free: 56 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.8513, allocations: 7.953 kB / 0.7126 GB, free: 48 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.8525, allocations: 222.7 kB / 0.7128 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.8529, allocations: 0.6887 MB / 0.7135 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001615/0.8531, allocations: 27.98 kB / 0.7135 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.8532, allocations: 15.42 kB / 0.7135 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of SimCode: time 3.256e-06/0.8532, allocations: 0 / 0.7135 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.8781, allocations: 1.624 MB / 0.7151 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003441/0.8786, allocations: 159.8 kB / 0.7153 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/3.129, allocations: 0 / 0.7153 GB, free: 13.24 MB / 0.6042 GB