Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadModel(BuildingSystems): time 3.143/3.143, allocations: 343.8 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.081e-05/5.1e-05, allocations: 8 kB / 436.6 MB, free: 2.473 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1377, allocations: 77.74 MB / 0.5023 GB, free: 4.582 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4942/0.6319, allocations: 105.5 MB / 0.6053 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.6323, allocations: 83.94 kB / 0.6053 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002984/0.6353, allocations: 0.7941 MB / 0.6061 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.817e-06/0.6353, allocations: 0 / 0.6061 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.173e-06/0.6353, allocations: 0 / 0.6061 GB, free: 14.77 MB / 0.4948 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.0002955/0.6356, allocations: 310.7 kB / 0.6064 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.6357, allocations: 8.031 kB / 0.6064 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.6358, allocations: 0 / 0.6064 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.6359, allocations: 171 kB / 0.6066 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.6359, allocations: 0 / 0.6066 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.6359, allocations: 0 / 0.6066 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.806e-05/0.6361, allocations: 41.62 kB / 0.6066 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.6361, allocations: 0 / 0.6066 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.06e-06/0.6361, allocations: 0 / 0.6066 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.6361, allocations: 0 / 0.6066 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.289e-05/0.6362, allocations: 12 kB / 0.6066 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.6364, allocations: 150.2 kB / 0.6068 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.6366, allocations: 30.58 kB / 0.6068 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/0.6366, allocations: 12.86 kB / 0.6068 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.6368, allocations: 85.23 kB / 0.6069 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.6368, allocations: 34.56 kB / 0.6069 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 4.578e-06/0.6368, allocations: 0.6562 kB / 0.6069 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.002693/0.6395, allocations: 349.3 kB / 0.6073 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.6396, allocations: 63.39 kB / 0.6073 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.09e-05/0.6397, allocations: 85 kB / 0.6074 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.6397, allocations: 25.7 kB / 0.6074 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/0.6398, allocations: 80.14 kB / 0.6075 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.6399, allocations: 14.11 kB / 0.6075 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/0.6399, allocations: 0 / 0.6075 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.6401, allocations: 322.7 kB / 0.6078 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.095e-05/0.6401, allocations: 4 kB / 0.6078 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.518e-05/0.6402, allocations: 34.56 kB / 0.6079 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.747e-05/0.6403, allocations: 8 kB / 0.6079 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.927e-06/0.6403, allocations: 0 / 0.6079 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002353/0.6406, allocations: 61.62 kB / 0.6079 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.6406, allocations: 8.625 kB / 0.6079 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.6406, allocations: 0 / 0.6079 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.6406, allocations: 4.078 kB / 0.6079 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.6411, allocations: 52.84 kB / 0.608 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.923e-06/0.6411, allocations: 0 / 0.608 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003637/0.6415, allocations: 39.98 kB / 0.608 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.6416, allocations: 3.938 kB / 0.608 GB, free: 12.57 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001038/0.6417, allocations: 112.9 kB / 0.6081 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.6417, allocations: 0 / 0.6081 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003792/0.6421, allocations: 92.12 kB / 0.6082 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.593e-06/0.6421, allocations: 288 / 0.6082 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.643e-06/0.6421, allocations: 0 / 0.6082 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.6421, allocations: 0 / 0.6082 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/0.6427, allocations: 318.4 kB / 0.6085 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.6427, allocations: 7.922 kB / 0.6085 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004503/0.6432, allocations: 47.97 kB / 0.6086 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.159e-06/0.6432, allocations: 0 / 0.6086 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.6432, allocations: 8 kB / 0.6086 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.893e-06/0.6433, allocations: 0 / 0.6086 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.141e-06/0.6433, allocations: 0 / 0.6086 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.6435, allocations: 151.5 kB / 0.6087 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.6436, allocations: 81.09 kB / 0.6088 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.6437, allocations: 0 / 0.6088 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004225/0.6441, allocations: 39.98 kB / 0.6089 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.6441, allocations: 0.875 kB / 0.6089 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.6442, allocations: 11.98 kB / 0.6089 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.172e-05/0.6442, allocations: 75.28 kB / 0.6089 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.48e-07/0.6442, allocations: 0 / 0.6089 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003544/0.6446, allocations: 11.94 kB / 0.609 GB, free: 11.52 MB / 0.4948 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 (5): * Single equations (assignments): 5 * 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.0002094/0.6448, allocations: 123.2 kB / 0.6091 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.645, allocations: 23.98 kB / 0.6091 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.911e-06/0.645, allocations: 0 / 0.6091 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.711e-05/0.6451, allocations: 15.94 kB / 0.6091 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.6453, allocations: 14.2 kB / 0.6091 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006135/0.6459, allocations: 97.03 kB / 0.6092 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.6463, allocations: 0.6809 MB / 0.6099 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003141/0.6466, allocations: 27.98 kB / 0.6099 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.112e-05/0.6467, allocations: 11.44 kB / 0.6099 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of SimCode: time 3.75e-06/0.6467, allocations: 4 kB / 0.6099 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of Templates: time 0.003429/0.6502, allocations: 0.7963 MB / 0.6107 GB, free: 9.691 MB / 0.4948 GB