Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.742/4.742, allocations: 404.1 MB / 411.3 MB, free: 392 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.894e-05/2.891e-05, allocations: 4 kB / 0.4945 GB, free: 1.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6447/0.6448, allocations: 92.69 MB / 0.585 GB, free: 2.301 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3094/0.9542, allocations: 121.2 MB / 0.7034 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.9546, allocations: 71.95 kB / 0.7035 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02885/0.9835, allocations: 4.983 MB / 0.7084 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9835, allocations: 0 / 0.7084 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.9835, allocations: 8 kB / 0.7084 GB, free: 3.836 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007226/0.9843, allocations: 406.2 kB / 0.7088 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.9844, allocations: 8.031 kB / 0.7088 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.9856, allocations: 119.7 kB / 0.7089 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.9858, allocations: 183.7 kB / 0.7091 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.986, allocations: 67.39 kB / 0.7091 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.986, allocations: 4 kB / 0.7091 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002935/0.9863, allocations: 68 kB / 0.7092 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.9867, allocations: 113.6 kB / 0.7093 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.9867, allocations: 0 / 0.7093 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.9868, allocations: 0 / 0.7093 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.9868, allocations: 4 kB / 0.7093 GB, free: 2.781 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.9887, allocations: 474.4 kB / 0.7098 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.9898, allocations: 166.4 kB / 0.7099 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.99, allocations: 40.98 kB / 0.71 GB, free: 2.066 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.99, allocations: 0 / 0.71 GB, free: 2.066 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.9901, allocations: 34.56 kB / 0.71 GB, free: 2.023 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 2.175e-06/0.9901, allocations: 4 kB / 0.71 GB, free: 2.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0004125/0.9905, allocations: 97.73 kB / 0.7101 GB, free: 1.918 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.9906, allocations: 55.34 kB / 0.7101 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.9908, allocations: 126.3 kB / 0.7103 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.9908, allocations: 25.7 kB / 0.7103 GB, free: 1.691 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.9909, allocations: 116.1 kB / 0.7104 GB, free: 1.57 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.991, allocations: 15.73 kB / 0.7104 GB, free: 1.555 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.652e-05/0.991, allocations: 4 kB / 0.7104 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.9912, allocations: 323.3 kB / 0.7107 GB, free: 1.227 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.9913, allocations: 35.92 kB / 0.7108 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.9914, allocations: 50.58 kB / 0.7108 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.9916, allocations: 31.98 kB / 0.7108 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.9916, allocations: 0 / 0.7108 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003595/0.992, allocations: 117.5 kB / 0.7109 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.992, allocations: 8 kB / 0.711 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.992, allocations: 0 / 0.711 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.992, allocations: 0 / 0.711 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005335/0.9926, allocations: 47.94 kB / 0.711 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.9926, allocations: 0 / 0.711 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.993, allocations: 39.89 kB / 0.711 GB, free: 0.8867 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.9931, allocations: 4 kB / 0.711 GB, free: 0.8828 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001226/0.9932, allocations: 101 kB / 0.7111 GB, free: 0.7773 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003323/0.9935, allocations: 109.6 kB / 0.7112 GB, free: 0.6641 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.9936, allocations: 7.906 kB / 0.7113 GB, free: 0.6562 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/0.994, allocations: 130.2 kB / 0.7114 GB, free: 0.5234 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.994, allocations: 3.953 kB / 0.7114 GB, free: 0.5195 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.9941, allocations: 4 kB / 0.7114 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.9941, allocations: 0 / 0.7114 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003597/0.9944, allocations: 202.7 kB / 0.7116 GB, free: 288 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.9945, allocations: 0 / 0.7116 GB, free: 288 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004628/0.9949, allocations: 51.89 kB / 0.7116 GB, free: 236 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.995, allocations: 0 / 0.7116 GB, free: 236 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.995, allocations: 3.984 kB / 0.7116 GB, free: 232 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.995, allocations: 0 / 0.7116 GB, free: 232 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/0.995, allocations: 3.953 kB / 0.7116 GB, free: 228 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.9954, allocations: 195.4 kB / 0.7118 GB, free: 16 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.9956, allocations: 88.95 kB / 0.7119 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.9956, allocations: 8 kB / 0.7119 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006156/0.9963, allocations: 39.95 kB / 0.712 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.9963, allocations: 3.984 kB / 0.712 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.9964, allocations: 11.94 kB / 0.712 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.815e-05/0.9965, allocations: 102 kB / 0.7121 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.51e-07/0.9965, allocations: 4 kB / 0.7121 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004372/0.997, allocations: 19.91 kB / 0.7121 GB, free: 15.73 MB / 0.6042 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 (6): * Single equations (assignments): 6 * 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.0007132/0.9977, allocations: 0.7433 MB / 0.7128 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002985/0.998, allocations: 80.23 kB / 0.7129 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.998, allocations: 0 / 0.7129 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.9982, allocations: 40.06 kB / 0.7129 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.9985, allocations: 14.44 kB / 0.7129 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007308/0.9992, allocations: 170.2 kB / 0.7131 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.9996, allocations: 0.7081 MB / 0.7138 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001983/0.9998, allocations: 12.19 kB / 0.7138 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/1, allocations: 31.42 kB / 0.7138 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of SimCode: time 1.002e-06/1, allocations: 4 kB / 0.7138 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04324/1.043, allocations: 2.061 MB / 0.7159 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003627/1.044, allocations: 147 kB / 0.716 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.77/3.814, allocations: 0 / 0.716 GB, free: 11.59 MB / 0.6042 GB