Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadModel(Buildings): time 3.586/3.586, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.509e-05/3.523e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.43 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5246/0.5247, allocations: 92.69 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2195/0.7442, allocations: 119.4 MB / 0.7062 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.7445, allocations: 79.95 kB / 0.7063 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.001583/0.7461, allocations: 0.5303 MB / 0.7068 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.2e-06/0.7461, allocations: 0 / 0.7068 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.268e-06/0.7461, allocations: 0 / 0.7068 GB, free: 6.305 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002761/0.7464, allocations: 310.5 kB / 0.7071 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.7465, allocations: 8.031 kB / 0.7071 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.7467, allocations: 19.92 kB / 0.7071 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.7468, allocations: 163.1 kB / 0.7073 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.474e-06/0.7468, allocations: 0 / 0.7073 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.7469, allocations: 3.938 kB / 0.7073 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.325e-05/0.747, allocations: 33.69 kB / 0.7073 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.141e-06/0.747, allocations: 0 / 0.7073 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.31e-06/0.747, allocations: 0 / 0.7073 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-06/0.747, allocations: 0 / 0.7073 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.02e-05/0.747, allocations: 4 kB / 0.7073 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.7472, allocations: 153.6 kB / 0.7075 GB, free: 5.484 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.37e-05/0.7473, allocations: 18.58 kB / 0.7075 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.7473, allocations: 8.953 kB / 0.7075 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.7474, allocations: 3.828 kB / 0.7075 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.7474, allocations: 34.5 kB / 0.7075 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 2.117e-06/0.7474, allocations: 0 / 0.7075 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001267/0.7475, allocations: 33.69 kB / 0.7076 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.7476, allocations: 51.41 kB / 0.7076 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.337e-05/0.7477, allocations: 97.03 kB / 0.7077 GB, free: 5.199 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.7477, allocations: 25.7 kB / 0.7077 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.7477, allocations: 80.14 kB / 0.7078 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.7478, allocations: 0 / 0.7078 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-06/0.7478, allocations: 0 / 0.7078 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.7479, allocations: 314.8 kB / 0.7081 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.748, allocations: 0 / 0.7081 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.386e-05/0.748, allocations: 4 kB / 0.7081 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.367e-05/0.748, allocations: 4.062 kB / 0.7081 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.748, allocations: 0 / 0.7081 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.023e-05/0.7481, allocations: 41.62 kB / 0.7081 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.7482, allocations: 5.562 kB / 0.7082 GB, free: 4.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.948e-06/0.7482, allocations: 0 / 0.7082 GB, free: 4.711 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.7482, allocations: 3.984 kB / 0.7082 GB, free: 4.707 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.7483, allocations: 4 kB / 0.7082 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.7483, allocations: 0 / 0.7082 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.7484, allocations: 3.984 kB / 0.7082 GB, free: 4.699 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.7484, allocations: 15.97 kB / 0.7082 GB, free: 4.684 MB / 0.5886 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 (1): * Single equations (assignments): 1 * 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 8.226e-05/0.7485, allocations: 110.1 kB / 0.7083 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/0.7485, allocations: 0 / 0.7083 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.7486, allocations: 3.125 kB / 0.7083 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-06/0.7486, allocations: 0 / 0.7083 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.943e-06/0.7486, allocations: 0 / 0.7083 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.888e-06/0.7486, allocations: 0 / 0.7083 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.7487, allocations: 157.6 kB / 0.7084 GB, free: 4.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-06/0.7488, allocations: 0 / 0.7084 GB, free: 4.363 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.174e-05/0.7488, allocations: 4 kB / 0.7084 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.195e-06/0.7488, allocations: 4 kB / 0.7084 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.428e-06/0.7488, allocations: 0 / 0.7084 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.7489, allocations: 0 / 0.7084 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.763e-06/0.7489, allocations: 7.922 kB / 0.7085 GB, free: 4.348 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.749, allocations: 65.03 kB / 0.7085 GB, free: 4.266 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.749, allocations: 77.11 kB / 0.7086 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.7491, allocations: 0 / 0.7086 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.641e-05/0.7491, allocations: 8.016 kB / 0.7086 GB, free: 4.164 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.7491, allocations: 0 / 0.7086 GB, free: 4.164 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.173e-06/0.7492, allocations: 4 kB / 0.7086 GB, free: 4.16 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.933e-05/0.7492, allocations: 75.28 kB / 0.7087 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.69e-07/0.7492, allocations: 0 / 0.7087 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002491/0.7495, allocations: 0 / 0.7087 GB, free: 4.086 MB / 0.5886 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 (1): * Single equations (assignments): 1 * 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.000126/0.7496, allocations: 103 kB / 0.7088 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.543e-05/0.7497, allocations: 8 kB / 0.7088 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.593e-06/0.7497, allocations: 0 / 0.7088 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.227e-05/0.7497, allocations: 3.984 kB / 0.7088 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.911e-05/0.7499, allocations: 7.938 kB / 0.7088 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001897/0.7501, allocations: 49.02 kB / 0.7088 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.7504, allocations: 0.677 MB / 0.7095 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.307e-05/0.7505, allocations: 4.125 kB / 0.7095 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.7505, allocations: 7.438 kB / 0.7095 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of SimCode: time 1.407e-06/0.7505, allocations: 0 / 0.7095 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of Templates: time 0.002107/0.7526, allocations: 226.3 kB / 0.7097 GB, free: 2.953 MB / 0.5886 GB