Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadModel(BuildingSystems): time 3.364/3.364, allocations: 343.8 MB / 355.9 MB, free: 9.355 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.065e-05/5.082e-05, allocations: 4 kB / 436.6 MB, free: 2.445 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1425, allocations: 77.72 MB / 0.5022 GB, free: 4.566 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5055/0.648, allocations: 107.4 MB / 0.6071 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.6483, allocations: 71.95 kB / 0.6072 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02289/0.6712, allocations: 5.049 MB / 0.6121 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.168e-06/0.6713, allocations: 0 / 0.6121 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.341e-06/0.6713, allocations: 0 / 0.6121 GB, free: 8.535 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006189/0.6719, allocations: 410.2 kB / 0.6125 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.672, allocations: 12.03 kB / 0.6125 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000829/0.6728, allocations: 119.6 kB / 0.6127 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.673, allocations: 176.8 kB / 0.6128 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.6732, allocations: 71.3 kB / 0.6129 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.6732, allocations: 12 kB / 0.6129 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.6736, allocations: 110.3 kB / 0.613 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.633e-06/0.6736, allocations: 3.938 kB / 0.613 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.6736, allocations: 8 kB / 0.613 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.6736, allocations: 7.953 kB / 0.613 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.6739, allocations: 75.98 kB / 0.6131 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.6752, allocations: 0.49 MB / 0.6136 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007854/0.6761, allocations: 170.5 kB / 0.6137 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.6762, allocations: 40.97 kB / 0.6138 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.6762, allocations: 0 / 0.6138 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.6763, allocations: 34.56 kB / 0.6138 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 2.343e-06/0.6763, allocations: 3.938 kB / 0.6138 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0003682/0.6767, allocations: 113.7 kB / 0.6139 GB, free: 6.523 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.6767, allocations: 51.41 kB / 0.614 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.6769, allocations: 130.8 kB / 0.6141 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.6769, allocations: 29.7 kB / 0.6141 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.2e-05/0.677, allocations: 108.1 kB / 0.6142 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.6771, allocations: 23.73 kB / 0.6143 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.6771, allocations: 0 / 0.6143 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.6773, allocations: 318.8 kB / 0.6146 GB, free: 5.836 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.6774, allocations: 36 kB / 0.6146 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.6775, allocations: 50.56 kB / 0.6146 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.6777, allocations: 35.98 kB / 0.6147 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.639e-06/0.6777, allocations: 0 / 0.6147 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003185/0.678, allocations: 117.5 kB / 0.6148 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.678, allocations: 8 kB / 0.6148 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.6781, allocations: 0 / 0.6148 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.6781, allocations: 0 / 0.6148 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/0.6784, allocations: 48.02 kB / 0.6148 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.6785, allocations: 3.938 kB / 0.6148 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.6787, allocations: 43.81 kB / 0.6149 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.6788, allocations: 4 kB / 0.6149 GB, free: 5.48 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 (8): * Single equations (assignments): 8 * 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.0001118/0.6789, allocations: 109 kB / 0.615 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/0.679, allocations: 7.906 kB / 0.615 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003731/0.6794, allocations: 126.2 kB / 0.6151 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.963e-06/0.6794, allocations: 0 / 0.6151 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.969e-06/0.6794, allocations: 0 / 0.6151 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.321e-06/0.6794, allocations: 0 / 0.6151 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.6798, allocations: 238.1 kB / 0.6153 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.878e-06/0.6798, allocations: 4 kB / 0.6154 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.6801, allocations: 47.88 kB / 0.6154 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.254e-06/0.6801, allocations: 0 / 0.6154 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.6802, allocations: 4 kB / 0.6154 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.568e-06/0.6802, allocations: 0 / 0.6154 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.693e-06/0.6802, allocations: 0 / 0.6154 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.6806, allocations: 215.5 kB / 0.6156 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.6807, allocations: 85.02 kB / 0.6157 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.6807, allocations: 0 / 0.6157 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/0.6811, allocations: 47.95 kB / 0.6157 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.6812, allocations: 7.969 kB / 0.6157 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.6812, allocations: 7.984 kB / 0.6157 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001089/0.6813, allocations: 114.5 kB / 0.6159 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.24e-07/0.6813, allocations: 0 / 0.6159 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003707/0.6817, allocations: 23.91 kB / 0.6159 GB, free: 4.371 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 (6): * Single equations (assignments): 6 * 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.0001698/0.6819, allocations: 107.2 kB / 0.616 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002807/0.6822, allocations: 76.05 kB / 0.6161 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6822, allocations: 4.062 kB / 0.6161 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.6823, allocations: 47.92 kB / 0.6161 GB, free: 4.133 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.6826, allocations: 6.656 kB / 0.6161 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004913/0.6831, allocations: 137.5 kB / 0.6162 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.6835, allocations: 0.7043 MB / 0.6169 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.6837, allocations: 16.19 kB / 0.6169 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.559e-05/0.6838, allocations: 15.42 kB / 0.617 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of SimCode: time 1.932e-06/0.6838, allocations: 0 / 0.617 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of Templates: time 0.004949/0.6888, allocations: 1.325 MB / 0.6183 GB, free: 1.891 MB / 0.4948 GB