Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.272/4.272, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.082e-05/4.085e-05, allocations: 4 kB / 0.5732 GB, free: 5.629 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2385, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8498/1.088, allocations: 133.6 MB / 0.8083 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/1.089, allocations: 74.19 kB / 0.8084 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02335/1.112, allocations: 5.046 MB / 0.8133 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.014e-06/1.112, allocations: 4 kB / 0.8133 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.447e-06/1.112, allocations: 3.781 kB / 0.8133 GB, free: 11.62 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005904/1.113, allocations: 408.5 kB / 0.8137 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/1.113, allocations: 7.719 kB / 0.8137 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.032e-05/1.113, allocations: 44.2 kB / 0.8138 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/1.114, allocations: 116.2 kB / 0.8139 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/1.114, allocations: 191 kB / 0.8141 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/1.114, allocations: 62.78 kB / 0.8141 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/1.114, allocations: 10.69 kB / 0.8141 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/1.115, allocations: 122 kB / 0.8142 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.115, allocations: 0 / 0.8142 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/1.115, allocations: 3.5 kB / 0.8142 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/1.115, allocations: 0 / 0.8142 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/1.115, allocations: 78.78 kB / 0.8143 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/1.117, allocations: 0.4972 MB / 0.8148 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/1.118, allocations: 171.9 kB / 0.815 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/1.118, allocations: 37.14 kB / 0.815 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/1.118, allocations: 9.203 kB / 0.815 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/1.118, allocations: 30.56 kB / 0.815 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.895e-06/1.118, allocations: 0 / 0.815 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0003764/1.118, allocations: 109.7 kB / 0.8151 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/1.118, allocations: 51.41 kB / 0.8152 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/1.118, allocations: 125.6 kB / 0.8153 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/1.118, allocations: 25.7 kB / 0.8153 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/1.118, allocations: 122.8 kB / 0.8155 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/1.119, allocations: 15.06 kB / 0.8155 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.519e-05/1.119, allocations: 0 / 0.8155 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.614e-05/1.119, allocations: 331.6 kB / 0.8158 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/1.119, allocations: 30.69 kB / 0.8158 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/1.119, allocations: 54.12 kB / 0.8159 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/1.119, allocations: 35.41 kB / 0.8159 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.119, allocations: 0 / 0.8159 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002974/1.119, allocations: 118 kB / 0.816 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/1.119, allocations: 10.94 kB / 0.816 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.119, allocations: 3.875 kB / 0.816 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/1.119, allocations: 0 / 0.816 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004554/1.12, allocations: 46.22 kB / 0.8161 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/1.12, allocations: 0 / 0.8161 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/1.12, allocations: 40.41 kB / 0.8161 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/1.12, allocations: 3.938 kB / 0.8161 GB, free: 9.762 MB / 0.6355 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 8.343e-05/1.12, allocations: 115.5 kB / 0.8162 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.336e-05/1.12, allocations: 11.75 kB / 0.8162 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003551/1.121, allocations: 118.7 kB / 0.8164 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.121, allocations: 0 / 0.8164 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.121, allocations: 0 / 0.8164 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.121, allocations: 0 / 0.8164 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/1.121, allocations: 251.8 kB / 0.8166 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.121, allocations: 0 / 0.8166 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000398/1.122, allocations: 46.36 kB / 0.8166 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.122, allocations: 3.844 kB / 0.8166 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/1.122, allocations: 0 / 0.8166 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/1.122, allocations: 0 / 0.8166 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.122, allocations: 0 / 0.8166 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/1.122, allocations: 210.5 kB / 0.8168 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.191e-05/1.122, allocations: 92.36 kB / 0.8169 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/1.122, allocations: 0 / 0.8169 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005494/1.123, allocations: 49.22 kB / 0.817 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/1.123, allocations: 0 / 0.817 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/1.123, allocations: 17.28 kB / 0.817 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.04e-05/1.123, allocations: 104 kB / 0.8171 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/1.123, allocations: 0 / 0.8171 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003838/1.123, allocations: 23.28 kB / 0.8171 GB, free: 9.059 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 (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.0009/1.124, allocations: 0.7421 MB / 0.8178 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002834/1.124, allocations: 81.19 kB / 0.8179 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.124, allocations: 0 / 0.8179 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/1.125, allocations: 43.92 kB / 0.818 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/1.125, allocations: 7.344 kB / 0.818 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006429/1.125, allocations: 176.9 kB / 0.8181 GB, free: 24.26 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/1.126, allocations: 0.7051 MB / 0.8188 GB, free: 23.56 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001691/1.126, allocations: 11.78 kB / 0.8188 GB, free: 23.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/1.126, allocations: 44.97 kB / 0.8189 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of SimCode: time 1.994e-06/1.126, allocations: 0 / 0.8189 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/1.152, allocations: 2.397 MB / 0.8212 GB, free: 23.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/1.152, allocations: 159.1 kB / 0.8214 GB, free: 23.03 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/3.415, allocations: 4 kB / 0.8214 GB, free: 23.03 MB / 0.6511 GB