Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadModel(Buildings): time 3.658/3.658, allocations: 402 MB / 416.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.266e-05/3.269e-05, allocations: 7.984 kB / 0.501 GB, free: 8.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1974, allocations: 92.69 MB / 0.5915 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002375/0.1998, allocations: 1.346 MB / 0.5928 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.2011, allocations: 404.5 kB / 0.5932 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.197e-05/0.2012, allocations: 0 / 0.5932 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.2012, allocations: 3.938 kB / 0.5932 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.2013, allocations: 15.97 kB / 0.5932 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.2015, allocations: 19.91 kB / 0.5932 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.2017, allocations: 39.94 kB / 0.5933 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.2018, allocations: 15.98 kB / 0.5933 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.202, allocations: 27.86 kB / 0.5933 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.2021, allocations: 27.92 kB / 0.5933 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.917e-05/0.2022, allocations: 0 / 0.5933 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.2022, allocations: 4 kB / 0.5933 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.753e-05/0.2023, allocations: 7.922 kB / 0.5933 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.2023, allocations: 8 kB / 0.5933 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.2025, allocations: 64.08 kB / 0.5934 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2025, allocations: 0 / 0.5934 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2025, allocations: 0 / 0.5934 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.2025, allocations: 4 kB / 0.5934 GB, free: 9.387 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007893/0.2033, allocations: 367.2 kB / 0.5938 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/0.2034, allocations: 8.031 kB / 0.5938 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.862e-05/0.2035, allocations: 15.86 kB / 0.5938 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.2037, allocations: 179 kB / 0.5939 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.2038, allocations: 4 kB / 0.594 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.2038, allocations: 4 kB / 0.594 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/0.2042, allocations: 95.36 kB / 0.594 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2043, allocations: 0 / 0.594 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.2043, allocations: 0 / 0.594 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.2043, allocations: 3.953 kB / 0.594 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.2047, allocations: 67.89 kB / 0.5941 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008945/0.2057, allocations: 328.7 kB / 0.5944 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.206, allocations: 62.48 kB / 0.5945 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.206, allocations: 0 / 0.5945 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.2061, allocations: 30.56 kB / 0.5945 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 2.204e-06/0.2061, allocations: 0 / 0.5945 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0007454/0.2068, allocations: 117.6 kB / 0.5946 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.2069, allocations: 81.11 kB / 0.5947 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.2071, allocations: 125.1 kB / 0.5948 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.2072, allocations: 29.7 kB / 0.5949 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.44e-05/0.2073, allocations: 100 kB / 0.5949 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.2073, allocations: 11.89 kB / 0.595 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.2073, allocations: 0 / 0.595 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2075, allocations: 314.8 kB / 0.5953 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.2077, allocations: 31.92 kB / 0.5953 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.208, allocations: 49.69 kB / 0.5953 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.2082, allocations: 20 kB / 0.5954 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2082, allocations: 0 / 0.5954 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004899/0.2087, allocations: 93.56 kB / 0.5954 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.2087, allocations: 11.98 kB / 0.5955 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.2088, allocations: 0 / 0.5955 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.2088, allocations: 4 kB / 0.5955 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.209, allocations: 19.92 kB / 0.5955 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.2091, allocations: 0 / 0.5955 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.2093, allocations: 19.92 kB / 0.5955 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.2093, allocations: 0 / 0.5955 GB, free: 7.008 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: 2 ($PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001425/0.2095, allocations: 117.8 kB / 0.5956 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.2096, allocations: 7.906 kB / 0.5956 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.475e-05/0.2096, allocations: 16.2 kB / 0.5956 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2096, allocations: 3.984 kB / 0.5956 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2097, allocations: 0 / 0.5956 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/0.2097, allocations: 81.02 kB / 0.5957 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.2098, allocations: 4 kB / 0.5957 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.2101, allocations: 19.98 kB / 0.5957 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.2102, allocations: 7.984 kB / 0.5957 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006229/0.2109, allocations: 177 kB / 0.5959 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005608/0.2114, allocations: 266.7 kB / 0.5962 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000204/0.2117, allocations: 27.98 kB / 0.5962 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001144/0.2118, allocations: 107.8 kB / 0.5963 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of Backend: time 9.91e-07/0.2118, allocations: 0 / 0.5963 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006539/0.2125, allocations: 114.4 kB / 0.5964 GB, free: 6.02 MB / 0.4948 GB Notification: Performance of SimCode: time 0.0008753/0.2134, allocations: 0.6482 MB / 0.597 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of Templates: time 0.005954/0.2194, allocations: 0.8494 MB / 0.5979 GB, free: 4.477 MB / 0.4948 GB