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.533/3.533, allocations: 403.3 MB / 415.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.624e-05/3.638e-05, allocations: 4 kB / 0.499 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4925/0.4925, allocations: 92.68 MB / 0.5895 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1841/0.6767, allocations: 121.5 MB / 0.7082 GB, free: 4.711 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.677, allocations: 95.94 kB / 0.7083 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.00572/0.6827, allocations: 1.448 MB / 0.7097 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.868e-06/0.6828, allocations: 0 / 0.7097 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.6828, allocations: 4 kB / 0.7097 GB, free: 3.164 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.0005057/0.6833, allocations: 370.3 kB / 0.7101 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.6834, allocations: 11.97 kB / 0.7101 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.6834, allocations: 11.86 kB / 0.7101 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.6836, allocations: 175 kB / 0.7102 GB, free: 2.523 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.6837, allocations: 0 / 0.7102 GB, free: 2.523 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.6837, allocations: 12 kB / 0.7103 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.6839, allocations: 79.33 kB / 0.7103 GB, free: 2.422 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.282e-06/0.6839, allocations: 0 / 0.7103 GB, free: 2.422 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.6839, allocations: 4 kB / 0.7103 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.721e-06/0.684, allocations: 0 / 0.7103 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.6841, allocations: 35.95 kB / 0.7104 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/0.6847, allocations: 328.7 kB / 0.7107 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.6849, allocations: 42.58 kB / 0.7107 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.827e-05/0.6849, allocations: 24.75 kB / 0.7107 GB, free: 1.934 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.685, allocations: 0 / 0.7107 GB, free: 1.934 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.685, allocations: 38.64 kB / 0.7108 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 2.007e-06/0.685, allocations: 0 / 0.7108 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002373/0.6853, allocations: 69.62 kB / 0.7109 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.6853, allocations: 77.11 kB / 0.7109 GB, free: 1.719 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.6855, allocations: 117.3 kB / 0.711 GB, free: 1.594 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.6855, allocations: 25.7 kB / 0.7111 GB, free: 1.562 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.6856, allocations: 99.98 kB / 0.7112 GB, free: 1.461 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.6857, allocations: 15.89 kB / 0.7112 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.406e-06/0.6857, allocations: 0 / 0.7112 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6858, allocations: 318.8 kB / 0.7115 GB, free: 1.125 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-05/0.6859, allocations: 12 kB / 0.7115 GB, free: 1.113 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.361e-05/0.686, allocations: 33.7 kB / 0.7115 GB, free: 1.074 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.274e-05/0.686, allocations: 12 kB / 0.7115 GB, free: 1.062 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.169e-06/0.6861, allocations: 0 / 0.7115 GB, free: 1.062 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001824/0.6863, allocations: 81.42 kB / 0.7116 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.6863, allocations: 4 kB / 0.7116 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.549e-06/0.6863, allocations: 0 / 0.7116 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.6863, allocations: 4.031 kB / 0.7116 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.6865, allocations: 15.98 kB / 0.7116 GB, free: 0.9531 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.6865, allocations: 4 kB / 0.7116 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.6866, allocations: 11.98 kB / 0.7116 GB, free: 0.9375 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.6867, allocations: 4 kB / 0.7117 GB, free: 0.9336 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 8.787e-05/0.6867, allocations: 101 kB / 0.7117 GB, free: 0.8281 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.6868, allocations: 15.86 kB / 0.7118 GB, free: 0.8125 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.026e-05/0.6869, allocations: 12.03 kB / 0.7118 GB, free: 0.7969 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.925e-06/0.6869, allocations: 3.984 kB / 0.7118 GB, free: 0.793 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.413e-06/0.6869, allocations: 192 / 0.7118 GB, free: 0.793 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.572e-06/0.6869, allocations: 0 / 0.7118 GB, free: 0.793 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.6872, allocations: 189.6 kB / 0.712 GB, free: 0.5586 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.766e-06/0.6872, allocations: 3.984 kB / 0.712 GB, free: 0.5547 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.6873, allocations: 8 kB / 0.712 GB, free: 0.5469 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.23e-06/0.6873, allocations: 0 / 0.712 GB, free: 0.5469 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.6873, allocations: 11.94 kB / 0.712 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.894e-06/0.6874, allocations: 0 / 0.712 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.819e-06/0.6874, allocations: 7.875 kB / 0.712 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.6876, allocations: 163.5 kB / 0.7121 GB, free: 360 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-05/0.6877, allocations: 81.02 kB / 0.7122 GB, free: 260 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.6877, allocations: 4 kB / 0.7122 GB, free: 256 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.6879, allocations: 19.94 kB / 0.7122 GB, free: 236 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.688, allocations: 15.97 kB / 0.7123 GB, free: 220 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.688, allocations: 4 kB / 0.7123 GB, free: 216 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.472e-05/0.6881, allocations: 99.78 kB / 0.7124 GB, free: 116 kB / 0.5886 GB Notification: Performance of sort global known variables: time 7.43e-07/0.6881, allocations: 0 / 0.7124 GB, free: 116 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003187/0.6884, allocations: 15.94 kB / 0.7124 GB, free: 100 kB / 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.0001579/0.6886, allocations: 107 kB / 0.7125 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000167/0.6888, allocations: 35.94 kB / 0.7125 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.244e-06/0.6888, allocations: 4 kB / 0.7125 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.6889, allocations: 20 kB / 0.7125 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.6891, allocations: 10.22 kB / 0.7125 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.6894, allocations: 92.8 kB / 0.7126 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.6898, allocations: 0.6965 MB / 0.7133 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.687e-05/0.6899, allocations: 4 kB / 0.7133 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.6899, allocations: 19.36 kB / 0.7133 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of SimCode: time 1.477e-06/0.69, allocations: 0 / 0.7133 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of Templates: time 0.003616/0.6936, allocations: 0.7172 MB / 0.714 GB, free: 14.35 MB / 0.6042 GB