Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadModel(BuildingSystems): time 3.158/3.158, allocations: 343.8 MB / 355.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.949e-05/3.962e-05, allocations: 8 kB / 436.6 MB, free: 2.461 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.141, allocations: 77.73 MB / 0.5023 GB, free: 4.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5466/0.6877, allocations: 106.3 MB / 0.6061 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.688, allocations: 74.38 kB / 0.6062 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005718/0.6937, allocations: 1.378 MB / 0.6075 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.731e-06/0.6938, allocations: 0 / 0.6075 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.86e-06/0.6938, allocations: 0 / 0.6075 GB, free: 13.32 MB / 0.4948 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.0004278/0.6942, allocations: 354.4 kB / 0.6078 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.6943, allocations: 8.031 kB / 0.6079 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.6943, allocations: 3.906 kB / 0.6079 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.6945, allocations: 175 kB / 0.608 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.6945, allocations: 0 / 0.608 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.6945, allocations: 7.984 kB / 0.608 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.6946, allocations: 33.7 kB / 0.6081 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.183e-06/0.6947, allocations: 0 / 0.6081 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.545e-06/0.6947, allocations: 0 / 0.6081 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-06/0.6947, allocations: 4 kB / 0.6081 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.195e-05/0.6948, allocations: 19.92 kB / 0.6081 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.6952, allocations: 254.1 kB / 0.6083 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.255e-05/0.6953, allocations: 22.58 kB / 0.6084 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.725e-05/0.6953, allocations: 15.64 kB / 0.6084 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000831/0.6962, allocations: 473.5 kB / 0.6088 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.6962, allocations: 30.56 kB / 0.6088 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 2.492e-06/0.6962, allocations: 4 kB / 0.6089 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.00019/0.6964, allocations: 41.64 kB / 0.6089 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.6965, allocations: 63.34 kB / 0.609 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.6966, allocations: 101 kB / 0.6091 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.6966, allocations: 25.7 kB / 0.6091 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.6967, allocations: 88.05 kB / 0.6092 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.6967, allocations: 7.938 kB / 0.6092 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-06/0.6968, allocations: 0 / 0.6092 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.6969, allocations: 318.9 kB / 0.6095 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.113e-05/0.697, allocations: 8 kB / 0.6095 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.102e-05/0.697, allocations: 4 kB / 0.6095 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.337e-05/0.6971, allocations: 11.94 kB / 0.6095 GB, free: 11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.6971, allocations: 0 / 0.6095 GB, free: 11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001234/0.6972, allocations: 49.59 kB / 0.6095 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.6972, allocations: 7.938 kB / 0.6095 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.897e-06/0.6972, allocations: 0 / 0.6095 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.6973, allocations: 0 / 0.6095 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.893e-05/0.6974, allocations: 8.094 kB / 0.6096 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.6974, allocations: 4 kB / 0.6096 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.149e-05/0.6975, allocations: 7.938 kB / 0.6096 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.418e-06/0.6975, allocations: 0 / 0.6096 GB, free: 10.92 MB / 0.4948 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.427e-05/0.6976, allocations: 105 kB / 0.6097 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.6976, allocations: 4.812 kB / 0.6097 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.6978, allocations: 53.34 kB / 0.6097 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.724e-06/0.6978, allocations: 4.031 kB / 0.6097 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.154e-06/0.6978, allocations: 0 / 0.6097 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.321e-06/0.6978, allocations: 0 / 0.6097 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.6981, allocations: 169.5 kB / 0.6099 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-06/0.6981, allocations: 0 / 0.6099 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.869e-05/0.6982, allocations: 8 kB / 0.6099 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.5e-06/0.6982, allocations: 3.938 kB / 0.6099 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.308e-06/0.6982, allocations: 4 kB / 0.6099 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.823e-06/0.6982, allocations: 3.984 kB / 0.6099 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.6982, allocations: 0 / 0.6099 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.6984, allocations: 143.5 kB / 0.61 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.6985, allocations: 81.09 kB / 0.6101 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.6985, allocations: 4 kB / 0.6101 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.93e-05/0.6986, allocations: 0 / 0.6101 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.6987, allocations: 0 / 0.6101 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.335e-06/0.6987, allocations: 4 kB / 0.6101 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.492e-05/0.6987, allocations: 87.27 kB / 0.6102 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.9e-07/0.6988, allocations: 4.031 kB / 0.6102 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003405/0.6991, allocations: 23.94 kB / 0.6102 GB, free: 10.13 MB / 0.4948 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.0002051/0.6993, allocations: 123 kB / 0.6104 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.6994, allocations: 15.94 kB / 0.6104 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.659e-06/0.6995, allocations: 0 / 0.6104 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.623e-05/0.6995, allocations: 12 kB / 0.6104 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.6997, allocations: 3.953 kB / 0.6104 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.6999, allocations: 75.8 kB / 0.6105 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.7003, allocations: 0.6809 MB / 0.6111 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.354e-05/0.7004, allocations: 7.922 kB / 0.6111 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.7004, allocations: 11.42 kB / 0.6111 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of SimCode: time 1.349e-06/0.7004, allocations: 0 / 0.6111 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of Templates: time 0.003265/0.7037, allocations: 0.6048 MB / 0.6117 GB, free: 8.559 MB / 0.4948 GB