Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadModel(Buildings): time 4.008/4.008, allocations: 460.4 MB / 472.6 MB, free: 5.406 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.699e-05/3.704e-05, allocations: 4 kB / 0.5681 GB, free: 10.19 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2544, allocations: 106.2 MB / 0.6718 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7941/1.049, allocations: 132.2 MB / 0.8009 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/1.049, allocations: 70.72 kB / 0.801 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00503/1.054, allocations: 1.389 MB / 0.8023 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.551e-06/1.054, allocations: 0 / 0.8023 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.074e-06/1.054, allocations: 0 / 0.8023 GB, free: 12.65 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.0002698/1.054, allocations: 343.9 kB / 0.8026 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/1.054, allocations: 11.53 kB / 0.8027 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/1.054, allocations: 3.953 kB / 0.8027 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.764e-05/1.054, allocations: 171.7 kB / 0.8028 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/1.054, allocations: 7.938 kB / 0.8028 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/1.054, allocations: 8.766 kB / 0.8028 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.464e-05/1.055, allocations: 35.98 kB / 0.8029 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.603e-06/1.055, allocations: 3.938 kB / 0.8029 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/1.055, allocations: 3.875 kB / 0.8029 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.727e-06/1.055, allocations: 1.547 kB / 0.8029 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.373e-05/1.055, allocations: 7.688 kB / 0.8029 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/1.055, allocations: 255.4 kB / 0.8031 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.111e-05/1.055, allocations: 33.66 kB / 0.8032 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/1.055, allocations: 7.734 kB / 0.8032 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006372/1.056, allocations: 468.8 kB / 0.8036 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/1.056, allocations: 38.22 kB / 0.8037 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.944e-06/1.056, allocations: 3.938 kB / 0.8037 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000171/1.056, allocations: 39.7 kB / 0.8037 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/1.056, allocations: 59.23 kB / 0.8038 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.383e-05/1.056, allocations: 97.72 kB / 0.8038 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/1.056, allocations: 29.73 kB / 0.8039 GB, free: 11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/1.056, allocations: 85.56 kB / 0.804 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/1.056, allocations: 11.69 kB / 0.804 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-06/1.056, allocations: 0 / 0.804 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.976e-05/1.056, allocations: 315.4 kB / 0.8043 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/1.056, allocations: 3.844 kB / 0.8043 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.195e-05/1.056, allocations: 7.875 kB / 0.8043 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.791e-05/1.056, allocations: 3.844 kB / 0.8043 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/1.056, allocations: 4.062 kB / 0.8043 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001001/1.056, allocations: 53.62 kB / 0.8043 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/1.056, allocations: 3.844 kB / 0.8043 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.056, allocations: 4 kB / 0.8043 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/1.057, allocations: 0 / 0.8043 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.783e-05/1.057, allocations: 9.141 kB / 0.8044 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.758e-06/1.057, allocations: 1.359 kB / 0.8044 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/1.057, allocations: 7.797 kB / 0.8044 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.524e-06/1.057, allocations: 5.156 kB / 0.8044 GB, free: 10.54 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 4.379e-05/1.057, allocations: 108.1 kB / 0.8045 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/1.057, allocations: 6.969 kB / 0.8045 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/1.057, allocations: 50.94 kB / 0.8045 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.241e-06/1.057, allocations: 3.875 kB / 0.8045 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.169e-06/1.057, allocations: 0 / 0.8045 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.057, allocations: 1.266 kB / 0.8045 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/1.057, allocations: 161.3 kB / 0.8047 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.125e-06/1.057, allocations: 7.906 kB / 0.8047 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.426e-05/1.057, allocations: 9.328 kB / 0.8047 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/1.057, allocations: 5.156 kB / 0.8047 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.547e-06/1.057, allocations: 0 / 0.8047 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.262e-06/1.057, allocations: 0 / 0.8047 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.665e-06/1.057, allocations: 0 / 0.8047 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/1.057, allocations: 149.5 kB / 0.8048 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.164e-05/1.057, allocations: 78.61 kB / 0.8049 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/1.057, allocations: 0 / 0.8049 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.084e-05/1.058, allocations: 9.656 kB / 0.8049 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/1.058, allocations: 0 / 0.8049 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.728e-06/1.058, allocations: 1.5 kB / 0.8049 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.544e-05/1.058, allocations: 89.5 kB / 0.805 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.97e-07/1.058, allocations: 0 / 0.805 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003235/1.058, allocations: 29 kB / 0.805 GB, free: 9.871 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 (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.0001635/1.058, allocations: 117.4 kB / 0.8052 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.684e-05/1.058, allocations: 20.47 kB / 0.8052 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.387e-06/1.058, allocations: 0 / 0.8052 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.955e-05/1.058, allocations: 7.688 kB / 0.8052 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/1.059, allocations: 3.953 kB / 0.8052 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001983/1.059, allocations: 71.2 kB / 0.8053 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/1.059, allocations: 0.6821 MB / 0.8059 GB, free: 25 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.005e-05/1.059, allocations: 1.734 kB / 0.8059 GB, free: 25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/1.059, allocations: 11.56 kB / 0.8059 GB, free: 24.99 MB / 0.6511 GB Notification: Performance of SimCode: time 1.453e-06/1.059, allocations: 0 / 0.8059 GB, free: 24.99 MB / 0.6511 GB Notification: Performance of Templates: time 0.00287/1.062, allocations: 0.6097 MB / 0.8065 GB, free: 24.91 MB / 0.6511 GB