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.642/3.642, allocations: 403.9 MB / 411 MB, free: 396 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.152e-05/4.18e-05, allocations: 7.938 kB / 0.4942 GB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5261/0.5262, allocations: 92.7 MB / 0.5847 GB, free: 2.387 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.175/0.7013, allocations: 118.8 MB / 0.7007 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.7016, allocations: 79.94 kB / 0.7007 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.001512/0.7031, allocations: 0.5342 MB / 0.7013 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.845e-06/0.7031, allocations: 0 / 0.7013 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.367e-06/0.7032, allocations: 0 / 0.7013 GB, free: 10.87 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.0002498/0.7034, allocations: 310.5 kB / 0.7016 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.7035, allocations: 8.031 kB / 0.7016 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.7037, allocations: 19.92 kB / 0.7016 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.7038, allocations: 159.1 kB / 0.7017 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.7038, allocations: 0 / 0.7017 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.7039, allocations: 0 / 0.7017 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.988e-05/0.7039, allocations: 7.938 kB / 0.7017 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.621e-05/0.704, allocations: 29.69 kB / 0.7018 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.704, allocations: 4 kB / 0.7018 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.192e-06/0.704, allocations: 0 / 0.7018 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.482e-06/0.704, allocations: 7.953 kB / 0.7018 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.7042, allocations: 134.2 kB / 0.7019 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.386e-05/0.7042, allocations: 14.58 kB / 0.7019 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.7043, allocations: 8.953 kB / 0.7019 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.7043, allocations: 0 / 0.7019 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.7044, allocations: 38.5 kB / 0.702 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.62e-06/0.7044, allocations: 0 / 0.702 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001223/0.7045, allocations: 29.7 kB / 0.702 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.7045, allocations: 59.39 kB / 0.7021 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.881e-05/0.7046, allocations: 88.94 kB / 0.7021 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.7046, allocations: 25.7 kB / 0.7022 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.7047, allocations: 80.14 kB / 0.7022 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.7047, allocations: 4 kB / 0.7022 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.7047, allocations: 32 / 0.7022 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.7049, allocations: 318.8 kB / 0.7025 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.116e-05/0.7049, allocations: 0 / 0.7025 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.692e-06/0.7049, allocations: 0 / 0.7025 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.955e-05/0.7049, allocations: 4 kB / 0.7026 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.107e-06/0.7049, allocations: 0 / 0.7026 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.999e-05/0.705, allocations: 37.62 kB / 0.7026 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.7051, allocations: 4 kB / 0.7026 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.691e-06/0.7051, allocations: 4 kB / 0.7026 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.7051, allocations: 8.094 kB / 0.7026 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.011e-05/0.7052, allocations: 0 / 0.7026 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.514e-06/0.7052, allocations: 0 / 0.7026 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.969e-05/0.7053, allocations: 4 kB / 0.7026 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.7053, allocations: 3.984 kB / 0.7026 GB, free: 9.285 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 7.839e-05/0.7054, allocations: 104.9 kB / 0.7027 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.7054, allocations: 0 / 0.7027 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.7054, allocations: 11.75 kB / 0.7027 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.235e-06/0.7054, allocations: 7.984 kB / 0.7027 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.922e-06/0.7055, allocations: 0 / 0.7027 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.388e-06/0.7055, allocations: 0 / 0.7027 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.374e-05/0.7056, allocations: 122.2 kB / 0.7028 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.05e-06/0.7056, allocations: 3.984 kB / 0.7028 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.587e-05/0.7057, allocations: 7.953 kB / 0.7029 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.184e-06/0.7057, allocations: 0 / 0.7029 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.7057, allocations: 3.938 kB / 0.7029 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.946e-06/0.7057, allocations: 0 / 0.7029 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.077e-06/0.7057, allocations: 0 / 0.7029 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.816e-05/0.7058, allocations: 65.06 kB / 0.7029 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.7059, allocations: 77.11 kB / 0.703 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.7059, allocations: 3.953 kB / 0.703 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.624e-05/0.706, allocations: 4 kB / 0.703 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.165e-06/0.706, allocations: 0 / 0.703 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.706, allocations: 7.984 kB / 0.703 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.357e-05/0.706, allocations: 75.28 kB / 0.7031 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.98e-07/0.7061, allocations: 4.031 kB / 0.7031 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002368/0.7063, allocations: 0 / 0.7031 GB, free: 8.715 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.0001302/0.7064, allocations: 103.5 kB / 0.7032 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.308e-05/0.7065, allocations: 4 kB / 0.7032 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.887e-06/0.7065, allocations: 3.938 kB / 0.7032 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.617e-05/0.7066, allocations: 4 kB / 0.7032 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001051/0.7067, allocations: 3.938 kB / 0.7032 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001846/0.7069, allocations: 53.84 kB / 0.7033 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.7072, allocations: 0.6768 MB / 0.7039 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.24e-05/0.7073, allocations: 0 / 0.7039 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.7073, allocations: 7.438 kB / 0.7039 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of SimCode: time 9.55e-07/0.7073, allocations: 0 / 0.7039 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of Templates: time 0.002133/0.7094, allocations: 215.6 kB / 0.7041 GB, free: 7.598 MB / 0.5886 GB