Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.181/4.181, allocations: 464.6 MB / 476.8 MB, free: 2.121 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.841e-05/3.848e-05, allocations: 4 kB / 0.5732 GB, free: 5.625 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.231, allocations: 107.1 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8776/1.109, allocations: 132.6 MB / 0.8073 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/1.109, allocations: 72.77 kB / 0.8073 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005731/1.115, allocations: 1.389 MB / 0.8087 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/1.115, allocations: 0 / 0.8087 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.486e-06/1.115, allocations: 3.875 kB / 0.8087 GB, free: 11.67 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003549/1.115, allocations: 343 kB / 0.809 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/1.115, allocations: 11.5 kB / 0.809 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/1.115, allocations: 30.56 kB / 0.8091 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/1.115, allocations: 3.875 kB / 0.8091 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/1.116, allocations: 173.5 kB / 0.8092 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/1.116, allocations: 4 kB / 0.8092 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/1.116, allocations: 6.594 kB / 0.8093 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/1.116, allocations: 35.62 kB / 0.8093 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.116, allocations: 3.984 kB / 0.8093 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/1.116, allocations: 0 / 0.8093 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.116, allocations: 0 / 0.8093 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.686e-05/1.116, allocations: 13.27 kB / 0.8093 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/1.116, allocations: 258.8 kB / 0.8096 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.782e-05/1.116, allocations: 33.89 kB / 0.8096 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/1.116, allocations: 8.703 kB / 0.8096 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009318/1.117, allocations: 471 kB / 0.81 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/1.117, allocations: 34.5 kB / 0.8101 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.596e-06/1.117, allocations: 0 / 0.8101 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002153/1.118, allocations: 43.45 kB / 0.8101 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/1.118, allocations: 51.41 kB / 0.8102 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.213e-05/1.118, allocations: 103 kB / 0.8103 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/1.118, allocations: 29.73 kB / 0.8103 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/1.118, allocations: 94.92 kB / 0.8104 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/1.118, allocations: 7.688 kB / 0.8104 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-06/1.118, allocations: 0 / 0.8104 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.47e-05/1.118, allocations: 317.7 kB / 0.8107 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.943e-05/1.118, allocations: 11.72 kB / 0.8107 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.333e-05/1.118, allocations: 3.938 kB / 0.8107 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.364e-05/1.118, allocations: 3.875 kB / 0.8107 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.118, allocations: 4.062 kB / 0.8107 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000104/1.118, allocations: 50.72 kB / 0.8108 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.118, allocations: 3.719 kB / 0.8108 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.118, allocations: 0 / 0.8108 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/1.118, allocations: 3.812 kB / 0.8108 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/1.118, allocations: 6.406 kB / 0.8108 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/1.118, allocations: 0 / 0.8108 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.497e-05/1.118, allocations: 3.688 kB / 0.8108 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/1.118, allocations: 3.094 kB / 0.8108 GB, free: 9.535 MB / 0.6355 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 (2): * Single equations (assignments): 2 * 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 5.746e-05/1.119, allocations: 109 kB / 0.8109 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/1.119, allocations: 3.844 kB / 0.8109 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/1.119, allocations: 53.81 kB / 0.8109 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/1.119, allocations: 0 / 0.8109 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.119, allocations: 3.188 kB / 0.8109 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.119, allocations: 0 / 0.8109 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/1.119, allocations: 163.1 kB / 0.8111 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/1.119, allocations: 0.8125 kB / 0.8111 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.509e-05/1.119, allocations: 14.81 kB / 0.8111 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/1.119, allocations: 0 / 0.8111 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/1.119, allocations: 0 / 0.8111 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/1.119, allocations: 2.906 kB / 0.8111 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.119, allocations: 4 kB / 0.8111 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/1.119, allocations: 142.1 kB / 0.8113 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/1.12, allocations: 84.86 kB / 0.8113 GB, free: 24.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/1.12, allocations: 0 / 0.8113 GB, free: 24.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.392e-05/1.12, allocations: 7.844 kB / 0.8113 GB, free: 24.94 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/1.12, allocations: 6.5 kB / 0.8114 GB, free: 24.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/1.12, allocations: 3.938 kB / 0.8114 GB, free: 24.94 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.089e-05/1.12, allocations: 83 kB / 0.8114 GB, free: 24.86 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.12, allocations: 3.938 kB / 0.8114 GB, free: 24.86 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003489/1.12, allocations: 29.69 kB / 0.8115 GB, free: 24.85 MB / 0.6511 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 (2): * Single equations (assignments): 2 * 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.0005805/1.121, allocations: 0.6955 MB / 0.8121 GB, free: 24.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000109/1.121, allocations: 15.12 kB / 0.8122 GB, free: 24.18 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.121, allocations: 0 / 0.8122 GB, free: 24.18 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.532e-05/1.121, allocations: 14.31 kB / 0.8122 GB, free: 24.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/1.121, allocations: 3.938 kB / 0.8122 GB, free: 24.17 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/1.122, allocations: 103.3 kB / 0.8123 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/1.122, allocations: 0.6862 MB / 0.8129 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.858e-05/1.122, allocations: 0 / 0.8129 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/1.122, allocations: 11.34 kB / 0.813 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of SimCode: time 9.41e-07/1.122, allocations: 0 / 0.813 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/1.144, allocations: 1.335 MB / 0.8143 GB, free: 23.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/1.144, allocations: 152.3 kB / 0.8144 GB, free: 22.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/3.526, allocations: 0 / 0.8144 GB, free: 22.9 MB / 0.6511 GB