Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadModel(Buildings): time 3.858/3.858, allocations: 403.9 MB / 411 MB, free: 408 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.109e-05/2.123e-05, allocations: 7.938 kB / 0.4941 GB, free: 1.406 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5653/0.5654, allocations: 92.69 MB / 0.5847 GB, free: 2.383 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2026/0.768, allocations: 119.5 MB / 0.7013 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.7683, allocations: 71.95 kB / 0.7014 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003197/0.7715, allocations: 0.9165 MB / 0.7023 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.377e-06/0.7715, allocations: 0 / 0.7023 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.7716, allocations: 0 / 0.7023 GB, free: 9.766 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.0004109/0.772, allocations: 330.5 kB / 0.7026 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.772, allocations: 16.03 kB / 0.7026 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.462e-05/0.7721, allocations: 3.953 kB / 0.7026 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.7722, allocations: 171 kB / 0.7028 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.7722, allocations: 0 / 0.7028 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.7723, allocations: 0 / 0.7028 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.109e-05/0.7723, allocations: 12 kB / 0.7028 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.675e-05/0.7724, allocations: 33.7 kB / 0.7028 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.7725, allocations: 0 / 0.7028 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.7725, allocations: 0 / 0.7028 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.717e-06/0.7725, allocations: 7.891 kB / 0.7029 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.7729, allocations: 253.4 kB / 0.7031 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.128e-05/0.773, allocations: 26.58 kB / 0.7031 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.773, allocations: 4.859 kB / 0.7031 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003975/0.7734, allocations: 214.2 kB / 0.7033 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.7735, allocations: 30.56 kB / 0.7034 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.858e-06/0.7735, allocations: 0 / 0.7034 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002628/0.7738, allocations: 53.62 kB / 0.7034 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.7738, allocations: 59.39 kB / 0.7035 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.784e-05/0.7739, allocations: 92.98 kB / 0.7036 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.7739, allocations: 25.7 kB / 0.7036 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.774, allocations: 88.08 kB / 0.7037 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.774, allocations: 7.906 kB / 0.7037 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-06/0.774, allocations: 0 / 0.7037 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.7742, allocations: 314.8 kB / 0.704 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/0.7742, allocations: 4 kB / 0.704 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.826e-05/0.7742, allocations: 4 kB / 0.704 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.7743, allocations: 20.03 kB / 0.704 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.173e-06/0.7744, allocations: 4 kB / 0.704 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001708/0.7745, allocations: 45.69 kB / 0.704 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.7746, allocations: 8 kB / 0.7041 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.365e-06/0.7746, allocations: 0 / 0.7041 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.7746, allocations: 0 / 0.7041 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.7747, allocations: 11.98 kB / 0.7041 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.514e-06/0.7747, allocations: 3.938 kB / 0.7041 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.952e-05/0.7748, allocations: 20.22 kB / 0.7041 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.986e-06/0.7748, allocations: 4 kB / 0.7041 GB, free: 7.699 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.485e-05/0.7749, allocations: 101 kB / 0.7042 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.775, allocations: 3.906 kB / 0.7042 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.7752, allocations: 61.42 kB / 0.7043 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.163e-06/0.7752, allocations: 0 / 0.7043 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.809e-06/0.7752, allocations: 0 / 0.7043 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.013e-06/0.7752, allocations: 4.031 kB / 0.7043 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.7754, allocations: 138.2 kB / 0.7044 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-06/0.7754, allocations: 0 / 0.7044 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.6e-05/0.7755, allocations: 15.98 kB / 0.7044 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.7755, allocations: 3.938 kB / 0.7044 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.295e-06/0.7756, allocations: 0 / 0.7044 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.787e-06/0.7756, allocations: 0 / 0.7044 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.681e-06/0.7756, allocations: 0 / 0.7044 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.7758, allocations: 155.4 kB / 0.7046 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.7759, allocations: 77.11 kB / 0.7046 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.7759, allocations: 0 / 0.7046 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.776, allocations: 11.98 kB / 0.7046 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.7761, allocations: 0 / 0.7046 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.575e-06/0.7761, allocations: 4 kB / 0.7046 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.878e-05/0.7762, allocations: 79.28 kB / 0.7047 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.46e-07/0.7762, allocations: 4.031 kB / 0.7047 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003113/0.7765, allocations: 19.92 kB / 0.7047 GB, free: 6.949 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.0001617/0.7767, allocations: 107 kB / 0.7048 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.109e-05/0.7768, allocations: 12 kB / 0.7049 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.349e-06/0.7768, allocations: 3.938 kB / 0.7049 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.173e-05/0.7768, allocations: 8 kB / 0.7049 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.777, allocations: 11.89 kB / 0.7049 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002091/0.7773, allocations: 60.12 kB / 0.7049 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.7776, allocations: 0.6807 MB / 0.7056 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.749e-05/0.7776, allocations: 0 / 0.7056 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.7777, allocations: 7.438 kB / 0.7056 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of SimCode: time 9.47e-07/0.7777, allocations: 0 / 0.7056 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of Templates: time 0.002795/0.7805, allocations: 0.4943 MB / 0.7061 GB, free: 5.516 MB / 0.5886 GB