Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.691/4.691, allocations: 404.1 MB / 411.3 MB, free: 384 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.118e-05/3.117e-05, allocations: 4 kB / 0.4945 GB, free: 1.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6965/0.6966, allocations: 92.69 MB / 0.585 GB, free: 2.316 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3037/1, allocations: 120.2 MB / 0.7024 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/1.001, allocations: 79.95 kB / 0.7025 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.007432/1.008, allocations: 1.342 MB / 0.7038 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.274e-06/1.008, allocations: 0 / 0.7038 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.584e-06/1.008, allocations: 0 / 0.7038 GB, free: 8.574 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005242/1.009, allocations: 354.4 kB / 0.7041 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/1.009, allocations: 8.031 kB / 0.7041 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/1.009, allocations: 7.859 kB / 0.7041 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/1.009, allocations: 167.1 kB / 0.7043 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/1.009, allocations: 3.984 kB / 0.7043 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/1.009, allocations: 4 kB / 0.7043 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.263e-05/1.009, allocations: 12 kB / 0.7043 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/1.009, allocations: 37.69 kB / 0.7043 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.009, allocations: 0 / 0.7043 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/1.009, allocations: 0 / 0.7043 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/1.009, allocations: 7.953 kB / 0.7044 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/1.01, allocations: 229.5 kB / 0.7046 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.868e-05/1.01, allocations: 30.58 kB / 0.7046 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.722e-05/1.01, allocations: 8.922 kB / 0.7046 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/1.011, allocations: 473.4 kB / 0.7051 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/1.011, allocations: 30.56 kB / 0.7051 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.595e-06/1.011, allocations: 0 / 0.7051 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.007422/1.019, allocations: 0.5556 MB / 0.7056 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/1.019, allocations: 51.41 kB / 0.7057 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/1.019, allocations: 101 kB / 0.7058 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/1.019, allocations: 25.7 kB / 0.7058 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/1.019, allocations: 88.14 kB / 0.7059 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/1.019, allocations: 7.844 kB / 0.7059 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/1.019, allocations: 0 / 0.7059 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.019, allocations: 322.8 kB / 0.7062 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.924e-05/1.019, allocations: 4.031 kB / 0.7062 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.174e-05/1.019, allocations: 8 kB / 0.7062 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00717/1.027, allocations: 0.4996 MB / 0.7067 GB, free: 5.293 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-06/1.027, allocations: 4 kB / 0.7067 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00717/1.034, allocations: 0.5519 MB / 0.7072 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/1.034, allocations: 4 kB / 0.7072 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.034, allocations: 3.938 kB / 0.7073 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/1.034, allocations: 0 / 0.7073 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/1.034, allocations: 15.97 kB / 0.7073 GB, free: 4.707 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/1.034, allocations: 3.938 kB / 0.7073 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.221e-05/1.034, allocations: 11.94 kB / 0.7073 GB, free: 4.691 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/1.034, allocations: 0 / 0.7073 GB, free: 4.691 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 (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 9.349e-05/1.034, allocations: 101 kB / 0.7074 GB, free: 4.586 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007357/1.042, allocations: 0.544 MB / 0.7079 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/1.042, allocations: 4 kB / 0.7079 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007254/1.049, allocations: 0.5597 MB / 0.7085 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/1.049, allocations: 3.953 kB / 0.7085 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.049, allocations: 0 / 0.7085 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/1.049, allocations: 7.938 kB / 0.7085 GB, free: 3.449 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/1.05, allocations: 134.2 kB / 0.7086 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.05, allocations: 0 / 0.7086 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/1.05, allocations: 11.97 kB / 0.7086 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/1.05, allocations: 0 / 0.7086 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/1.05, allocations: 4 kB / 0.7086 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/1.05, allocations: 4.031 kB / 0.7086 GB, free: 3.262 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.05, allocations: 0 / 0.7086 GB, free: 3.262 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007214/1.057, allocations: 0.6435 MB / 0.7092 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/1.057, allocations: 85.02 kB / 0.7093 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/1.057, allocations: 0 / 0.7093 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/1.057, allocations: 4 kB / 0.7093 GB, free: 2.496 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/1.057, allocations: 3.984 kB / 0.7093 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/1.057, allocations: 0 / 0.7093 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.085e-05/1.057, allocations: 83.28 kB / 0.7094 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.81e-07/1.057, allocations: 4 kB / 0.7094 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004268/1.058, allocations: 23.89 kB / 0.7094 GB, free: 2.383 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 (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.007653/1.066, allocations: 1.2 MB / 0.7106 GB, free: 1.156 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001217/1.066, allocations: 12 kB / 0.7106 GB, free: 1.145 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.066, allocations: 4 kB / 0.7106 GB, free: 1.141 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.197e-05/1.066, allocations: 8 kB / 0.7106 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/1.066, allocations: 7.938 kB / 0.7106 GB, free: 1.125 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005388/1.067, allocations: 113.5 kB / 0.7108 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/1.067, allocations: 0.6847 MB / 0.7114 GB, free: 272 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.434e-05/1.067, allocations: 0 / 0.7114 GB, free: 272 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.262e-05/1.067, allocations: 15.42 kB / 0.7114 GB, free: 256 kB / 0.5886 GB Notification: Performance of SimCode: time 9.62e-07/1.067, allocations: 4 kB / 0.7114 GB, free: 252 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03868/1.106, allocations: 1.042 MB / 0.7125 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003479/1.106, allocations: 138 kB / 0.7126 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.808/3.914, allocations: 0 / 0.7126 GB, free: 15.02 MB / 0.6042 GB