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.494/3.494, allocations: 403.3 MB / 415.4 MB, free: 12.94 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.377e-05, allocations: 4 kB / 0.499 GB, free: 13.44 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4903/0.4903, allocations: 92.69 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2273/0.7176, allocations: 120.1 MB / 0.7069 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.7179, allocations: 71.95 kB / 0.7069 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.00338/0.7213, allocations: 0.9164 MB / 0.7078 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.73e-06/0.7214, allocations: 0 / 0.7078 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.357e-06/0.7214, allocations: 0 / 0.7078 GB, free: 5.191 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.0004032/0.7218, allocations: 334.5 kB / 0.7082 GB, free: 4.82 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.7218, allocations: 8.031 kB / 0.7082 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.7219, allocations: 3.953 kB / 0.7082 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.7221, allocations: 175 kB / 0.7083 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.7221, allocations: 0 / 0.7083 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.7221, allocations: 4 kB / 0.7083 GB, free: 4.594 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.7222, allocations: 33.7 kB / 0.7084 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.561e-06/0.7222, allocations: 3.938 kB / 0.7084 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.7223, allocations: 4 kB / 0.7084 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.7223, allocations: 11.92 kB / 0.7084 GB, free: 4.535 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.368e-05/0.7223, allocations: 8 kB / 0.7084 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.7228, allocations: 268.8 kB / 0.7087 GB, free: 4.215 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.138e-05/0.7229, allocations: 26.62 kB / 0.7087 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.578e-05/0.723, allocations: 16.89 kB / 0.7087 GB, free: 4.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004153/0.7234, allocations: 198.2 kB / 0.7089 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.7235, allocations: 42.5 kB / 0.7089 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.294e-06/0.7235, allocations: 0 / 0.7089 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001786/0.7237, allocations: 57.58 kB / 0.709 GB, free: 3.816 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.7237, allocations: 51.41 kB / 0.709 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.335e-05/0.7238, allocations: 89 kB / 0.7091 GB, free: 3.66 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.7238, allocations: 25.7 kB / 0.7091 GB, free: 3.629 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.7239, allocations: 88.14 kB / 0.7092 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.7239, allocations: 3.906 kB / 0.7092 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-06/0.724, allocations: 0 / 0.7092 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.7241, allocations: 318.8 kB / 0.7095 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.496e-05/0.7242, allocations: 8.031 kB / 0.7095 GB, free: 3.207 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.347e-05/0.7242, allocations: 4 kB / 0.7095 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.897e-05/0.7242, allocations: 8 kB / 0.7096 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.479e-06/0.7242, allocations: 0 / 0.7096 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000112/0.7244, allocations: 41.64 kB / 0.7096 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.7244, allocations: 8 kB / 0.7096 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.827e-06/0.7244, allocations: 0 / 0.7096 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.7244, allocations: 3.984 kB / 0.7096 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.7246, allocations: 12.09 kB / 0.7096 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.7246, allocations: 3.953 kB / 0.7096 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.889e-05/0.7247, allocations: 11.98 kB / 0.7096 GB, free: 3.109 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-06/0.7247, allocations: 0 / 0.7096 GB, free: 3.109 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.916e-05/0.7248, allocations: 101 kB / 0.7097 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.7248, allocations: 7.906 kB / 0.7097 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.725, allocations: 52.81 kB / 0.7098 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.865e-06/0.725, allocations: 0 / 0.7098 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.146e-06/0.725, allocations: 0 / 0.7098 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.725, allocations: 3.953 kB / 0.7098 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.7252, allocations: 161.7 kB / 0.7099 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.843e-06/0.7252, allocations: 7.875 kB / 0.7099 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.763e-05/0.7253, allocations: 11.98 kB / 0.71 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.7254, allocations: 0 / 0.71 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.763e-06/0.7254, allocations: 0 / 0.71 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.677e-06/0.7254, allocations: 0 / 0.71 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.955e-06/0.7254, allocations: 4.031 kB / 0.71 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.7256, allocations: 135.5 kB / 0.7101 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.7256, allocations: 85.09 kB / 0.7102 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.7257, allocations: 4 kB / 0.7102 GB, free: 2.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.7258, allocations: 4 kB / 0.7102 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.7258, allocations: 7.984 kB / 0.7102 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-06/0.7259, allocations: 4.031 kB / 0.7102 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.864e-05/0.7259, allocations: 83.53 kB / 0.7103 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.54e-07/0.7259, allocations: 0 / 0.7103 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003286/0.7263, allocations: 19.94 kB / 0.7103 GB, free: 2.332 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.0001739/0.7265, allocations: 113.2 kB / 0.7104 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.7266, allocations: 19.98 kB / 0.7104 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.422e-06/0.7266, allocations: 0 / 0.7104 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.224e-05/0.7266, allocations: 4.062 kB / 0.7104 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.7269, allocations: 11.95 kB / 0.7104 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002169/0.7271, allocations: 60.98 kB / 0.7105 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.7274, allocations: 0.677 MB / 0.7112 GB, free: 1.395 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.095e-05/0.7275, allocations: 4 kB / 0.7112 GB, free: 1.391 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.7275, allocations: 7.438 kB / 0.7112 GB, free: 1.383 MB / 0.5886 GB Notification: Performance of SimCode: time 1.46e-06/0.7275, allocations: 0 / 0.7112 GB, free: 1.383 MB / 0.5886 GB Notification: Performance of Templates: time 0.003025/0.7306, allocations: 0.5195 MB / 0.7117 GB, free: 0.8672 MB / 0.5886 GB