Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadModel(Buildings): time 3.735/3.735, allocations: 402 MB / 416.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.397e-05/3.416e-05, allocations: 4 kB / 0.501 GB, free: 8.219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2063, allocations: 92.68 MB / 0.5915 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002633/0.209, allocations: 1.406 MB / 0.5928 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001767/0.2108, allocations: 0.7264 MB / 0.5936 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.211, allocations: 7.938 kB / 0.5936 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.212, allocations: 305.8 kB / 0.5939 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.2123, allocations: 63.8 kB / 0.5939 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.2125, allocations: 51.86 kB / 0.594 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.2128, allocations: 91.78 kB / 0.5941 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.2129, allocations: 36.09 kB / 0.5941 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003806/0.2133, allocations: 111.8 kB / 0.5942 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.2134, allocations: 47.78 kB / 0.5942 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.2136, allocations: 20 kB / 0.5943 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.2136, allocations: 8 kB / 0.5943 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.2138, allocations: 55.81 kB / 0.5943 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.2138, allocations: 8 kB / 0.5943 GB, free: 8.418 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003785/0.2142, allocations: 227.6 kB / 0.5945 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2142, allocations: 0 / 0.5945 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2142, allocations: 4 kB / 0.5945 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.2142, allocations: 0 / 0.5945 GB, free: 8.191 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007533/0.215, allocations: 0.5215 MB / 0.5951 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.2151, allocations: 12.03 kB / 0.5951 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.82e-05/0.2152, allocations: 35.52 kB / 0.5951 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007372/0.2159, allocations: 409.3 kB / 0.5955 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.216, allocations: 11.94 kB / 0.5955 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.216, allocations: 4 kB / 0.5955 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.2163, allocations: 81.59 kB / 0.5956 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.2163, allocations: 0 / 0.5956 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.2163, allocations: 0 / 0.5956 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.2163, allocations: 7.953 kB / 0.5956 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.2166, allocations: 55.97 kB / 0.5956 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007122/0.2173, allocations: 404.5 kB / 0.596 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.2175, allocations: 54.56 kB / 0.5961 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.2175, allocations: 3.984 kB / 0.5961 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.2176, allocations: 34.62 kB / 0.5961 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.883e-06/0.2176, allocations: 0 / 0.5961 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0004324/0.218, allocations: 113.3 kB / 0.5962 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.2181, allocations: 55.41 kB / 0.5963 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005553/0.2186, allocations: 336.8 kB / 0.5966 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.2187, allocations: 25.7 kB / 0.5966 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.2189, allocations: 168 kB / 0.5968 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.2189, allocations: 19.8 kB / 0.5968 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.2189, allocations: 0 / 0.5968 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2191, allocations: 338.8 kB / 0.5971 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.2192, allocations: 20.09 kB / 0.5972 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-05/0.2193, allocations: 23.94 kB / 0.5972 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.2195, allocations: 75.39 kB / 0.5972 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2195, allocations: 0 / 0.5972 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003485/0.2199, allocations: 160.7 kB / 0.5974 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.565e-05/0.2199, allocations: 59.41 kB / 0.5975 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.22, allocations: 0 / 0.5975 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.22, allocations: 7.984 kB / 0.5975 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.2201, allocations: 8 kB / 0.5975 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.2201, allocations: 192 / 0.5975 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.28e-05/0.2202, allocations: 11.91 kB / 0.5975 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.2203, allocations: 0 / 0.5975 GB, free: 4.926 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 (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * 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.0002378/0.2205, allocations: 185.8 kB / 0.5977 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.2206, allocations: 27.86 kB / 0.5977 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/0.221, allocations: 115.9 kB / 0.5978 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.221, allocations: 0 / 0.5978 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.221, allocations: 0 / 0.5978 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-05/0.2211, allocations: 100.8 kB / 0.5979 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.2211, allocations: 0 / 0.5979 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.2213, allocations: 4 kB / 0.5979 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.2213, allocations: 3.938 kB / 0.5979 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003047/0.2217, allocations: 156.9 kB / 0.598 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003496/0.222, allocations: 270.3 kB / 0.5983 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.989e-05/0.2221, allocations: 19.98 kB / 0.5983 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004519/0.2226, allocations: 283.1 kB / 0.5986 GB, free: 3.727 MB / 0.4948 GB Notification: Performance of Backend: time 6.42e-07/0.2226, allocations: 0 / 0.5986 GB, free: 3.727 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001611/0.2242, allocations: 479.4 kB / 0.5991 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of SimCode: time 0.001513/0.2258, allocations: 0.9829 MB / 0.6 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of Templates: time 0.008496/0.2343, allocations: 1.869 MB / 0.6018 GB, free: 456 kB / 0.4948 GB