Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadModel(Buildings): time 4.099/4.099, allocations: 460.4 MB / 472.6 MB, free: 5.395 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.03e-05/3.039e-05, allocations: 4 kB / 0.5681 GB, free: 10.19 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2009, allocations: 106.2 MB / 0.6718 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7629/0.9639, allocations: 131.8 MB / 0.8006 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.9641, allocations: 73 kB / 0.8006 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003491/0.9676, allocations: 1.019 MB / 0.8016 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.042e-06/0.9677, allocations: 0 / 0.8016 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.837e-06/0.9677, allocations: 0 / 0.8016 GB, free: 12.79 MB / 0.6355 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.0002873/0.968, allocations: 346.7 kB / 0.802 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.968, allocations: 7.688 kB / 0.802 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.9681, allocations: 0 / 0.802 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.993e-05/0.9682, allocations: 170.8 kB / 0.8021 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.9682, allocations: 0 / 0.8021 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.9682, allocations: 0 / 0.8021 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.396e-05/0.9683, allocations: 39.88 kB / 0.8022 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.964e-06/0.9683, allocations: 0 / 0.8022 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.94e-06/0.9684, allocations: 0 / 0.8022 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.132e-06/0.9684, allocations: 7.938 kB / 0.8022 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.018e-05/0.9684, allocations: 12.86 kB / 0.8022 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.9688, allocations: 267.2 kB / 0.8025 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.281e-05/0.9689, allocations: 25.42 kB / 0.8025 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.9689, allocations: 15.47 kB / 0.8025 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.969, allocations: 82.77 kB / 0.8026 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.9691, allocations: 34.94 kB / 0.8026 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.155e-06/0.9691, allocations: 0 / 0.8026 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001491/0.9692, allocations: 46.11 kB / 0.8027 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.9693, allocations: 59.17 kB / 0.8027 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.732e-05/0.9693, allocations: 98.34 kB / 0.8028 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.852e-06/0.9694, allocations: 25.7 kB / 0.8028 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.9694, allocations: 84.17 kB / 0.8029 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.9694, allocations: 10.97 kB / 0.8029 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-06/0.9694, allocations: 0 / 0.8029 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.798e-05/0.9695, allocations: 312 kB / 0.8032 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.427e-05/0.9695, allocations: 6.469 kB / 0.8032 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.032e-05/0.9696, allocations: 5.797 kB / 0.8032 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.457e-05/0.9696, allocations: 7.344 kB / 0.8032 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.075e-06/0.9696, allocations: 0 / 0.8032 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001032/0.9697, allocations: 46.55 kB / 0.8033 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.9698, allocations: 7.688 kB / 0.8033 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.567e-06/0.9698, allocations: 0 / 0.8033 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.9698, allocations: 0 / 0.8033 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.9699, allocations: 10.72 kB / 0.8033 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.9699, allocations: 1.406 kB / 0.8033 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.525e-05/0.97, allocations: 17.06 kB / 0.8033 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-06/0.97, allocations: 4.031 kB / 0.8033 GB, free: 11.09 MB / 0.6355 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 4.504e-05/0.9701, allocations: 108.6 kB / 0.8034 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.9701, allocations: 3.969 kB / 0.8034 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.9703, allocations: 52.97 kB / 0.8035 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.481e-06/0.9703, allocations: 0 / 0.8035 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.782e-06/0.9703, allocations: 3.812 kB / 0.8035 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.781e-06/0.9703, allocations: 0 / 0.8035 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.9704, allocations: 159.4 kB / 0.8036 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-06/0.9705, allocations: 0 / 0.8036 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.33e-05/0.9706, allocations: 18.94 kB / 0.8036 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.149e-06/0.9706, allocations: 0 / 0.8036 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.934e-06/0.9706, allocations: 11.86 kB / 0.8037 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.9706, allocations: 0 / 0.8037 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.466e-06/0.9706, allocations: 1.641 kB / 0.8037 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.9707, allocations: 143.2 kB / 0.8038 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.9708, allocations: 81.14 kB / 0.8039 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.9708, allocations: 1.312 kB / 0.8039 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.9709, allocations: 14.06 kB / 0.8039 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.971, allocations: 0 / 0.8039 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.422e-06/0.971, allocations: 1.5 kB / 0.8039 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.877e-05/0.971, allocations: 79.25 kB / 0.804 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.84e-07/0.971, allocations: 3.906 kB / 0.804 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002957/0.9713, allocations: 11.34 kB / 0.804 GB, free: 10.42 MB / 0.6355 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.00013/0.9715, allocations: 111.9 kB / 0.8041 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.067e-05/0.9716, allocations: 14.84 kB / 0.8041 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.9716, allocations: 3.938 kB / 0.8041 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.21e-05/0.9716, allocations: 7.219 kB / 0.8041 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.9719, allocations: 9.719 kB / 0.8041 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001837/0.9721, allocations: 67.69 kB / 0.8042 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.9725, allocations: 0.6818 MB / 0.8049 GB, free: 25.54 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.991e-05/0.9725, allocations: 0 / 0.8049 GB, free: 25.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.9726, allocations: 11.28 kB / 0.8049 GB, free: 25.54 MB / 0.6511 GB Notification: Performance of SimCode: time 1.383e-06/0.9726, allocations: 0 / 0.8049 GB, free: 25.54 MB / 0.6511 GB Notification: Performance of Templates: time 0.00276/0.9754, allocations: 483.6 kB / 0.8053 GB, free: 25.48 MB / 0.6511 GB