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.566/3.566, allocations: 403.3 MB / 415.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.246e-05/4.26e-05, allocations: 4 kB / 0.499 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5214/0.5215, allocations: 92.68 MB / 0.5895 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1932/0.7147, allocations: 120.1 MB / 0.7068 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.715, allocations: 67.97 kB / 0.7069 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003484/0.7185, allocations: 0.9242 MB / 0.7078 GB, free: 5.199 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7186, allocations: 0 / 0.7078 GB, free: 5.199 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.7186, allocations: 0 / 0.7078 GB, free: 5.199 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.0004203/0.719, allocations: 334.5 kB / 0.7081 GB, free: 4.828 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.7191, allocations: 8.031 kB / 0.7081 GB, free: 4.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.7191, allocations: 3.953 kB / 0.7081 GB, free: 4.816 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.7193, allocations: 171 kB / 0.7083 GB, free: 4.609 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.7193, allocations: 0 / 0.7083 GB, free: 4.609 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.7193, allocations: 0 / 0.7083 GB, free: 4.609 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.7194, allocations: 41.69 kB / 0.7083 GB, free: 4.562 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.768e-06/0.7195, allocations: 0 / 0.7083 GB, free: 4.562 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.909e-06/0.7195, allocations: 0 / 0.7083 GB, free: 4.562 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.221e-06/0.7195, allocations: 0 / 0.7083 GB, free: 4.562 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.924e-05/0.7196, allocations: 19.94 kB / 0.7084 GB, free: 4.543 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.7201, allocations: 272.8 kB / 0.7086 GB, free: 4.227 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.305e-05/0.7201, allocations: 26.56 kB / 0.7086 GB, free: 4.191 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.925e-05/0.7202, allocations: 12.92 kB / 0.7087 GB, free: 4.176 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004441/0.7207, allocations: 206.2 kB / 0.7089 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.7207, allocations: 30.56 kB / 0.7089 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.447e-06/0.7207, allocations: 3.938 kB / 0.7089 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001836/0.7209, allocations: 49.66 kB / 0.7089 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.721, allocations: 51.41 kB / 0.709 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.198e-05/0.7211, allocations: 101 kB / 0.7091 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.7211, allocations: 25.7 kB / 0.7091 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.7212, allocations: 84.14 kB / 0.7092 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.7212, allocations: 3.906 kB / 0.7092 GB, free: 3.551 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-06/0.7212, allocations: 4 kB / 0.7092 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.7214, allocations: 310.8 kB / 0.7095 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.742e-05/0.7214, allocations: 8.031 kB / 0.7095 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.571e-05/0.7214, allocations: 11.94 kB / 0.7095 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.831e-05/0.7215, allocations: 4 kB / 0.7095 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7215, allocations: 0 / 0.7095 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001184/0.7216, allocations: 45.62 kB / 0.7096 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.7217, allocations: 8 kB / 0.7096 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.363e-06/0.7217, allocations: 0 / 0.7096 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.7217, allocations: 0 / 0.7096 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.7218, allocations: 16.08 kB / 0.7096 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.2e-06/0.7218, allocations: 3.953 kB / 0.7096 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.57e-05/0.7219, allocations: 8 kB / 0.7096 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.272e-06/0.7219, allocations: 0 / 0.7096 GB, free: 3.125 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.353e-05/0.722, allocations: 109 kB / 0.7097 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.7221, allocations: 7.906 kB / 0.7097 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.7222, allocations: 48.75 kB / 0.7098 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.929e-06/0.7223, allocations: 4.031 kB / 0.7098 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.335e-06/0.7223, allocations: 0 / 0.7098 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.02e-06/0.7223, allocations: 3.953 kB / 0.7098 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.7225, allocations: 157.7 kB / 0.7099 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-06/0.7225, allocations: 0 / 0.7099 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.714e-05/0.7226, allocations: 11.98 kB / 0.7099 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.7226, allocations: 3.938 kB / 0.7099 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.642e-06/0.7226, allocations: 0 / 0.7099 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.7227, allocations: 0 / 0.7099 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.556e-06/0.7227, allocations: 0 / 0.7099 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.7228, allocations: 147.5 kB / 0.7101 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.7229, allocations: 81.11 kB / 0.7101 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.7229, allocations: 0 / 0.7101 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.7231, allocations: 7.984 kB / 0.7102 GB, free: 2.457 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.7231, allocations: 7.938 kB / 0.7102 GB, free: 2.449 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6e-06/0.7231, allocations: 0 / 0.7102 GB, free: 2.449 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.814e-05/0.7232, allocations: 87.56 kB / 0.7102 GB, free: 2.363 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.24e-07/0.7232, allocations: 0 / 0.7102 GB, free: 2.363 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003222/0.7235, allocations: 19.92 kB / 0.7103 GB, free: 2.344 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.0001757/0.7237, allocations: 103 kB / 0.7104 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.7238, allocations: 16 kB / 0.7104 GB, free: 2.219 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.537e-06/0.7238, allocations: 0 / 0.7104 GB, free: 2.219 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.714e-05/0.7239, allocations: 8 kB / 0.7104 GB, free: 2.211 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.7241, allocations: 8.078 kB / 0.7104 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002248/0.7244, allocations: 70.58 kB / 0.7105 GB, free: 2.113 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.7247, allocations: 0.6772 MB / 0.7111 GB, free: 1.41 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.7248, allocations: 4 kB / 0.7111 GB, free: 1.406 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.7248, allocations: 7.438 kB / 0.7111 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of SimCode: time 1.408e-06/0.7248, allocations: 0 / 0.7111 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of Templates: time 0.002974/0.7278, allocations: 0.5317 MB / 0.7116 GB, free: 0.8711 MB / 0.5886 GB