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: 402 MB / 416 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.239e-05/3.249e-05, allocations: 4 kB / 0.5003 GB, free: 8.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2132, allocations: 92.69 MB / 0.5909 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5951/0.8083, allocations: 119.5 MB / 0.7075 GB, free: 7.02 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.8086, allocations: 79.94 kB / 0.7076 GB, free: 6.941 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.001639/0.8103, allocations: 0.5303 MB / 0.7081 GB, free: 6.41 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.583e-06/0.8103, allocations: 4 kB / 0.7081 GB, free: 6.406 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.8104, allocations: 0 / 0.7081 GB, free: 6.406 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002818/0.8106, allocations: 309.8 kB / 0.7084 GB, free: 6.059 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.8107, allocations: 12.09 kB / 0.7084 GB, free: 6.047 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002301/0.8109, allocations: 19.92 kB / 0.7084 GB, free: 6.027 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.8111, allocations: 159.1 kB / 0.7086 GB, free: 5.832 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.496e-06/0.8111, allocations: 4 kB / 0.7086 GB, free: 5.828 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.8111, allocations: 0 / 0.7086 GB, free: 5.828 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.8113, allocations: 45.61 kB / 0.7086 GB, free: 5.777 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.8113, allocations: 0 / 0.7086 GB, free: 5.777 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.121e-06/0.8113, allocations: 4 kB / 0.7086 GB, free: 5.773 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.8113, allocations: 0.875 kB / 0.7086 GB, free: 5.773 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.753e-05/0.8114, allocations: 7.984 kB / 0.7086 GB, free: 5.766 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.8116, allocations: 149.6 kB / 0.7088 GB, free: 5.57 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.769e-05/0.8117, allocations: 26.53 kB / 0.7088 GB, free: 5.535 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.8118, allocations: 0 / 0.7088 GB, free: 5.535 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.8118, allocations: 38.56 kB / 0.7089 GB, free: 5.488 MB / 0.573 GB Notification: Performance of pre-optimization done (n=1): time 1.691e-06/0.8118, allocations: 0 / 0.7089 GB, free: 5.488 MB / 0.573 GB Notification: Performance of matching and sorting (n=1): time 0.0002704/0.8121, allocations: 49.67 kB / 0.7089 GB, free: 5.434 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.8121, allocations: 52.39 kB / 0.7089 GB, free: 5.371 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.65e-05/0.8122, allocations: 85 kB / 0.709 GB, free: 5.281 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.8122, allocations: 25.7 kB / 0.7091 GB, free: 5.25 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.311e-05/0.8123, allocations: 80.14 kB / 0.7091 GB, free: 5.168 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.8123, allocations: 4.125 kB / 0.7091 GB, free: 5.164 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.8123, allocations: 4 kB / 0.7091 GB, free: 5.16 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.8125, allocations: 314.8 kB / 0.7094 GB, free: 4.844 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.174e-05/0.8126, allocations: 0 / 0.7094 GB, free: 4.844 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.317e-05/0.8126, allocations: 11.98 kB / 0.7094 GB, free: 4.832 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.996e-05/0.8127, allocations: 6.297 kB / 0.7095 GB, free: 4.828 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.982e-06/0.8127, allocations: 0 / 0.7095 GB, free: 4.828 MB / 0.573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001643/0.8129, allocations: 49.67 kB / 0.7095 GB, free: 4.773 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.8129, allocations: 8 kB / 0.7095 GB, free: 4.766 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.154e-06/0.8129, allocations: 0 / 0.7095 GB, free: 4.766 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.8129, allocations: 0 / 0.7095 GB, free: 4.766 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/0.813, allocations: 7.062 kB / 0.7095 GB, free: 4.762 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.428e-06/0.8131, allocations: 0 / 0.7095 GB, free: 4.762 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.8131, allocations: 3.984 kB / 0.7095 GB, free: 4.758 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.781e-06/0.8131, allocations: 0 / 0.7095 GB, free: 4.758 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 (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 0.0001193/0.8133, allocations: 119.7 kB / 0.7096 GB, free: 4.633 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.8133, allocations: 0 / 0.7096 GB, free: 4.633 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.8133, allocations: 3.125 kB / 0.7096 GB, free: 4.633 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.764e-06/0.8133, allocations: 0 / 0.7096 GB, free: 4.633 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.912e-06/0.8133, allocations: 0 / 0.7096 GB, free: 4.633 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.8134, allocations: 0 / 0.7096 GB, free: 4.633 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.8135, allocations: 157.6 kB / 0.7098 GB, free: 4.43 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.068e-06/0.8135, allocations: 0 / 0.7098 GB, free: 4.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.506e-05/0.8136, allocations: 0 / 0.7098 GB, free: 4.43 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.34e-06/0.8136, allocations: 0 / 0.7098 GB, free: 4.43 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.8136, allocations: 8 kB / 0.7098 GB, free: 4.422 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.319e-06/0.8136, allocations: 3.938 kB / 0.7098 GB, free: 4.418 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.625e-06/0.8136, allocations: 0 / 0.7098 GB, free: 4.418 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.8138, allocations: 73.03 kB / 0.7099 GB, free: 4.328 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.8139, allocations: 85.06 kB / 0.71 GB, free: 4.227 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.8139, allocations: 0 / 0.71 GB, free: 4.227 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.315e-05/0.814, allocations: 4.031 kB / 0.71 GB, free: 4.223 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.814, allocations: 3.984 kB / 0.71 GB, free: 4.219 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.045e-06/0.814, allocations: 3.938 kB / 0.71 GB, free: 4.215 MB / 0.573 GB Notification: Performance of sorting global known variables: time 3.857e-05/0.8141, allocations: 75.28 kB / 0.71 GB, free: 4.141 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.47e-07/0.8141, allocations: 4 kB / 0.71 GB, free: 4.137 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002396/0.8143, allocations: 0 / 0.71 GB, free: 4.137 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 (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.0001522/0.8145, allocations: 103 kB / 0.7101 GB, free: 4.027 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001595/0.8147, allocations: 19.92 kB / 0.7102 GB, free: 4.008 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.559e-06/0.8147, allocations: 0 / 0.7102 GB, free: 4.008 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 5.439e-05/0.8148, allocations: 4 kB / 0.7102 GB, free: 4.004 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/0.8149, allocations: 3.984 kB / 0.7102 GB, free: 4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.8152, allocations: 83.25 kB / 0.7102 GB, free: 3.891 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.8155, allocations: 0.6692 MB / 0.7109 GB, free: 3.195 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 5.614e-05/0.8156, allocations: 8.125 kB / 0.7109 GB, free: 3.188 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.8156, allocations: 7.438 kB / 0.7109 GB, free: 3.18 MB / 0.573 GB Notification: Performance of SimCode: time 1.433e-06/0.8156, allocations: 0 / 0.7109 GB, free: 3.18 MB / 0.573 GB Notification: Performance of Templates: time 0.00223/0.8179, allocations: 228.9 kB / 0.7111 GB, free: 2.957 MB / 0.573 GB