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 3.968/3.968, allocations: 460.5 MB / 472.6 MB, free: 5.316 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.808e-05/2.791e-05, allocations: 2.953 kB / 0.5681 GB, free: 10.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1906, allocations: 106.2 MB / 0.6718 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7073/0.898, allocations: 132.8 MB / 0.8016 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.8983, allocations: 93.11 kB / 0.8017 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005417/0.9037, allocations: 1.502 MB / 0.8031 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.329e-06/0.9037, allocations: 0 / 0.8031 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.814e-05/0.9038, allocations: 3.844 kB / 0.8031 GB, free: 12.7 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.0003786/0.9042, allocations: 373 kB / 0.8035 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.9042, allocations: 11.66 kB / 0.8035 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.9043, allocations: 11.7 kB / 0.8035 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.9044, allocations: 183.3 kB / 0.8037 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.9044, allocations: 3.844 kB / 0.8037 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.9044, allocations: 6.125 kB / 0.8037 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.9046, allocations: 79.83 kB / 0.8038 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.046e-06/0.9046, allocations: 0 / 0.8038 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.9047, allocations: 3.312 kB / 0.8038 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.432e-06/0.9047, allocations: 5.484 kB / 0.8038 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.9048, allocations: 33.69 kB / 0.8038 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.9053, allocations: 330.3 kB / 0.8041 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.9054, allocations: 47.94 kB / 0.8042 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.9055, allocations: 19.83 kB / 0.8042 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.9055, allocations: 0 / 0.8042 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.9055, allocations: 39.58 kB / 0.8042 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.152e-06/0.9055, allocations: 4 kB / 0.8042 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002132/0.9058, allocations: 62.98 kB / 0.8043 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.9058, allocations: 77.11 kB / 0.8044 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.545e-05/0.9059, allocations: 119.1 kB / 0.8045 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.9059, allocations: 29.2 kB / 0.8045 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.906, allocations: 97.53 kB / 0.8046 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.906, allocations: 16.05 kB / 0.8046 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-06/0.906, allocations: 3.844 kB / 0.8046 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.422e-05/0.9061, allocations: 320.7 kB / 0.8049 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.055e-05/0.9062, allocations: 15.31 kB / 0.8049 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.882e-05/0.9063, allocations: 33.47 kB / 0.805 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.069e-05/0.9063, allocations: 12.59 kB / 0.805 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.9063, allocations: 0 / 0.805 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001536/0.9065, allocations: 70.36 kB / 0.805 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.9065, allocations: 7.797 kB / 0.8051 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.9065, allocations: 0 / 0.8051 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.9066, allocations: 1.266 kB / 0.8051 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.9067, allocations: 18 kB / 0.8051 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.35e-06/0.9067, allocations: 0.5469 kB / 0.8051 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.935e-05/0.9068, allocations: 15.89 kB / 0.8051 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.9069, allocations: 0 / 0.8051 GB, free: 10.97 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.841e-05/0.9069, allocations: 108.8 kB / 0.8052 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.907, allocations: 5.359 kB / 0.8052 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/0.907, allocations: 26.77 kB / 0.8052 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.016e-06/0.907, allocations: 1.734 kB / 0.8052 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.983e-06/0.9071, allocations: 0 / 0.8052 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.782e-06/0.9071, allocations: 0 / 0.8052 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.9073, allocations: 185 kB / 0.8054 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.227e-06/0.9073, allocations: 0 / 0.8054 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.316e-05/0.9074, allocations: 11.3 kB / 0.8054 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.546e-06/0.9074, allocations: 3.969 kB / 0.8054 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.9074, allocations: 1.5 kB / 0.8054 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.233e-06/0.9074, allocations: 8.141 kB / 0.8054 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.409e-06/0.9074, allocations: 3.984 kB / 0.8054 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.9076, allocations: 162.6 kB / 0.8056 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.9077, allocations: 84.98 kB / 0.8057 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.9077, allocations: 5.312 kB / 0.8057 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.9079, allocations: 14.28 kB / 0.8057 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.9079, allocations: 17.73 kB / 0.8057 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.908, allocations: 0 / 0.8057 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.707e-05/0.908, allocations: 104.5 kB / 0.8058 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.11e-07/0.908, allocations: 0 / 0.8058 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003084/0.9084, allocations: 19.06 kB / 0.8058 GB, free: 10.31 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.0001057/0.9085, allocations: 100 kB / 0.8059 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001497/0.9086, allocations: 36.14 kB / 0.8059 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.9087, allocations: 0 / 0.8059 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.843e-05/0.9087, allocations: 23.08 kB / 0.806 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.9089, allocations: 2.562 kB / 0.806 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.9093, allocations: 106.4 kB / 0.8061 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.9094, allocations: 0.6982 MB / 0.8068 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.462e-05/0.9095, allocations: 1.125 kB / 0.8068 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.9096, allocations: 17.08 kB / 0.8068 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of SimCode: time 1.512e-06/0.9096, allocations: 0 / 0.8068 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of Templates: time 0.003458/0.913, allocations: 0.7147 MB / 0.8075 GB, free: 9.359 MB / 0.6355 GB