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.518/3.518, allocations: 403.9 MB / 411 MB, free: 396 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.435e-05, allocations: 7.938 kB / 0.4942 GB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.48/0.48, allocations: 92.7 MB / 0.5847 GB, free: 2.387 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1768/0.6568, allocations: 120.8 MB / 0.7027 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.6571, allocations: 95.92 kB / 0.7028 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005424/0.6626, allocations: 1.433 MB / 0.7042 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.541e-06/0.6626, allocations: 0 / 0.7042 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.6627, allocations: 4 kB / 0.7042 GB, free: 7.859 MB / 0.5886 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.0004886/0.6632, allocations: 378.2 kB / 0.7045 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.6632, allocations: 8.031 kB / 0.7046 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.6633, allocations: 11.86 kB / 0.7046 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.6635, allocations: 176.8 kB / 0.7047 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.271e-06/0.6635, allocations: 0 / 0.7047 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.6635, allocations: 4 kB / 0.7047 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001241/0.6636, allocations: 28 kB / 0.7048 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.6638, allocations: 75.33 kB / 0.7048 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.449e-06/0.6638, allocations: 0 / 0.7048 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.6639, allocations: 7.953 kB / 0.7048 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.642e-06/0.6639, allocations: 3.938 kB / 0.7048 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.6645, allocations: 293.3 kB / 0.7051 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.6646, allocations: 50.61 kB / 0.7052 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.6647, allocations: 16.86 kB / 0.7052 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.6647, allocations: 3.953 kB / 0.7052 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.6647, allocations: 34.64 kB / 0.7052 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 3.731e-06/0.6647, allocations: 3.984 kB / 0.7052 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002365/0.665, allocations: 61.59 kB / 0.7053 GB, free: 6.566 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.665, allocations: 81.11 kB / 0.7054 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.6652, allocations: 114.2 kB / 0.7055 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.6652, allocations: 29.7 kB / 0.7055 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.6653, allocations: 99.98 kB / 0.7056 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.6653, allocations: 7.891 kB / 0.7056 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-06/0.6653, allocations: 3.938 kB / 0.7056 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.6655, allocations: 318.8 kB / 0.7059 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.106e-05/0.6656, allocations: 16 kB / 0.7059 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-05/0.6656, allocations: 29.7 kB / 0.706 GB, free: 5.828 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.141e-05/0.6657, allocations: 12.03 kB / 0.706 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.115e-06/0.6657, allocations: 4 kB / 0.706 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001738/0.6659, allocations: 65.59 kB / 0.706 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.6659, allocations: 7.953 kB / 0.706 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.6659, allocations: 3.938 kB / 0.706 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.666, allocations: 0 / 0.706 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.6661, allocations: 15.98 kB / 0.7061 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.641e-06/0.6661, allocations: 0 / 0.7061 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.6663, allocations: 20.17 kB / 0.7061 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.6663, allocations: 0 / 0.7061 GB, free: 5.695 MB / 0.5886 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.171e-05/0.6664, allocations: 109.4 kB / 0.7062 GB, free: 5.582 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.6665, allocations: 7.906 kB / 0.7062 GB, free: 5.574 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.388e-05/0.6665, allocations: 16.3 kB / 0.7062 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.203e-06/0.6665, allocations: 0 / 0.7062 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.392e-06/0.6665, allocations: 3.984 kB / 0.7062 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.673e-06/0.6666, allocations: 0 / 0.7062 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.6668, allocations: 158.2 kB / 0.7064 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.613e-06/0.6668, allocations: 4 kB / 0.7064 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.6669, allocations: 11.98 kB / 0.7064 GB, free: 5.344 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.562e-06/0.6669, allocations: 7.938 kB / 0.7064 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.6669, allocations: 0 / 0.7064 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.639e-06/0.667, allocations: 0 / 0.7064 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.067e-06/0.667, allocations: 3.953 kB / 0.7064 GB, free: 5.332 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.6672, allocations: 159.4 kB / 0.7065 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.6673, allocations: 85.02 kB / 0.7066 GB, free: 5.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.6673, allocations: 7.938 kB / 0.7066 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.6675, allocations: 11.98 kB / 0.7066 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.6675, allocations: 7.984 kB / 0.7066 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.6676, allocations: 7.953 kB / 0.7067 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.045e-05/0.6677, allocations: 100.4 kB / 0.7068 GB, free: 4.926 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.11e-07/0.6677, allocations: 0 / 0.7068 GB, free: 4.926 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003264/0.668, allocations: 15.94 kB / 0.7068 GB, free: 4.91 MB / 0.5886 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.0001428/0.6682, allocations: 108.9 kB / 0.7069 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001618/0.6683, allocations: 31.98 kB / 0.7069 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.749e-06/0.6684, allocations: 0 / 0.7069 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.235e-05/0.6684, allocations: 23.94 kB / 0.7069 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.6687, allocations: 4 kB / 0.7069 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.669, allocations: 91.8 kB / 0.707 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.6694, allocations: 0.6963 MB / 0.7077 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.075e-05/0.6694, allocations: 8.172 kB / 0.7077 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.6695, allocations: 7.438 kB / 0.7077 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of SimCode: time 1.373e-06/0.6695, allocations: 4 kB / 0.7077 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of Templates: time 0.003431/0.673, allocations: 0.6669 MB / 0.7084 GB, free: 3.223 MB / 0.5886 GB