Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadModel(Buildings): time 3.69/3.69, allocations: 402 MB / 416.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.942e-05/2.946e-05, allocations: 4 kB / 0.5009 GB, free: 8.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2195, allocations: 92.69 MB / 0.5915 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001966/0.2215, allocations: 1.149 MB / 0.5926 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.2225, allocations: 492.2 kB / 0.593 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.2226, allocations: 0 / 0.593 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.2226, allocations: 0 / 0.593 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.006e-05/0.2227, allocations: 11.98 kB / 0.5931 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.2229, allocations: 31.83 kB / 0.5931 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.66e-05/0.223, allocations: 15.97 kB / 0.5931 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.417e-05/0.223, allocations: 8 kB / 0.5931 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.493e-05/0.2231, allocations: 11.92 kB / 0.5931 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.997e-05/0.2232, allocations: 8 kB / 0.5931 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.2234, allocations: 43.95 kB / 0.5932 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.2234, allocations: 4 kB / 0.5932 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.2234, allocations: 0 / 0.5932 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.647e-05/0.2235, allocations: 7.938 kB / 0.5932 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.2236, allocations: 44.2 kB / 0.5932 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2236, allocations: 4 kB / 0.5932 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2236, allocations: 0 / 0.5932 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.2236, allocations: 0 / 0.5932 GB, free: 9.57 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004375/0.2241, allocations: 343.2 kB / 0.5936 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.2241, allocations: 8.031 kB / 0.5936 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.2242, allocations: 11.86 kB / 0.5936 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.2243, allocations: 163.1 kB / 0.5937 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.2243, allocations: 4 kB / 0.5937 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.2244, allocations: 0 / 0.5937 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.2245, allocations: 49.62 kB / 0.5938 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2246, allocations: 0 / 0.5938 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.2246, allocations: 3.984 kB / 0.5938 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.2246, allocations: 7.953 kB / 0.5938 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.2248, allocations: 23.92 kB / 0.5938 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.2251, allocations: 260.9 kB / 0.5941 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.2253, allocations: 38.56 kB / 0.5941 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001273/0.2265, allocations: 497.5 kB / 0.5946 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.2266, allocations: 30.56 kB / 0.5946 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.2266, allocations: 4 kB / 0.5946 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0003351/0.227, allocations: 77.56 kB / 0.5947 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.227, allocations: 51.41 kB / 0.5947 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.032e-05/0.2271, allocations: 108.9 kB / 0.5948 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.2271, allocations: 29.7 kB / 0.5949 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.2272, allocations: 88.27 kB / 0.5949 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.2272, allocations: 3.906 kB / 0.5949 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.2272, allocations: 0 / 0.5949 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2274, allocations: 318.8 kB / 0.5953 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.367e-05/0.2275, allocations: 8 kB / 0.5953 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.766e-05/0.2275, allocations: 11.98 kB / 0.5953 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.52e-05/0.2276, allocations: 16.06 kB / 0.5953 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2276, allocations: 0 / 0.5953 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000196/0.2278, allocations: 65.61 kB / 0.5954 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2279, allocations: 4 kB / 0.5954 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2279, allocations: 0 / 0.5954 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2279, allocations: 0 / 0.5954 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.624e-05/0.228, allocations: 11.94 kB / 0.5954 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.228, allocations: 7.953 kB / 0.5954 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.2281, allocations: 4.031 kB / 0.5954 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.2281, allocations: 3.984 kB / 0.5954 GB, free: 7.059 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 (2): * Single equations (assignments): 2 * 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.201e-05/0.2282, allocations: 113.8 kB / 0.5955 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.2282, allocations: 0 / 0.5955 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.2285, allocations: 61.2 kB / 0.5955 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2285, allocations: 3.938 kB / 0.5956 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2285, allocations: 8.031 kB / 0.5956 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.2286, allocations: 84.97 kB / 0.5956 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.2286, allocations: 0 / 0.5956 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.352e-05/0.2287, allocations: 8 kB / 0.5956 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.2287, allocations: 3.984 kB / 0.5957 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002413/0.229, allocations: 133 kB / 0.5958 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000268/0.2293, allocations: 238.7 kB / 0.596 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.238e-05/0.2294, allocations: 11.98 kB / 0.596 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.215e-05/0.2294, allocations: 87.22 kB / 0.5961 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of Backend: time 6.41e-07/0.2295, allocations: 4.062 kB / 0.5961 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000423/0.2299, allocations: 102.4 kB / 0.5962 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of SimCode: time 0.0004687/0.2304, allocations: 0.576 MB / 0.5968 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of Templates: time 0.003701/0.2341, allocations: 0.7016 MB / 0.5975 GB, free: 4.832 MB / 0.4948 GB