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.705/3.705, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.394e-05/3.404e-05, allocations: 4 kB / 0.499 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5577/0.5577, allocations: 92.68 MB / 0.5895 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2329/0.7907, allocations: 120.8 MB / 0.7075 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.7909, allocations: 71.95 kB / 0.7076 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005439/0.7964, allocations: 1.354 MB / 0.7089 GB, free: 4.102 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.8e-06/0.7964, allocations: 0 / 0.7089 GB, free: 4.102 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.7964, allocations: 0 / 0.7089 GB, free: 4.102 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.0003622/0.7968, allocations: 338.4 kB / 0.7092 GB, free: 3.727 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.7969, allocations: 12.03 kB / 0.7092 GB, free: 3.715 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.7969, allocations: 11.86 kB / 0.7093 GB, free: 3.703 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.7971, allocations: 175 kB / 0.7094 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.7971, allocations: 11.88 kB / 0.7094 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.7971, allocations: 0 / 0.7094 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.7972, allocations: 41.69 kB / 0.7095 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.163e-06/0.7972, allocations: 0 / 0.7095 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.181e-06/0.7973, allocations: 0 / 0.7095 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.321e-06/0.7973, allocations: 0 / 0.7095 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.712e-05/0.7973, allocations: 15.95 kB / 0.7095 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.7977, allocations: 252.9 kB / 0.7097 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.864e-05/0.7978, allocations: 26.58 kB / 0.7098 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.49e-05/0.7978, allocations: 12.92 kB / 0.7098 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008012/0.7987, allocations: 469.5 kB / 0.7102 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.7987, allocations: 30.56 kB / 0.7102 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.074e-06/0.7987, allocations: 0 / 0.7102 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001764/0.7989, allocations: 49.64 kB / 0.7103 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.7989, allocations: 55.34 kB / 0.7103 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.174e-05/0.7991, allocations: 105 kB / 0.7104 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.7991, allocations: 29.7 kB / 0.7105 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.7991, allocations: 84.05 kB / 0.7106 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.7992, allocations: 7.938 kB / 0.7106 GB, free: 2.121 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.378e-06/0.7992, allocations: 4 kB / 0.7106 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.7993, allocations: 310.8 kB / 0.7109 GB, free: 1.805 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.618e-05/0.7994, allocations: 4 kB / 0.7109 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.516e-05/0.7994, allocations: 8 kB / 0.7109 GB, free: 1.793 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.057e-05/0.7995, allocations: 12.05 kB / 0.7109 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.7995, allocations: 0 / 0.7109 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001121/0.7996, allocations: 45.61 kB / 0.7109 GB, free: 1.73 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.7996, allocations: 4 kB / 0.7109 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.025e-06/0.7996, allocations: 0 / 0.7109 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.7996, allocations: 0 / 0.7109 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.907e-05/0.7997, allocations: 15.92 kB / 0.7109 GB, free: 1.711 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.807e-06/0.7998, allocations: 3.953 kB / 0.711 GB, free: 1.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.7998, allocations: 8.031 kB / 0.711 GB, free: 1.699 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.7998, allocations: 4 kB / 0.711 GB, free: 1.695 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 7.707e-05/0.7999, allocations: 101 kB / 0.7111 GB, free: 1.59 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.8, allocations: 0 / 0.7111 GB, free: 1.59 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.8002, allocations: 57.33 kB / 0.7111 GB, free: 1.527 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.576e-06/0.8002, allocations: 3.938 kB / 0.7111 GB, free: 1.523 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.15e-06/0.8002, allocations: 0 / 0.7111 GB, free: 1.523 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.8002, allocations: 11.94 kB / 0.7111 GB, free: 1.512 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.8005, allocations: 161.6 kB / 0.7113 GB, free: 1.305 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-06/0.8005, allocations: 4.031 kB / 0.7113 GB, free: 1.301 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.636e-05/0.8005, allocations: 7.984 kB / 0.7113 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.078e-06/0.8006, allocations: 7.938 kB / 0.7113 GB, free: 1.285 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.305e-06/0.8006, allocations: 3.938 kB / 0.7113 GB, free: 1.281 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.046e-06/0.8006, allocations: 0 / 0.7113 GB, free: 1.281 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.515e-06/0.8006, allocations: 0 / 0.7113 GB, free: 1.281 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.8008, allocations: 139.5 kB / 0.7114 GB, free: 1.129 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.8008, allocations: 85.14 kB / 0.7115 GB, free: 1.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.8009, allocations: 4 kB / 0.7115 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/0.801, allocations: 0 / 0.7115 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.801, allocations: 7.984 kB / 0.7115 GB, free: 1.016 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.995e-06/0.801, allocations: 0 / 0.7115 GB, free: 1.016 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.122e-05/0.8011, allocations: 87.28 kB / 0.7116 GB, free: 0.9297 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.07e-07/0.8011, allocations: 0 / 0.7116 GB, free: 0.9297 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003246/0.8014, allocations: 19.94 kB / 0.7116 GB, free: 0.9102 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.0001975/0.8016, allocations: 135 kB / 0.7118 GB, free: 0.7656 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.426e-05/0.8018, allocations: 15.94 kB / 0.7118 GB, free: 0.75 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.403e-06/0.8018, allocations: 0 / 0.7118 GB, free: 0.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.633e-05/0.8018, allocations: 11.98 kB / 0.7118 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.802, allocations: 5.719 kB / 0.7118 GB, free: 0.7344 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002135/0.8022, allocations: 68.81 kB / 0.7119 GB, free: 0.6445 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.8026, allocations: 0.681 MB / 0.7125 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.122e-05/0.8026, allocations: 8 kB / 0.7125 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.8027, allocations: 7.438 kB / 0.7125 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of SimCode: time 1.325e-06/0.8027, allocations: 0 / 0.7125 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.002877/0.8055, allocations: 0.6091 MB / 0.7131 GB, free: 15.32 MB / 0.6042 GB