Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadModel(Buildings): time 3.751/3.751, allocations: 402 MB / 416.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.92e-05/3.939e-05, allocations: 11.98 kB / 0.5009 GB, free: 8.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2184, allocations: 92.68 MB / 0.5915 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003086/0.2216, allocations: 1.404 MB / 0.5928 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.2233, allocations: 0.5936 MB / 0.5934 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.147e-05/0.2235, allocations: 4 kB / 0.5934 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.892e-05/0.2235, allocations: 7.922 kB / 0.5934 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.82e-05/0.2236, allocations: 15.91 kB / 0.5934 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000929/0.2246, allocations: 139.7 kB / 0.5936 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.2248, allocations: 55.86 kB / 0.5936 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.2249, allocations: 32.02 kB / 0.5936 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.2251, allocations: 39.91 kB / 0.5937 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.2253, allocations: 31.84 kB / 0.5937 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.2255, allocations: 39.97 kB / 0.5938 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.327e-05/0.2256, allocations: 8 kB / 0.5938 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.383e-05/0.2257, allocations: 23.91 kB / 0.5938 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.01e-05/0.2257, allocations: 4 kB / 0.5938 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.226, allocations: 100 kB / 0.5939 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.226, allocations: 0 / 0.5939 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2261, allocations: 0 / 0.5939 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.2261, allocations: 0 / 0.5939 GB, free: 8.879 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0009132/0.227, allocations: 403 kB / 0.5943 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.359e-05/0.2271, allocations: 15.97 kB / 0.5943 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/0.2291, allocations: 143.6 kB / 0.5944 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.2294, allocations: 181.5 kB / 0.5946 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.2296, allocations: 67.41 kB / 0.5947 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.078e-05/0.2296, allocations: 12 kB / 0.5947 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.2308, allocations: 196.4 kB / 0.5949 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2309, allocations: 0 / 0.5949 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.2309, allocations: 8 kB / 0.5949 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.231, allocations: 0 / 0.5949 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.2325, allocations: 191.8 kB / 0.595 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002212/0.2348, allocations: 0.4942 MB / 0.5955 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00253/0.2373, allocations: 274.3 kB / 0.5958 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.989e-05/0.2374, allocations: 3.984 kB / 0.5958 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.2374, allocations: 34.56 kB / 0.5958 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 2.414e-06/0.2374, allocations: 0 / 0.5958 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.002553/0.24, allocations: 309.7 kB / 0.5961 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.2401, allocations: 59.3 kB / 0.5962 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.2403, allocations: 125 kB / 0.5963 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.2403, allocations: 25.7 kB / 0.5963 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.2405, allocations: 116.1 kB / 0.5964 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.2405, allocations: 11.8 kB / 0.5964 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.2406, allocations: 8 kB / 0.5965 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.2408, allocations: 322.8 kB / 0.5968 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007907/0.2416, allocations: 83.92 kB / 0.5968 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008317/0.2424, allocations: 110.5 kB / 0.5969 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007997/0.2433, allocations: 91.92 kB / 0.597 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2433, allocations: 4 kB / 0.597 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001782/0.2451, allocations: 233.4 kB / 0.5973 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.2451, allocations: 8 kB / 0.5973 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.2452, allocations: 0 / 0.5973 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.2452, allocations: 7.938 kB / 0.5973 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006378/0.2458, allocations: 51.89 kB / 0.5973 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.2459, allocations: 3.953 kB / 0.5973 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.2464, allocations: 43.8 kB / 0.5974 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.2464, allocations: 4 kB / 0.5974 GB, free: 5.074 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001747/0.2466, allocations: 117.8 kB / 0.5975 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.377e-05/0.2467, allocations: 7.906 kB / 0.5975 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.2485, allocations: 234.2 kB / 0.5977 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2485, allocations: 0 / 0.5977 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2485, allocations: 3.938 kB / 0.5977 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.792e-05/0.2486, allocations: 96.95 kB / 0.5978 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.2486, allocations: 0 / 0.5978 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007472/0.2494, allocations: 44.33 kB / 0.5979 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.2495, allocations: 7.938 kB / 0.5979 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002042/0.2515, allocations: 336.8 kB / 0.5982 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001754/0.2533, allocations: 402.5 kB / 0.5986 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007813/0.2541, allocations: 99.89 kB / 0.5987 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001238/0.2543, allocations: 105.3 kB / 0.5988 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of Backend: time 6.61e-07/0.2543, allocations: 0 / 0.5988 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001342/0.2556, allocations: 198.3 kB / 0.599 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of SimCode: time 0.0009477/0.2566, allocations: 0.6709 MB / 0.5996 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of Templates: time 0.009047/0.2657, allocations: 2.034 MB / 0.6016 GB, free: 0.6484 MB / 0.4948 GB