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 4.409/4.409, allocations: 431.3 MB / 445.8 MB, free: 5.422 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.505e-05/3.505e-05, allocations: 4 kB / 0.5354 GB, free: 14.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6975/0.6976, allocations: 98.71 MB / 0.6318 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002704/0.7004, allocations: 1.351 MB / 0.6331 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.7015, allocations: 393 kB / 0.6335 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.818e-05/0.7016, allocations: 0 / 0.6335 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.7017, allocations: 11.92 kB / 0.6335 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.7018, allocations: 15.92 kB / 0.6335 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.702, allocations: 27.89 kB / 0.6336 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.7021, allocations: 31.97 kB / 0.6336 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.7023, allocations: 23.88 kB / 0.6336 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.7024, allocations: 19.92 kB / 0.6336 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.7025, allocations: 27.91 kB / 0.6337 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 2.007e-05/0.7026, allocations: 4 kB / 0.6337 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.7026, allocations: 4 kB / 0.6337 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.7026, allocations: 15.92 kB / 0.6337 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.7027, allocations: 4 kB / 0.6337 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.7028, allocations: 54.2 kB / 0.6337 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.7028, allocations: 0 / 0.6337 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.206e-06/0.7028, allocations: 0 / 0.6337 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.7028, allocations: 0 / 0.6337 GB, free: 9.969 MB / 0.5105 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.0006925/0.7035, allocations: 379.2 kB / 0.6341 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.7036, allocations: 8.031 kB / 0.6341 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.7037, allocations: 15.86 kB / 0.6341 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.7039, allocations: 174.9 kB / 0.6343 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.7039, allocations: 4 kB / 0.6343 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.704, allocations: 8 kB / 0.6343 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.7043, allocations: 91.38 kB / 0.6344 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.7043, allocations: 0 / 0.6344 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.7044, allocations: 4 kB / 0.6344 GB, free: 9.199 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.7044, allocations: 4 kB / 0.6344 GB, free: 9.195 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003328/0.7047, allocations: 51.91 kB / 0.6344 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000688/0.7054, allocations: 340.6 kB / 0.6348 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.7057, allocations: 62.58 kB / 0.6348 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.7057, allocations: 0 / 0.6348 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.7057, allocations: 38.52 kB / 0.6349 GB, free: 8.645 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 3.807e-06/0.7058, allocations: 0 / 0.6349 GB, free: 8.645 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0005473/0.7063, allocations: 121.6 kB / 0.635 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.7064, allocations: 85.03 kB / 0.6351 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.7065, allocations: 113.3 kB / 0.6352 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.7066, allocations: 29.7 kB / 0.6352 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.7067, allocations: 100 kB / 0.6353 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.7067, allocations: 11.84 kB / 0.6353 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/0.7067, allocations: 0 / 0.6353 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.7069, allocations: 318.8 kB / 0.6356 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.707, allocations: 31.98 kB / 0.6356 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.7072, allocations: 37.7 kB / 0.6357 GB, free: 7.758 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.7074, allocations: 28.02 kB / 0.6357 GB, free: 7.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7074, allocations: 0 / 0.6357 GB, free: 7.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003652/0.7077, allocations: 93.58 kB / 0.6358 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.7078, allocations: 8 kB / 0.6358 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.7078, allocations: 3.953 kB / 0.6358 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.7078, allocations: 3.938 kB / 0.6358 GB, free: 7.617 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.708, allocations: 19.92 kB / 0.6358 GB, free: 7.598 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.708, allocations: 0 / 0.6358 GB, free: 7.598 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.7082, allocations: 15.98 kB / 0.6358 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.7082, allocations: 0 / 0.6358 GB, free: 7.582 MB / 0.5105 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 0.0001281/0.7084, allocations: 117.8 kB / 0.636 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.7084, allocations: 7.891 kB / 0.636 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.839e-05/0.7085, allocations: 12.25 kB / 0.636 GB, free: 7.434 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.7085, allocations: 7.953 kB / 0.636 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.7085, allocations: 0 / 0.636 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7085, allocations: 0 / 0.636 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.7088, allocations: 189.6 kB / 0.6362 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.7088, allocations: 0 / 0.6362 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.709, allocations: 11.98 kB / 0.6362 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.709, allocations: 0 / 0.6362 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.709, allocations: 4.188 kB / 0.6362 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.709, allocations: 4 kB / 0.6362 GB, free: 7.172 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.709, allocations: 3.953 kB / 0.6362 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.7094, allocations: 187.4 kB / 0.6364 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.7095, allocations: 85.02 kB / 0.6364 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.7095, allocations: 4 kB / 0.6364 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.7097, allocations: 23.92 kB / 0.6365 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.7098, allocations: 11.94 kB / 0.6365 GB, free: 6.828 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.7098, allocations: 3.984 kB / 0.6365 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.349e-05/0.7099, allocations: 99.83 kB / 0.6366 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7099, allocations: 0 / 0.6366 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002876/0.7102, allocations: 15.94 kB / 0.6366 GB, free: 6.711 MB / 0.5105 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.0001313/0.7104, allocations: 99.25 kB / 0.6367 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003316/0.7107, allocations: 67.91 kB / 0.6368 GB, free: 6.539 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7107, allocations: 0 / 0.6368 GB, free: 6.539 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.7109, allocations: 35.97 kB / 0.6368 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.7111, allocations: 6.438 kB / 0.6368 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/0.7116, allocations: 195.9 kB / 0.637 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.7119, allocations: 0.6965 MB / 0.6377 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.776e-05/0.712, allocations: 8.297 kB / 0.6377 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.7121, allocations: 11.44 kB / 0.6377 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of SimCode: time 6.31e-07/0.7121, allocations: 0 / 0.6377 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of Templates: time 0.003845/0.7159, allocations: 0.7215 MB / 0.6384 GB, free: 4.82 MB / 0.5105 GB