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 4.084/4.084, allocations: 403.3 MB / 415.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.055e-05/5.072e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6578/0.6579, allocations: 92.69 MB / 0.5896 GB, free: 14.44 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2227/0.8806, allocations: 120.3 MB / 0.7071 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.8809, allocations: 67.97 kB / 0.7072 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005107/0.8861, allocations: 1.147 MB / 0.7083 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8861, allocations: 4 kB / 0.7083 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.8861, allocations: 0 / 0.7083 GB, free: 4.785 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.0004834/0.8866, allocations: 342.5 kB / 0.7086 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.8867, allocations: 12.03 kB / 0.7086 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.261e-05/0.8868, allocations: 38.56 kB / 0.7087 GB, free: 4.348 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.8882, allocations: 195.6 kB / 0.7089 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.8884, allocations: 163.1 kB / 0.709 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.8884, allocations: 0 / 0.709 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.8884, allocations: 7.938 kB / 0.709 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.8888, allocations: 113.5 kB / 0.7091 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.8888, allocations: 0 / 0.7091 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.8888, allocations: 4 kB / 0.7091 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.8888, allocations: 0 / 0.7091 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.8892, allocations: 119.9 kB / 0.7092 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.8907, allocations: 461.2 kB / 0.7097 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008248/0.8915, allocations: 166.3 kB / 0.7098 GB, free: 3.039 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.8917, allocations: 48.98 kB / 0.7099 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.8918, allocations: 4 kB / 0.7099 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.8918, allocations: 30.56 kB / 0.7099 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.635e-06/0.8918, allocations: 0 / 0.7099 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003968/0.8922, allocations: 117.5 kB / 0.71 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.8923, allocations: 51.41 kB / 0.7101 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.8924, allocations: 105.1 kB / 0.7102 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.8924, allocations: 26.08 kB / 0.7102 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.8925, allocations: 92.12 kB / 0.7103 GB, free: 2.523 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.8926, allocations: 11.91 kB / 0.7103 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/0.8926, allocations: 0 / 0.7103 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.8927, allocations: 318.8 kB / 0.7106 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.8929, allocations: 43.97 kB / 0.7107 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.893, allocations: 47.95 kB / 0.7107 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.8931, allocations: 27.98 kB / 0.7107 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.8931, allocations: 0 / 0.7107 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003208/0.8935, allocations: 113.5 kB / 0.7108 GB, free: 1.957 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.8935, allocations: 4 kB / 0.7108 GB, free: 1.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.8935, allocations: 7.984 kB / 0.7108 GB, free: 1.945 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.8936, allocations: 4 kB / 0.7109 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.894, allocations: 43.95 kB / 0.7109 GB, free: 1.898 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.8941, allocations: 3.984 kB / 0.7109 GB, free: 1.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.8945, allocations: 43.89 kB / 0.7109 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.8945, allocations: 7.875 kB / 0.7109 GB, free: 1.844 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.247e-05/0.8946, allocations: 110.7 kB / 0.7111 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.8947, allocations: 11.86 kB / 0.7111 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.733e-05/0.8947, allocations: 12.22 kB / 0.7111 GB, free: 1.707 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.8948, allocations: 3.984 kB / 0.7111 GB, free: 1.703 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.8948, allocations: 0 / 0.7111 GB, free: 1.703 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.8948, allocations: 4 kB / 0.7111 GB, free: 1.699 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/0.8951, allocations: 205.6 kB / 0.7113 GB, free: 1.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.8951, allocations: 0 / 0.7113 GB, free: 1.449 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.8956, allocations: 39.94 kB / 0.7113 GB, free: 1.41 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.8956, allocations: 7.953 kB / 0.7113 GB, free: 1.402 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.8956, allocations: 0 / 0.7113 GB, free: 1.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.8956, allocations: 4 kB / 0.7113 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.8956, allocations: 0 / 0.7113 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.896, allocations: 199.5 kB / 0.7115 GB, free: 1.188 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.8961, allocations: 85 kB / 0.7116 GB, free: 1.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.8961, allocations: 7.953 kB / 0.7116 GB, free: 1.078 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/0.8966, allocations: 39.95 kB / 0.7116 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.8966, allocations: 7.938 kB / 0.7117 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.8967, allocations: 0 / 0.7117 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.225e-05/0.8967, allocations: 99.2 kB / 0.7117 GB, free: 0.9336 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8968, allocations: 0 / 0.7117 GB, free: 0.9336 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003414/0.8971, allocations: 12 kB / 0.7118 GB, free: 0.9219 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.0007254/0.8978, allocations: 0.7396 MB / 0.7125 GB, free: 156 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003178/0.8982, allocations: 91.88 kB / 0.7126 GB, free: 64 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.8982, allocations: 0 / 0.7126 GB, free: 64 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.8984, allocations: 47.97 kB / 0.7126 GB, free: 16 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.8986, allocations: 7.953 kB / 0.7126 GB, free: 8 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.8998, allocations: 222.5 kB / 0.7128 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.9001, allocations: 0.6926 MB / 0.7135 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000157/0.9003, allocations: 23.98 kB / 0.7135 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.922e-05/0.9004, allocations: 15.44 kB / 0.7135 GB, free: 15 MB / 0.6042 GB Notification: Performance of SimCode: time 9.42e-07/0.9004, allocations: 0 / 0.7135 GB, free: 15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.9241, allocations: 1.613 MB / 0.7151 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002949/0.9244, allocations: 145.3 kB / 0.7153 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/3.18, allocations: 0 / 0.7153 GB, free: 13.23 MB / 0.6042 GB