Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadModel(BuildingSystems): time 3.187/3.187, allocations: 343.8 MB / 355.9 MB, free: 9.367 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.902e-05/3.916e-05, allocations: 8 kB / 436.6 MB, free: 2.461 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1433, allocations: 77.72 MB / 0.5022 GB, free: 4.582 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5829/0.7263, allocations: 106 MB / 0.6058 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.7266, allocations: 67.97 kB / 0.6058 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.00396/0.7306, allocations: 1.023 MB / 0.6068 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.482e-06/0.7306, allocations: 0 / 0.6068 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.861e-06/0.7306, allocations: 0 / 0.6068 GB, free: 13.99 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.0004099/0.731, allocations: 338.5 kB / 0.6072 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.7311, allocations: 8.031 kB / 0.6072 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.7311, allocations: 0 / 0.6072 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.7313, allocations: 171 kB / 0.6073 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.7313, allocations: 7.984 kB / 0.6073 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.7313, allocations: 3.938 kB / 0.6073 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.7315, allocations: 37.7 kB / 0.6074 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.7315, allocations: 0.875 kB / 0.6074 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.7315, allocations: 0 / 0.6074 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.7315, allocations: 4 kB / 0.6074 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.067e-05/0.7316, allocations: 12.55 kB / 0.6074 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.7321, allocations: 268.8 kB / 0.6076 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.811e-05/0.7322, allocations: 22.58 kB / 0.6077 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/0.7322, allocations: 16.86 kB / 0.6077 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.7324, allocations: 89.09 kB / 0.6078 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.7325, allocations: 31.22 kB / 0.6078 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 2.363e-06/0.7325, allocations: 0 / 0.6078 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001812/0.7327, allocations: 41.7 kB / 0.6078 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.7327, allocations: 51.41 kB / 0.6079 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.771e-05/0.7328, allocations: 100.9 kB / 0.608 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.7329, allocations: 36.03 kB / 0.608 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/0.7329, allocations: 84.14 kB / 0.6081 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.733, allocations: 3.906 kB / 0.6081 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.013e-06/0.733, allocations: 0 / 0.6081 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.7332, allocations: 314.8 kB / 0.6084 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.7332, allocations: 4 kB / 0.6084 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.469e-05/0.7332, allocations: 8 kB / 0.6084 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.205e-05/0.7333, allocations: 11.92 kB / 0.6084 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.7333, allocations: 64 / 0.6084 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001143/0.7334, allocations: 45.7 kB / 0.6085 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.7334, allocations: 4 kB / 0.6085 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.008e-06/0.7335, allocations: 0 / 0.6085 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.7335, allocations: 3.984 kB / 0.6085 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.7336, allocations: 11.98 kB / 0.6085 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.548e-06/0.7336, allocations: 0 / 0.6085 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.511e-05/0.7337, allocations: 15.92 kB / 0.6085 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.7337, allocations: 11.97 kB / 0.6085 GB, free: 12.04 MB / 0.4948 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.979e-05/0.7338, allocations: 107 kB / 0.6086 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.7339, allocations: 7.906 kB / 0.6086 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.734, allocations: 52.75 kB / 0.6087 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.36e-06/0.7341, allocations: 0 / 0.6087 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.185e-06/0.7341, allocations: 3.938 kB / 0.6087 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.825e-06/0.7341, allocations: 4 kB / 0.6087 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.7343, allocations: 157.6 kB / 0.6088 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.432e-06/0.7343, allocations: 32 / 0.6088 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.598e-05/0.7344, allocations: 15.98 kB / 0.6089 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.525e-06/0.7344, allocations: 0 / 0.6089 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.112e-06/0.7345, allocations: 0 / 0.6089 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.7345, allocations: 0 / 0.6089 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.839e-06/0.7345, allocations: 0 / 0.6089 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.7347, allocations: 139.5 kB / 0.609 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.7347, allocations: 89.14 kB / 0.6091 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.7348, allocations: 0 / 0.6091 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.7349, allocations: 7.984 kB / 0.6091 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.7349, allocations: 4 kB / 0.6091 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.898e-06/0.735, allocations: 3.938 kB / 0.6091 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.22e-05/0.735, allocations: 87.52 kB / 0.6092 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.12e-07/0.735, allocations: 0 / 0.6092 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003212/0.7354, allocations: 16 kB / 0.6092 GB, free: 11.26 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 (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.0001745/0.7356, allocations: 107 kB / 0.6093 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.171e-05/0.7357, allocations: 12 kB / 0.6093 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.7357, allocations: 0 / 0.6093 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.702e-05/0.7357, allocations: 8 kB / 0.6093 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.736, allocations: 7.953 kB / 0.6093 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/0.7362, allocations: 63.89 kB / 0.6094 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.7366, allocations: 0.6811 MB / 0.61 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.887e-05/0.7366, allocations: 7.938 kB / 0.61 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/0.7367, allocations: 15.36 kB / 0.6101 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of SimCode: time 1.303e-06/0.7367, allocations: 0 / 0.6101 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of Templates: time 0.002898/0.7396, allocations: 490.7 kB / 0.6105 GB, free: 9.836 MB / 0.4948 GB