Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadModel(Buildings): time 3.968/3.968, allocations: 464.6 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.39e-05, allocations: 11.92 kB / 0.5731 GB, free: 5.695 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.19, allocations: 107.2 MB / 0.6778 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7114/0.9015, allocations: 133.2 MB / 0.8079 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.9018, allocations: 93.75 kB / 0.808 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005332/0.9071, allocations: 1.502 MB / 0.8094 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.11e-06/0.9072, allocations: 0 / 0.8094 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.718e-05/0.9072, allocations: 3.906 kB / 0.8094 GB, free: 11.96 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.0003732/0.9076, allocations: 371.8 kB / 0.8098 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.9076, allocations: 11.81 kB / 0.8098 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.9077, allocations: 14.75 kB / 0.8098 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.9078, allocations: 174.7 kB / 0.81 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.9078, allocations: 7.156 kB / 0.81 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.9079, allocations: 0 / 0.81 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.9081, allocations: 84.36 kB / 0.8101 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.85e-06/0.9081, allocations: 3.906 kB / 0.8101 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.9081, allocations: 0 / 0.8101 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.58e-06/0.9081, allocations: 0 / 0.8101 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.9082, allocations: 33.84 kB / 0.8101 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.9087, allocations: 332.8 kB / 0.8104 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.9088, allocations: 43.25 kB / 0.8105 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.175e-05/0.9089, allocations: 20.55 kB / 0.8105 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.9089, allocations: 0 / 0.8105 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.909, allocations: 38.22 kB / 0.8105 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.689e-06/0.909, allocations: 96 / 0.8105 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002108/0.9092, allocations: 72.84 kB / 0.8106 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.9092, allocations: 84.62 kB / 0.8107 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.329e-05/0.9093, allocations: 119.1 kB / 0.8108 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.9094, allocations: 29.7 kB / 0.8108 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.9094, allocations: 105 kB / 0.8109 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.9095, allocations: 6.672 kB / 0.8109 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.684e-06/0.9095, allocations: 0 / 0.8109 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.9095, allocations: 320.6 kB / 0.8112 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.936e-05/0.9096, allocations: 14.84 kB / 0.8112 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.754e-05/0.9097, allocations: 28.5 kB / 0.8113 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.945e-05/0.9097, allocations: 13.3 kB / 0.8113 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.135e-06/0.9097, allocations: 7.938 kB / 0.8113 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001496/0.9099, allocations: 70.36 kB / 0.8113 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.9099, allocations: 3.781 kB / 0.8113 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.932e-06/0.9099, allocations: 0 / 0.8113 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.91, allocations: 0 / 0.8113 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.9101, allocations: 13.47 kB / 0.8114 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.9101, allocations: 7.828 kB / 0.8114 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.9102, allocations: 13.48 kB / 0.8114 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.9103, allocations: 4.594 kB / 0.8114 GB, free: 10.23 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 5.742e-05/0.9103, allocations: 104.2 kB / 0.8115 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.9104, allocations: 12.66 kB / 0.8115 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.9104, allocations: 13.17 kB / 0.8115 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.913e-06/0.9105, allocations: 0 / 0.8115 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.204e-06/0.9105, allocations: 0 / 0.8115 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-06/0.9105, allocations: 3.953 kB / 0.8115 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.9107, allocations: 186.8 kB / 0.8117 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-06/0.9107, allocations: 0 / 0.8117 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.6e-05/0.9108, allocations: 14.17 kB / 0.8117 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.9108, allocations: 2.484 kB / 0.8117 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.9109, allocations: 7.812 kB / 0.8117 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.18e-06/0.9109, allocations: 0 / 0.8117 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.038e-06/0.9109, allocations: 192 / 0.8117 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.9111, allocations: 161.7 kB / 0.8119 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.9111, allocations: 94.97 kB / 0.812 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.9111, allocations: 4 kB / 0.812 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.9113, allocations: 14.58 kB / 0.812 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.9114, allocations: 13.5 kB / 0.812 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.272e-06/0.9114, allocations: 0 / 0.812 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.622e-05/0.9115, allocations: 101.4 kB / 0.8121 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.8e-07/0.9115, allocations: 0 / 0.8121 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003206/0.9118, allocations: 11.62 kB / 0.8121 GB, free: 9.586 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 9.981e-05/0.9119, allocations: 106.4 kB / 0.8122 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001663/0.9121, allocations: 43.56 kB / 0.8122 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.699e-06/0.9121, allocations: 0 / 0.8122 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.65e-05/0.9122, allocations: 14.66 kB / 0.8123 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.9124, allocations: 11.02 kB / 0.8123 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.9127, allocations: 103.5 kB / 0.8124 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.9131, allocations: 0.6968 MB / 0.813 GB, free: 24.71 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.688e-05/0.9132, allocations: 8.016 kB / 0.8131 GB, free: 24.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.9133, allocations: 11.31 kB / 0.8131 GB, free: 24.7 MB / 0.6511 GB Notification: Performance of SimCode: time 1.434e-06/0.9133, allocations: 0 / 0.8131 GB, free: 24.7 MB / 0.6511 GB Notification: Performance of Templates: time 0.003382/0.9167, allocations: 0.7254 MB / 0.8138 GB, free: 24.62 MB / 0.6511 GB