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.884/3.884, allocations: 402 MB / 416.6 MB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.585e-05/3.59e-05, allocations: 11.98 kB / 0.501 GB, free: 8.203 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2111, allocations: 92.69 MB / 0.5915 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0007872/0.2119, allocations: 273.1 kB / 0.5917 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0002351/0.2122, allocations: 39.91 kB / 0.5918 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.135e-06/0.2122, allocations: 0 / 0.5918 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.406e-05/0.2122, allocations: 0 / 0.5918 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.791e-06/0.2122, allocations: 0 / 0.5918 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.2124, allocations: 19.91 kB / 0.5918 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 3.205e-05/0.2125, allocations: 4 kB / 0.5918 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.2125, allocations: 0 / 0.5918 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 1.419e-05/0.2125, allocations: 0 / 0.5918 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.115e-05/0.2126, allocations: 4 kB / 0.5918 GB, free: 11 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.986e-05/0.2127, allocations: 19.97 kB / 0.5918 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.2127, allocations: 0 / 0.5918 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.623e-06/0.2127, allocations: 0 / 0.5918 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.036e-05/0.2128, allocations: 0 / 0.5918 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 7.662e-05/0.2129, allocations: 19.92 kB / 0.5918 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2129, allocations: 0 / 0.5918 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.414e-06/0.2129, allocations: 0 / 0.5918 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.2129, allocations: 4 kB / 0.5918 GB, free: 10.96 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002883/0.2132, allocations: 307.4 kB / 0.5921 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.2133, allocations: 12.03 kB / 0.5921 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003445/0.2136, allocations: 19.92 kB / 0.5922 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.927e-05/0.2137, allocations: 163.1 kB / 0.5923 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.2137, allocations: 0 / 0.5923 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.2138, allocations: 0 / 0.5923 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.2139, allocations: 41.62 kB / 0.5924 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.214, allocations: 0 / 0.5924 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.214, allocations: 0 / 0.5924 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.214, allocations: 0 / 0.5924 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.2142, allocations: 15.98 kB / 0.5924 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.2143, allocations: 145.6 kB / 0.5925 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.2145, allocations: 30.53 kB / 0.5925 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.2145, allocations: 0 / 0.5925 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.2146, allocations: 42.61 kB / 0.5926 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.2146, allocations: 3.938 kB / 0.5926 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0003691/0.2149, allocations: 45.67 kB / 0.5926 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.215, allocations: 51.41 kB / 0.5927 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.747e-05/0.2151, allocations: 89.12 kB / 0.5928 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.2151, allocations: 29.7 kB / 0.5928 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.2152, allocations: 80.14 kB / 0.5929 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.2152, allocations: 4.219 kB / 0.5929 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.2152, allocations: 0 / 0.5929 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.2154, allocations: 314.8 kB / 0.5932 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.668e-05/0.2155, allocations: 7.984 kB / 0.5932 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.744e-05/0.2156, allocations: 4 kB / 0.5932 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.13e-05/0.2157, allocations: 16.05 kB / 0.5932 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2157, allocations: 0 / 0.5932 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000199/0.2159, allocations: 41.62 kB / 0.5932 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2159, allocations: 4 kB / 0.5932 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.216, allocations: 0 / 0.5932 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.216, allocations: 3.938 kB / 0.5933 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.2161, allocations: 7.984 kB / 0.5933 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2161, allocations: 0 / 0.5933 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.4e-05/0.2162, allocations: 8.031 kB / 0.5933 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.2162, allocations: 0 / 0.5933 GB, free: 9.293 MB / 0.4948 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.0001044/0.2163, allocations: 109.8 kB / 0.5934 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.2163, allocations: 0 / 0.5934 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.2164, allocations: 3.125 kB / 0.5934 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2164, allocations: 0 / 0.5934 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2164, allocations: 4 kB / 0.5934 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.2164, allocations: 81.09 kB / 0.5935 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.2165, allocations: 0 / 0.5935 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.115e-05/0.2165, allocations: 4 kB / 0.5935 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.2166, allocations: 0 / 0.5935 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002654/0.2168, allocations: 136.8 kB / 0.5936 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002733/0.2171, allocations: 210.9 kB / 0.5938 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.191e-05/0.2172, allocations: 7.984 kB / 0.5938 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.302e-05/0.2173, allocations: 75.28 kB / 0.5939 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of Backend: time 6.01e-07/0.2173, allocations: 0 / 0.5939 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.2177, allocations: 94.84 kB / 0.594 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of SimCode: time 0.0003519/0.2181, allocations: 0.5258 MB / 0.5945 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of Templates: time 0.002822/0.2209, allocations: 409.7 kB / 0.5949 GB, free: 7.559 MB / 0.4948 GB