Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadModel(Buildings): time 4.454/4.454, allocations: 458.9 MB / 473.4 MB, free: 11.89 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.208e-05/3.202e-05, allocations: 4.094 kB / 0.5697 GB, free: 9.836 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2336, allocations: 106.2 MB / 0.6734 GB, free: 2.648 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002396/0.236, allocations: 1.37 MB / 0.6748 GB, free: 1.266 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0008974/0.237, allocations: 412.4 kB / 0.6752 GB, free: 0.8555 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.237, allocations: 0 / 0.6752 GB, free: 0.8555 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.459e-05/0.2371, allocations: 3.938 kB / 0.6752 GB, free: 0.8516 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 9.463e-05/0.2372, allocations: 23.89 kB / 0.6752 GB, free: 0.8281 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.2373, allocations: 15.92 kB / 0.6752 GB, free: 0.8125 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.2375, allocations: 43.94 kB / 0.6753 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.2376, allocations: 19.88 kB / 0.6753 GB, free: 0.75 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.2377, allocations: 23.92 kB / 0.6753 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.2378, allocations: 31.86 kB / 0.6753 GB, free: 0.6953 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 1.939e-05/0.2379, allocations: 0 / 0.6753 GB, free: 0.6953 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.2379, allocations: 4 kB / 0.6753 GB, free: 0.6914 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.2379, allocations: 3.984 kB / 0.6753 GB, free: 0.6875 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.238, allocations: 7.938 kB / 0.6753 GB, free: 0.6797 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.2381, allocations: 72.08 kB / 0.6754 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2381, allocations: 0 / 0.6754 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2381, allocations: 0 / 0.6754 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.2381, allocations: 0 / 0.6754 GB, free: 0.6094 MB / 0.5417 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.000625/0.2388, allocations: 367.2 kB / 0.6758 GB, free: 208 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.2388, allocations: 8.031 kB / 0.6758 GB, free: 200 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.2389, allocations: 15.86 kB / 0.6758 GB, free: 184 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.2391, allocations: 175 kB / 0.676 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.2391, allocations: 4 kB / 0.676 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.2391, allocations: 4 kB / 0.676 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.2395, allocations: 95.36 kB / 0.6761 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.2395, allocations: 3.938 kB / 0.6761 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.2395, allocations: 0 / 0.6761 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2395, allocations: 4 kB / 0.6761 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.2398, allocations: 55.97 kB / 0.6761 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006366/0.2405, allocations: 336.6 kB / 0.6764 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.2407, allocations: 50.56 kB / 0.6765 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.2407, allocations: 3.984 kB / 0.6765 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.2408, allocations: 42.45 kB / 0.6765 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.744e-06/0.2408, allocations: 4 kB / 0.6765 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4): time 0.0005341/0.2413, allocations: 117.7 kB / 0.6766 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.2414, allocations: 77.11 kB / 0.6767 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.2416, allocations: 121.2 kB / 0.6768 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.2416, allocations: 33.69 kB / 0.6769 GB, free: 14.92 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.2417, allocations: 99.98 kB / 0.677 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.2417, allocations: 11.89 kB / 0.677 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.2417, allocations: 0 / 0.677 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2419, allocations: 314.8 kB / 0.6773 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.242, allocations: 27.98 kB / 0.6773 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.2422, allocations: 41.7 kB / 0.6773 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.2424, allocations: 27.98 kB / 0.6774 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2424, allocations: 0 / 0.6774 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003464/0.2427, allocations: 101.5 kB / 0.6775 GB, free: 14.28 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.2428, allocations: 4 kB / 0.6775 GB, free: 14.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.2428, allocations: 11.89 kB / 0.6775 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2428, allocations: 0 / 0.6775 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.243, allocations: 11.98 kB / 0.6775 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.243, allocations: 0 / 0.6775 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.2432, allocations: 23.98 kB / 0.6775 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.2432, allocations: 0 / 0.6775 GB, free: 14.23 MB / 0.5573 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.0001135/0.2433, allocations: 113.8 kB / 0.6776 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.2434, allocations: 7.906 kB / 0.6776 GB, free: 14.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/0.2434, allocations: 12.25 kB / 0.6776 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2434, allocations: 3.953 kB / 0.6776 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2434, allocations: 0 / 0.6776 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.2435, allocations: 4.172 kB / 0.6776 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.2437, allocations: 185.6 kB / 0.6778 GB, free: 13.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2437, allocations: 4 kB / 0.6778 GB, free: 13.85 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.2439, allocations: 11.98 kB / 0.6778 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.2439, allocations: 3.984 kB / 0.6778 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.2439, allocations: 4 kB / 0.6778 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2439, allocations: 0 / 0.6778 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.2439, allocations: 3.953 kB / 0.6778 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.2443, allocations: 191.4 kB / 0.678 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.2444, allocations: 93.12 kB / 0.6781 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.2444, allocations: 4 kB / 0.6781 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.2446, allocations: 15.98 kB / 0.6781 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/0.2447, allocations: 11.94 kB / 0.6782 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.2447, allocations: 8 kB / 0.6782 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.702e-05/0.2448, allocations: 95.27 kB / 0.6782 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2448, allocations: 0 / 0.6782 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000287/0.2451, allocations: 16 kB / 0.6783 GB, free: 13.36 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001379/0.2453, allocations: 105.6 kB / 0.6784 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003925/0.2457, allocations: 63.91 kB / 0.6784 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2457, allocations: 4 kB / 0.6784 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.2458, allocations: 23.98 kB / 0.6785 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.2461, allocations: 9.875 kB / 0.6785 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005078/0.2466, allocations: 198.8 kB / 0.6787 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.2469, allocations: 0.6926 MB / 0.6793 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.661e-05/0.247, allocations: 11.94 kB / 0.6793 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.247, allocations: 11.44 kB / 0.6793 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of SimCode: time 7.01e-07/0.2471, allocations: 4 kB / 0.6794 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of Templates: time 0.003944/0.251, allocations: 0.7174 MB / 0.6801 GB, free: 11.47 MB / 0.5573 GB