Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadModel(Buildings): time 4.503/4.503, allocations: 458.9 MB / 473.4 MB, free: 11.89 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.433e-05/3.437e-05, allocations: 9.453 kB / 0.5697 GB, free: 9.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2326, allocations: 106.2 MB / 0.6734 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001041/0.2337, allocations: 317 kB / 0.6738 GB, free: 2.32 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0002653/0.234, allocations: 39.89 kB / 0.6738 GB, free: 2.281 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.276e-06/0.234, allocations: 4 kB / 0.6738 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 1.087e-05/0.2341, allocations: 0 / 0.6738 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 5.771e-06/0.2341, allocations: 0 / 0.6738 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.2343, allocations: 11.98 kB / 0.6738 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 3.722e-05/0.2343, allocations: 0 / 0.6738 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 4.553e-05/0.2344, allocations: 0 / 0.6738 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 2.12e-05/0.2344, allocations: 7.938 kB / 0.6738 GB, free: 2.258 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 4.273e-05/0.2345, allocations: 3.938 kB / 0.6738 GB, free: 2.254 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.2346, allocations: 19.97 kB / 0.6738 GB, free: 2.234 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.2347, allocations: 4 kB / 0.6738 GB, free: 2.23 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 7.985e-06/0.2347, allocations: 0 / 0.6738 GB, free: 2.23 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.292e-05/0.2347, allocations: 0 / 0.6738 GB, free: 2.23 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 8.994e-05/0.2348, allocations: 15.97 kB / 0.6739 GB, free: 2.215 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2348, allocations: 0 / 0.6739 GB, free: 2.215 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.615e-06/0.2348, allocations: 4 kB / 0.6739 GB, free: 2.211 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.2349, allocations: 0 / 0.6739 GB, free: 2.211 MB / 0.5417 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.00033/0.2352, allocations: 315.3 kB / 0.6742 GB, free: 1.855 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.2353, allocations: 8.031 kB / 0.6742 GB, free: 1.848 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004241/0.2357, allocations: 15.97 kB / 0.6742 GB, free: 1.832 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.2359, allocations: 167 kB / 0.6743 GB, free: 1.629 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.2359, allocations: 4 kB / 0.6743 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.2359, allocations: 0 / 0.6743 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.2361, allocations: 37.69 kB / 0.6744 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.2361, allocations: 0 / 0.6744 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.2362, allocations: 0 / 0.6744 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2362, allocations: 0 / 0.6744 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.2364, allocations: 11.92 kB / 0.6744 GB, free: 1.57 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002131/0.2366, allocations: 153.6 kB / 0.6745 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.2368, allocations: 33.25 kB / 0.6746 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.2368, allocations: 0 / 0.6746 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.2368, allocations: 30.56 kB / 0.6746 GB, free: 1.293 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.2369, allocations: 0 / 0.6746 GB, free: 1.293 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0004143/0.2373, allocations: 53.67 kB / 0.6747 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.2374, allocations: 51.41 kB / 0.6747 GB, free: 1.172 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.388e-05/0.2374, allocations: 89.12 kB / 0.6748 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.2374, allocations: 25.7 kB / 0.6748 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.2375, allocations: 80.14 kB / 0.6749 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.2375, allocations: 0 / 0.6749 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.2376, allocations: 3.938 kB / 0.6749 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.2377, allocations: 314.8 kB / 0.6752 GB, free: 0.6445 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.309e-05/0.2378, allocations: 3.984 kB / 0.6752 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.599e-05/0.2379, allocations: 4 kB / 0.6752 GB, free: 0.6367 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.238, allocations: 12.05 kB / 0.6752 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.2381, allocations: 3.953 kB / 0.6752 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002582/0.2383, allocations: 45.62 kB / 0.6753 GB, free: 0.5703 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2384, allocations: 8 kB / 0.6753 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.2384, allocations: 0 / 0.6753 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2384, allocations: 0 / 0.6753 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.2385, allocations: 7.984 kB / 0.6753 GB, free: 0.5547 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2386, allocations: 0 / 0.6753 GB, free: 0.5547 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.664e-05/0.2386, allocations: 4.312 kB / 0.6753 GB, free: 0.5508 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.2387, allocations: 0 / 0.6753 GB, free: 0.5508 MB / 0.5417 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 9.769e-05/0.2388, allocations: 109.8 kB / 0.6754 GB, free: 444 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.2388, allocations: 3.953 kB / 0.6754 GB, free: 440 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.2389, allocations: 7.078 kB / 0.6754 GB, free: 432 kB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.2389, allocations: 0 / 0.6754 GB, free: 432 kB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2389, allocations: 0 / 0.6754 GB, free: 432 kB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2389, allocations: 0 / 0.6754 GB, free: 432 kB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.2391, allocations: 157.6 kB / 0.6755 GB, free: 224 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.2391, allocations: 4 kB / 0.6755 GB, free: 220 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.916e-05/0.2392, allocations: 3.953 kB / 0.6755 GB, free: 216 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.2392, allocations: 0 / 0.6755 GB, free: 216 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2392, allocations: 7.984 kB / 0.6756 GB, free: 208 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2392, allocations: 0 / 0.6756 GB, free: 208 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2392, allocations: 0 / 0.6756 GB, free: 208 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.2395, allocations: 69.06 kB / 0.6756 GB, free: 120 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.2396, allocations: 81.09 kB / 0.6757 GB, free: 20 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.2396, allocations: 7.953 kB / 0.6757 GB, free: 12 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.128e-05/0.2397, allocations: 3.984 kB / 0.6757 GB, free: 8 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.2397, allocations: 0 / 0.6757 GB, free: 8 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.2398, allocations: 3.938 kB / 0.6757 GB, free: 4 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.239e-05/0.2398, allocations: 75.28 kB / 0.6758 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.11e-07/0.2398, allocations: 4 kB / 0.6758 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004117/0.2403, allocations: 4 kB / 0.6758 GB, free: 15.92 MB / 0.5573 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.0001741/0.2405, allocations: 107.2 kB / 0.6759 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.2407, allocations: 11.98 kB / 0.6759 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2407, allocations: 0 / 0.6759 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.2408, allocations: 11.92 kB / 0.6759 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.241, allocations: 0 / 0.6759 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.2414, allocations: 78.88 kB / 0.676 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.2417, allocations: 0.6731 MB / 0.6767 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 8.231e-05/0.2418, allocations: 3.984 kB / 0.6767 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.2419, allocations: 7.438 kB / 0.6767 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of SimCode: time 8.92e-07/0.2419, allocations: 0 / 0.6767 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of Templates: time 0.002893/0.2448, allocations: 231 kB / 0.6769 GB, free: 14.75 MB / 0.5573 GB