Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadModel(Buildings): time 3.685/3.685, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.711e-05/3.717e-05, allocations: 11.92 kB / 0.499 GB, free: 13.45 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5171/0.5172, allocations: 92.68 MB / 0.5896 GB, free: 14.53 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2746/0.7918, allocations: 120.8 MB / 0.7076 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.7921, allocations: 71.95 kB / 0.7076 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005516/0.7977, allocations: 1.346 MB / 0.7089 GB, free: 4.113 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.638e-06/0.7977, allocations: 0 / 0.7089 GB, free: 4.113 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.021e-06/0.7977, allocations: 3.938 kB / 0.7089 GB, free: 4.109 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.0003891/0.7981, allocations: 342.4 kB / 0.7093 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.7982, allocations: 8.031 kB / 0.7093 GB, free: 3.723 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.7982, allocations: 15.86 kB / 0.7093 GB, free: 3.707 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.7984, allocations: 167.1 kB / 0.7095 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.7984, allocations: 0 / 0.7095 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.7984, allocations: 4 kB / 0.7095 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.7985, allocations: 41.69 kB / 0.7095 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.292e-06/0.7986, allocations: 3.938 kB / 0.7095 GB, free: 3.449 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.898e-06/0.7986, allocations: 0 / 0.7095 GB, free: 3.449 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.119e-06/0.7986, allocations: 0 / 0.7095 GB, free: 3.449 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.156e-05/0.7987, allocations: 23.88 kB / 0.7095 GB, free: 3.426 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.7991, allocations: 249 kB / 0.7098 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.855e-05/0.7991, allocations: 22.58 kB / 0.7098 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.7992, allocations: 16.91 kB / 0.7098 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008289/0.8, allocations: 469.5 kB / 0.7102 GB, free: 2.531 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.8001, allocations: 30.56 kB / 0.7103 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.198e-06/0.8001, allocations: 0 / 0.7103 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001928/0.8003, allocations: 49.59 kB / 0.7103 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.8004, allocations: 55.39 kB / 0.7104 GB, free: 2.371 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.8005, allocations: 101 kB / 0.7105 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.8005, allocations: 25.7 kB / 0.7105 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.8006, allocations: 92.05 kB / 0.7106 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.8006, allocations: 3.938 kB / 0.7106 GB, free: 2.137 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-06/0.8006, allocations: 0 / 0.7106 GB, free: 2.137 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.8008, allocations: 318.8 kB / 0.7109 GB, free: 1.816 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.68e-05/0.8008, allocations: 4 kB / 0.7109 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.432e-05/0.8009, allocations: 8 kB / 0.7109 GB, free: 1.805 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.163e-05/0.8009, allocations: 8.062 kB / 0.7109 GB, free: 1.797 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.287e-06/0.8009, allocations: 3.938 kB / 0.7109 GB, free: 1.793 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001182/0.801, allocations: 49.59 kB / 0.711 GB, free: 1.738 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.8011, allocations: 4 kB / 0.711 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.484e-06/0.8011, allocations: 0 / 0.711 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.8011, allocations: 0 / 0.711 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.886e-05/0.8012, allocations: 11.94 kB / 0.711 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.8012, allocations: 3.953 kB / 0.711 GB, free: 1.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.8013, allocations: 4.016 kB / 0.711 GB, free: 1.715 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.8013, allocations: 8 kB / 0.711 GB, free: 1.707 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 8.09e-05/0.8014, allocations: 105 kB / 0.7111 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.8015, allocations: 0 / 0.7111 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.8016, allocations: 49.34 kB / 0.7111 GB, free: 1.543 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.344e-06/0.8016, allocations: 0 / 0.7111 GB, free: 1.543 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.297e-06/0.8017, allocations: 0 / 0.7111 GB, free: 1.543 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.41e-06/0.8017, allocations: 7.953 kB / 0.7112 GB, free: 1.535 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.8019, allocations: 173.5 kB / 0.7113 GB, free: 1.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.299e-06/0.8019, allocations: 4.031 kB / 0.7113 GB, free: 1.312 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.552e-05/0.802, allocations: 8 kB / 0.7113 GB, free: 1.305 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.299e-06/0.802, allocations: 0 / 0.7113 GB, free: 1.305 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.753e-06/0.802, allocations: 0 / 0.7113 GB, free: 1.305 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.802, allocations: 3.984 kB / 0.7113 GB, free: 1.301 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.8021, allocations: 3.938 kB / 0.7113 GB, free: 1.297 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.8022, allocations: 135.5 kB / 0.7115 GB, free: 1.148 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.8023, allocations: 85.12 kB / 0.7115 GB, free: 1.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.8023, allocations: 4 kB / 0.7115 GB, free: 1.043 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-05/0.8024, allocations: 0 / 0.7115 GB, free: 1.043 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.8025, allocations: 8 kB / 0.7116 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.724e-06/0.8025, allocations: 4 kB / 0.7116 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.695e-05/0.8026, allocations: 91.25 kB / 0.7116 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.16e-07/0.8026, allocations: 0 / 0.7116 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003309/0.8029, allocations: 23.94 kB / 0.7117 GB, free: 0.918 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.0002067/0.8031, allocations: 131 kB / 0.7118 GB, free: 0.7773 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.8033, allocations: 15.94 kB / 0.7118 GB, free: 0.7617 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.622e-06/0.8033, allocations: 0 / 0.7118 GB, free: 0.7617 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.451e-05/0.8033, allocations: 4 kB / 0.7118 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.8035, allocations: 8 kB / 0.7118 GB, free: 0.75 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.8037, allocations: 64.86 kB / 0.7119 GB, free: 0.6641 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.8041, allocations: 0.6809 MB / 0.7125 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.872e-05/0.8042, allocations: 8.125 kB / 0.7126 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.8042, allocations: 19.3 kB / 0.7126 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of SimCode: time 1.404e-06/0.8042, allocations: 0 / 0.7126 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of Templates: time 0.003012/0.8072, allocations: 0.5963 MB / 0.7132 GB, free: 15.34 MB / 0.6042 GB