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.744/3.744, allocations: 402 MB / 415.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.914e-05/2.928e-05, allocations: 4 kB / 0.5003 GB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1684, allocations: 92.69 MB / 0.5908 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6378/0.8063, allocations: 120.2 MB / 0.7082 GB, free: 6.297 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.8066, allocations: 75.95 kB / 0.7083 GB, free: 6.223 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.003418/0.81, allocations: 0.9194 MB / 0.7092 GB, free: 5.305 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.447e-06/0.81, allocations: 0 / 0.7092 GB, free: 5.305 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.821e-06/0.8101, allocations: 0 / 0.7092 GB, free: 5.305 MB / 0.573 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.0004011/0.8105, allocations: 331.4 kB / 0.7095 GB, free: 4.934 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.8105, allocations: 8.031 kB / 0.7095 GB, free: 4.926 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.8106, allocations: 11.95 kB / 0.7095 GB, free: 4.914 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.8108, allocations: 175 kB / 0.7097 GB, free: 4.703 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.361e-06/0.8108, allocations: 0 / 0.7097 GB, free: 4.703 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.8108, allocations: 4 kB / 0.7097 GB, free: 4.699 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.811, allocations: 57.66 kB / 0.7097 GB, free: 4.637 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.44e-06/0.811, allocations: 4.812 kB / 0.7097 GB, free: 4.633 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.241e-06/0.811, allocations: 0 / 0.7097 GB, free: 4.633 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.999e-06/0.8111, allocations: 0 / 0.7097 GB, free: 4.633 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.8113, allocations: 47.91 kB / 0.7098 GB, free: 4.586 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.8118, allocations: 268.8 kB / 0.71 GB, free: 4.273 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.812, allocations: 46.56 kB / 0.7101 GB, free: 4.219 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000424/0.8124, allocations: 206.2 kB / 0.7103 GB, free: 3.98 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.8124, allocations: 34.56 kB / 0.7103 GB, free: 3.938 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 2.304e-06/0.8125, allocations: 1.094 kB / 0.7103 GB, free: 3.938 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.0004581/0.8129, allocations: 101.7 kB / 0.7104 GB, free: 3.832 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.813, allocations: 55.36 kB / 0.7104 GB, free: 3.766 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.142e-05/0.8131, allocations: 97.48 kB / 0.7105 GB, free: 3.664 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.8131, allocations: 25.7 kB / 0.7106 GB, free: 3.633 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.8132, allocations: 84.14 kB / 0.7106 GB, free: 3.547 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.8132, allocations: 3.906 kB / 0.7106 GB, free: 3.543 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-06/0.8132, allocations: 0 / 0.7106 GB, free: 3.543 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.8134, allocations: 318.9 kB / 0.711 GB, free: 3.223 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.8135, allocations: 22.17 kB / 0.711 GB, free: 3.203 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.8136, allocations: 27.97 kB / 0.711 GB, free: 3.176 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.8138, allocations: 20.05 kB / 0.711 GB, free: 3.156 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.941e-06/0.8138, allocations: 0 / 0.711 GB, free: 3.156 MB / 0.573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002714/0.8141, allocations: 81.59 kB / 0.7111 GB, free: 3.07 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.8141, allocations: 4 kB / 0.7111 GB, free: 3.066 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.317e-06/0.8141, allocations: 6.344 kB / 0.7111 GB, free: 3.062 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.8141, allocations: 0 / 0.7111 GB, free: 3.062 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.8142, allocations: 11.98 kB / 0.7111 GB, free: 3.051 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.333e-06/0.8143, allocations: 0 / 0.7111 GB, free: 3.051 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.124e-05/0.8143, allocations: 11.95 kB / 0.7111 GB, free: 3.039 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.8144, allocations: 4 kB / 0.7111 GB, free: 3.035 MB / 0.573 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 0.0001035/0.8145, allocations: 106.8 kB / 0.7112 GB, free: 2.922 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.8145, allocations: 11.91 kB / 0.7112 GB, free: 2.91 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.8149, allocations: 88.7 kB / 0.7113 GB, free: 2.82 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.245e-06/0.8149, allocations: 0 / 0.7113 GB, free: 2.82 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.86e-06/0.8149, allocations: 0 / 0.7113 GB, free: 2.82 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.8149, allocations: 4.031 kB / 0.7113 GB, free: 2.816 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.8151, allocations: 157.6 kB / 0.7115 GB, free: 2.613 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.041e-06/0.8152, allocations: 0 / 0.7115 GB, free: 2.613 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.8153, allocations: 19.92 kB / 0.7115 GB, free: 2.594 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.235e-06/0.8153, allocations: 0 / 0.7115 GB, free: 2.594 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.947e-06/0.8153, allocations: 0 / 0.7115 GB, free: 2.594 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.8153, allocations: 0 / 0.7115 GB, free: 2.594 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.8153, allocations: 0 / 0.7115 GB, free: 2.594 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.8157, allocations: 183.4 kB / 0.7117 GB, free: 2.398 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.8158, allocations: 77.98 kB / 0.7118 GB, free: 2.305 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.8158, allocations: 3.984 kB / 0.7118 GB, free: 2.301 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.8159, allocations: 12.03 kB / 0.7118 GB, free: 2.289 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.816, allocations: 3.984 kB / 0.7118 GB, free: 2.285 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.927e-06/0.816, allocations: 3.938 kB / 0.7118 GB, free: 2.281 MB / 0.573 GB Notification: Performance of sorting global known variables: time 6.376e-05/0.816, allocations: 87.53 kB / 0.7119 GB, free: 2.195 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.04e-07/0.8161, allocations: 0 / 0.7119 GB, free: 2.195 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003192/0.8164, allocations: 15.94 kB / 0.7119 GB, free: 2.18 MB / 0.573 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.0001822/0.8166, allocations: 103 kB / 0.712 GB, free: 2.07 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002515/0.8168, allocations: 51.95 kB / 0.712 GB, free: 2.02 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.8169, allocations: 0 / 0.712 GB, free: 2.02 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.817, allocations: 23.98 kB / 0.712 GB, free: 1.996 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.8172, allocations: 14.14 kB / 0.7121 GB, free: 1.984 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.8175, allocations: 113.1 kB / 0.7122 GB, free: 1.848 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.8179, allocations: 0.677 MB / 0.7128 GB, free: 1.145 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.889e-05/0.818, allocations: 0 / 0.7128 GB, free: 1.145 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.818, allocations: 11.44 kB / 0.7128 GB, free: 1.133 MB / 0.573 GB Notification: Performance of SimCode: time 5.665e-06/0.818, allocations: 0 / 0.7128 GB, free: 1.133 MB / 0.573 GB Notification: Performance of Templates: time 0.003033/0.821, allocations: 0.5306 MB / 0.7134 GB, free: 0.6055 MB / 0.573 GB