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.524/3.524, allocations: 402.1 MB / 416 MB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.272e-05, allocations: 8 kB / 0.5004 GB, free: 8.211 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1707, allocations: 92.69 MB / 0.5909 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6397/0.8104, allocations: 121.5 MB / 0.7095 GB, free: 4.883 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.8108, allocations: 91.92 kB / 0.7096 GB, free: 4.793 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.006036/0.8169, allocations: 1.451 MB / 0.711 GB, free: 3.348 MB / 0.573 GB Notification: Performance of FrontEnd: time 5.995e-06/0.8169, allocations: 0 / 0.711 GB, free: 3.348 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.298e-06/0.817, allocations: 3.938 kB / 0.711 GB, free: 3.344 MB / 0.573 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.000539/0.8175, allocations: 383.2 kB / 0.7114 GB, free: 2.922 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.8176, allocations: 8.031 kB / 0.7114 GB, free: 2.914 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.8176, allocations: 11.86 kB / 0.7114 GB, free: 2.902 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.8178, allocations: 175 kB / 0.7116 GB, free: 2.691 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.8178, allocations: 4.625 kB / 0.7116 GB, free: 2.688 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.8179, allocations: 4 kB / 0.7116 GB, free: 2.684 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.8182, allocations: 99.3 kB / 0.7117 GB, free: 2.574 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.373e-06/0.8182, allocations: 0 / 0.7117 GB, free: 2.574 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.8182, allocations: 4 kB / 0.7117 GB, free: 2.57 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.807e-06/0.8182, allocations: 0 / 0.7117 GB, free: 2.57 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.8185, allocations: 59.92 kB / 0.7118 GB, free: 2.512 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006437/0.8191, allocations: 336.7 kB / 0.7121 GB, free: 2.133 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.8193, allocations: 54.56 kB / 0.7121 GB, free: 2.07 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.8194, allocations: 4.938 kB / 0.7121 GB, free: 2.066 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.8194, allocations: 34.56 kB / 0.7122 GB, free: 2.023 MB / 0.573 GB Notification: Performance of pre-optimization done (n=4): time 2.376e-06/0.8194, allocations: 0 / 0.7122 GB, free: 2.023 MB / 0.573 GB Notification: Performance of matching and sorting (n=4): time 0.0004888/0.8199, allocations: 117.7 kB / 0.7123 GB, free: 1.902 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.82, allocations: 77.11 kB / 0.7124 GB, free: 1.809 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.8202, allocations: 117.3 kB / 0.7125 GB, free: 1.684 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.8202, allocations: 29.7 kB / 0.7125 GB, free: 1.648 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 8.459e-05/0.8203, allocations: 104 kB / 0.7126 GB, free: 1.543 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.8203, allocations: 3.906 kB / 0.7126 GB, free: 1.539 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/0.8204, allocations: 6.406 kB / 0.7126 GB, free: 1.535 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.8205, allocations: 322.8 kB / 0.7129 GB, free: 1.211 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.8207, allocations: 27.98 kB / 0.7129 GB, free: 1.184 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.8208, allocations: 41.7 kB / 0.713 GB, free: 1.137 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.821, allocations: 28.02 kB / 0.713 GB, free: 1.109 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.809e-06/0.821, allocations: 0 / 0.713 GB, free: 1.109 MB / 0.573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003141/0.8213, allocations: 101.5 kB / 0.7131 GB, free: 1.004 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.8213, allocations: 7.953 kB / 0.7131 GB, free: 0.9961 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.8214, allocations: 0 / 0.7131 GB, free: 0.9961 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.8214, allocations: 4 kB / 0.7131 GB, free: 0.9922 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.8215, allocations: 11.98 kB / 0.7131 GB, free: 0.9805 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.024e-06/0.8216, allocations: 4 kB / 0.7131 GB, free: 0.9766 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.8217, allocations: 11.98 kB / 0.7131 GB, free: 0.9648 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.8217, allocations: 4 kB / 0.7131 GB, free: 0.9609 MB / 0.573 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.0001295/0.8219, allocations: 113.8 kB / 0.7133 GB, free: 0.8398 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/0.822, allocations: 11.91 kB / 0.7133 GB, free: 0.8281 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.224e-05/0.822, allocations: 16.14 kB / 0.7133 GB, free: 0.8086 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.822, allocations: 0 / 0.7133 GB, free: 0.8086 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.273e-06/0.822, allocations: 0 / 0.7133 GB, free: 0.8086 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.822, allocations: 4 kB / 0.7133 GB, free: 0.8047 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.8223, allocations: 185.6 kB / 0.7135 GB, free: 0.5742 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.368e-06/0.8223, allocations: 0 / 0.7135 GB, free: 0.5742 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.8225, allocations: 19.75 kB / 0.7135 GB, free: 0.5586 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.282e-06/0.8225, allocations: 4 kB / 0.7135 GB, free: 0.5547 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.8225, allocations: 0 / 0.7135 GB, free: 0.5547 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.567e-06/0.8225, allocations: 7.953 kB / 0.7135 GB, free: 0.5469 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.297e-06/0.8225, allocations: 0 / 0.7135 GB, free: 0.5469 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.8229, allocations: 187.6 kB / 0.7137 GB, free: 356 kB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.823, allocations: 85.19 kB / 0.7138 GB, free: 252 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.823, allocations: 8 kB / 0.7138 GB, free: 244 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.8232, allocations: 15.98 kB / 0.7138 GB, free: 228 kB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.8233, allocations: 15.94 kB / 0.7138 GB, free: 212 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.8233, allocations: 0 / 0.7138 GB, free: 212 kB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001127/0.8234, allocations: 100.5 kB / 0.7139 GB, free: 112 kB / 0.573 GB Notification: Performance of sort global known variables: time 1.091e-06/0.8234, allocations: 0 / 0.7139 GB, free: 112 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006458/0.8241, allocations: 15.94 kB / 0.7139 GB, free: 96 kB / 0.573 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.0002694/0.8244, allocations: 112 kB / 0.714 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005017/0.8249, allocations: 63.89 kB / 0.7141 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.86e-06/0.825, allocations: 0 / 0.7141 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.8252, allocations: 31.98 kB / 0.7141 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.8256, allocations: 8 kB / 0.7141 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007071/0.8263, allocations: 191 kB / 0.7143 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.8268, allocations: 0.7004 MB / 0.715 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.723e-05/0.8269, allocations: 0 / 0.715 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.827, allocations: 15.44 kB / 0.715 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of SimCode: time 5.106e-06/0.827, allocations: 0 / 0.715 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of Templates: time 0.005705/0.8327, allocations: 0.7335 MB / 0.7157 GB, free: 14.2 MB / 0.5886 GB