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.601/3.601, allocations: 402 MB / 415.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.605e-05/2.619e-05, allocations: 4 kB / 0.5003 GB, free: 8.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1924, allocations: 92.69 MB / 0.5908 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.732/0.9244, allocations: 120.8 MB / 0.7089 GB, free: 5.641 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.9247, allocations: 75.95 kB / 0.7089 GB, free: 5.566 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.005653/0.9304, allocations: 1.362 MB / 0.7103 GB, free: 4.207 MB / 0.573 GB Notification: Performance of FrontEnd: time 5.257e-06/0.9304, allocations: 4 kB / 0.7103 GB, free: 4.203 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.571e-06/0.9304, allocations: 0 / 0.7103 GB, free: 4.203 MB / 0.573 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.0003988/0.9308, allocations: 344.4 kB / 0.7106 GB, free: 3.82 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.9309, allocations: 8.031 kB / 0.7106 GB, free: 3.812 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.9309, allocations: 16.72 kB / 0.7106 GB, free: 3.797 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.9311, allocations: 167.1 kB / 0.7108 GB, free: 3.594 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.9311, allocations: 3.938 kB / 0.7108 GB, free: 3.59 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.9312, allocations: 0 / 0.7108 GB, free: 3.59 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.9313, allocations: 45.67 kB / 0.7108 GB, free: 3.539 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.9313, allocations: 4 kB / 0.7108 GB, free: 3.535 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.761e-06/0.9314, allocations: 4 kB / 0.7108 GB, free: 3.531 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.608e-06/0.9314, allocations: 0 / 0.7108 GB, free: 3.531 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.9315, allocations: 30.12 kB / 0.7109 GB, free: 3.504 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.9319, allocations: 245 kB / 0.7111 GB, free: 3.215 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.9321, allocations: 42.5 kB / 0.7111 GB, free: 3.164 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008335/0.9329, allocations: 465.5 kB / 0.7116 GB, free: 2.617 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.933, allocations: 42.56 kB / 0.7116 GB, free: 2.566 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 2.18e-06/0.933, allocations: 0 / 0.7116 GB, free: 2.566 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.00034/0.9333, allocations: 65.62 kB / 0.7117 GB, free: 2.496 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.9334, allocations: 59.41 kB / 0.7117 GB, free: 2.426 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.9335, allocations: 109 kB / 0.7118 GB, free: 2.312 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.9335, allocations: 29.7 kB / 0.7119 GB, free: 2.277 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.9336, allocations: 84.05 kB / 0.712 GB, free: 2.191 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.9337, allocations: 11.92 kB / 0.712 GB, free: 2.18 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-06/0.9337, allocations: 0 / 0.712 GB, free: 2.18 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.9338, allocations: 318.8 kB / 0.7123 GB, free: 1.859 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-05/0.9339, allocations: 8 kB / 0.7123 GB, free: 1.852 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.09e-05/0.934, allocations: 19.98 kB / 0.7123 GB, free: 1.832 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.328e-05/0.9341, allocations: 12 kB / 0.7123 GB, free: 1.82 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.9341, allocations: 0 / 0.7123 GB, free: 1.82 MB / 0.573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001822/0.9343, allocations: 57.59 kB / 0.7124 GB, free: 1.758 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.9343, allocations: 7.125 kB / 0.7124 GB, free: 1.754 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.646e-06/0.9343, allocations: 3.938 kB / 0.7124 GB, free: 1.75 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.9343, allocations: 0 / 0.7124 GB, free: 1.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.948e-05/0.9344, allocations: 16.08 kB / 0.7124 GB, free: 1.734 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.411e-06/0.9344, allocations: 3.953 kB / 0.7124 GB, free: 1.73 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.9345, allocations: 0 / 0.7124 GB, free: 1.73 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.977e-06/0.9345, allocations: 7.938 kB / 0.7124 GB, free: 1.723 MB / 0.573 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.317e-05/0.9346, allocations: 105.8 kB / 0.7125 GB, free: 1.609 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.9347, allocations: 7.984 kB / 0.7125 GB, free: 1.602 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.9349, allocations: 65.22 kB / 0.7126 GB, free: 1.535 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.028e-06/0.9349, allocations: 3.984 kB / 0.7126 GB, free: 1.531 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.984e-06/0.9349, allocations: 0 / 0.7126 GB, free: 1.531 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.444e-06/0.935, allocations: 3.953 kB / 0.7126 GB, free: 1.527 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.9352, allocations: 161.6 kB / 0.7127 GB, free: 1.32 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-06/0.9352, allocations: 0 / 0.7127 GB, free: 1.32 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.747e-05/0.9353, allocations: 7.984 kB / 0.7127 GB, free: 1.312 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.726e-06/0.9353, allocations: 0 / 0.7127 GB, free: 1.312 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.9353, allocations: 4 kB / 0.7127 GB, free: 1.309 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.199e-06/0.9353, allocations: 0 / 0.7127 GB, free: 1.309 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.766e-06/0.9353, allocations: 4.031 kB / 0.7127 GB, free: 1.305 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.9356, allocations: 159.4 kB / 0.7129 GB, free: 1.133 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.9357, allocations: 77.11 kB / 0.713 GB, free: 1.039 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.9357, allocations: 0 / 0.713 GB, free: 1.039 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.041e-05/0.9358, allocations: 4 kB / 0.713 GB, free: 1.035 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.9358, allocations: 4.031 kB / 0.713 GB, free: 1.031 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.9359, allocations: 8 kB / 0.713 GB, free: 1.023 MB / 0.573 GB Notification: Performance of sorting global known variables: time 6.351e-05/0.9359, allocations: 83.27 kB / 0.7131 GB, free: 0.9414 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.06e-07/0.9359, allocations: 0 / 0.7131 GB, free: 0.9414 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003444/0.9363, allocations: 23.94 kB / 0.7131 GB, free: 0.918 MB / 0.573 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.0002143/0.9365, allocations: 124 kB / 0.7132 GB, free: 0.7891 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001675/0.9367, allocations: 31.92 kB / 0.7132 GB, free: 0.7578 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.667e-06/0.9367, allocations: 7.938 kB / 0.7132 GB, free: 0.75 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 7.048e-05/0.9368, allocations: 11.98 kB / 0.7133 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.937, allocations: 11.89 kB / 0.7133 GB, free: 0.7266 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.9373, allocations: 137.2 kB / 0.7134 GB, free: 0.5625 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.9377, allocations: 0.6809 MB / 0.7141 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.889e-05/0.9378, allocations: 7.984 kB / 0.7141 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.9378, allocations: 11.44 kB / 0.7141 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of SimCode: time 1.357e-06/0.9378, allocations: 0 / 0.7141 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of Templates: time 0.003141/0.941, allocations: 0.594 MB / 0.7147 GB, free: 15.25 MB / 0.5886 GB