Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadModel(Buildings): time 3.86/3.86, allocations: 432.8 MB / 444.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.734e-05/3.734e-05, allocations: 3.906 kB / 0.5337 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1737, allocations: 98.72 MB / 0.6301 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1975/0.3712, allocations: 125.8 MB / 0.753 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/0.3716, allocations: 83.94 kB / 0.7531 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005903/0.3775, allocations: 1.442 MB / 0.7545 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.444e-06/0.3775, allocations: 4 kB / 0.7545 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.465e-06/0.3776, allocations: 0 / 0.7545 GB, free: 6.695 MB / 0.6355 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.0005197/0.3781, allocations: 370.3 kB / 0.7549 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.3781, allocations: 12.03 kB / 0.7549 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.059e-05/0.3782, allocations: 15.77 kB / 0.7549 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.3784, allocations: 179 kB / 0.7551 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3784, allocations: 4 kB / 0.7551 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.3785, allocations: 7.984 kB / 0.7551 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.3787, allocations: 79.33 kB / 0.7552 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.754e-06/0.3787, allocations: 4 kB / 0.7552 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.3787, allocations: 0 / 0.7552 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.31e-06/0.3787, allocations: 0 / 0.7552 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.3789, allocations: 28 kB / 0.7552 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006536/0.3795, allocations: 344.6 kB / 0.7555 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.3797, allocations: 34.58 kB / 0.7555 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.981e-05/0.3797, allocations: 20.86 kB / 0.7556 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.3798, allocations: 12.08 kB / 0.7556 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.3798, allocations: 34.52 kB / 0.7556 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.917e-06/0.3798, allocations: 0 / 0.7556 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002431/0.3801, allocations: 61.59 kB / 0.7557 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.3802, allocations: 77.2 kB / 0.7557 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.3803, allocations: 121.2 kB / 0.7559 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.3803, allocations: 29.7 kB / 0.7559 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.3804, allocations: 104 kB / 0.756 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.3805, allocations: 7.906 kB / 0.756 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.325e-06/0.3805, allocations: 0 / 0.756 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3807, allocations: 318.8 kB / 0.7563 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.07e-05/0.3807, allocations: 19.98 kB / 0.7563 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.937e-05/0.3808, allocations: 29.66 kB / 0.7563 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.267e-05/0.3809, allocations: 12 kB / 0.7564 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3809, allocations: 0 / 0.7564 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001814/0.3811, allocations: 73.72 kB / 0.7564 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3811, allocations: 8.031 kB / 0.7564 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.952e-06/0.3811, allocations: 3.953 kB / 0.7564 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3812, allocations: 4 kB / 0.7564 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.3813, allocations: 15.92 kB / 0.7565 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.069e-06/0.3814, allocations: 0 / 0.7565 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.3815, allocations: 19.92 kB / 0.7565 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.3815, allocations: 0 / 0.7565 GB, free: 4.453 MB / 0.6355 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 9.804e-05/0.3816, allocations: 113 kB / 0.7566 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/0.3817, allocations: 7.906 kB / 0.7566 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.925e-05/0.3817, allocations: 12.02 kB / 0.7566 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.418e-06/0.3817, allocations: 3.953 kB / 0.7566 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.125e-06/0.3817, allocations: 0 / 0.7566 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3818, allocations: 0 / 0.7566 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.382, allocations: 185.6 kB / 0.7568 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.553e-06/0.3821, allocations: 0 / 0.7568 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.3822, allocations: 8 kB / 0.7568 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.039e-06/0.3822, allocations: 4 kB / 0.7568 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.3822, allocations: 7.984 kB / 0.7568 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3822, allocations: 0 / 0.7568 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.3822, allocations: 3.953 kB / 0.7568 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.3825, allocations: 159.4 kB / 0.757 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.3825, allocations: 85.11 kB / 0.757 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.3826, allocations: 7.984 kB / 0.757 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.3828, allocations: 19.98 kB / 0.7571 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.3828, allocations: 15.92 kB / 0.7571 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.677e-06/0.3829, allocations: 0 / 0.7571 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.089e-05/0.383, allocations: 99.78 kB / 0.7572 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.04e-07/0.383, allocations: 0 / 0.7572 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003215/0.3833, allocations: 12 kB / 0.7572 GB, free: 3.633 MB / 0.6355 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.0001432/0.3835, allocations: 103.2 kB / 0.7573 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.3837, allocations: 40 kB / 0.7573 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.3837, allocations: 0 / 0.7573 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.103e-05/0.3838, allocations: 31.86 kB / 0.7574 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.384, allocations: 3.938 kB / 0.7574 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.3844, allocations: 92.8 kB / 0.7574 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.3847, allocations: 0.6965 MB / 0.7581 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.674e-05/0.3848, allocations: 8 kB / 0.7581 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.603e-05/0.3849, allocations: 11.42 kB / 0.7581 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of SimCode: time 1.582e-06/0.3849, allocations: 0 / 0.7581 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of Templates: time 0.003822/0.3887, allocations: 0.724 MB / 0.7588 GB, free: 1.879 MB / 0.6355 GB