Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.017/4.017, allocations: 432.8 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.905e-05/3.908e-05, allocations: 6.812 kB / 0.5338 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2304, allocations: 98.73 MB / 0.6302 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2317/0.4621, allocations: 125.8 MB / 0.7531 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/0.4625, allocations: 95.91 kB / 0.7532 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00637/0.4689, allocations: 1.442 MB / 0.7546 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4689, allocations: 0 / 0.7546 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.4689, allocations: 4 kB / 0.7546 GB, free: 6.59 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.0005708/0.4695, allocations: 374.4 kB / 0.755 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.4696, allocations: 8.031 kB / 0.755 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.875e-05/0.4696, allocations: 30.56 kB / 0.755 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.4697, allocations: 15.86 kB / 0.755 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.4699, allocations: 186.9 kB / 0.7552 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.4699, allocations: 0 / 0.7552 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.47, allocations: 4 kB / 0.7552 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.4702, allocations: 83.38 kB / 0.7553 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4702, allocations: 0 / 0.7553 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.4702, allocations: 0 / 0.7553 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.4702, allocations: 4 kB / 0.7553 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.4704, allocations: 28 kB / 0.7553 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000647/0.471, allocations: 336.6 kB / 0.7556 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.4712, allocations: 38.58 kB / 0.7557 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.723e-05/0.4713, allocations: 20.95 kB / 0.7557 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.4713, allocations: 7.938 kB / 0.7557 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.4713, allocations: 38.52 kB / 0.7557 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.104e-06/0.4714, allocations: 0 / 0.7557 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000257/0.4716, allocations: 65.7 kB / 0.7558 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.4717, allocations: 85.05 kB / 0.7559 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.4718, allocations: 113.3 kB / 0.756 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.4719, allocations: 29.7 kB / 0.756 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.881e-05/0.472, allocations: 96.05 kB / 0.7561 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.472, allocations: 15.89 kB / 0.7561 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.472, allocations: 0 / 0.7561 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.4722, allocations: 314.8 kB / 0.7564 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.755e-05/0.4722, allocations: 19.94 kB / 0.7564 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.4723, allocations: 33.7 kB / 0.7565 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.367e-05/0.4724, allocations: 15.94 kB / 0.7565 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4724, allocations: 0 / 0.7565 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001834/0.4726, allocations: 73.72 kB / 0.7566 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.4726, allocations: 11.98 kB / 0.7566 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4727, allocations: 0 / 0.7566 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.4727, allocations: 0 / 0.7566 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.4728, allocations: 11.98 kB / 0.7566 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.4729, allocations: 4 kB / 0.7566 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.473, allocations: 15.92 kB / 0.7566 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.4731, allocations: 4 kB / 0.7566 GB, free: 4.305 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 8.676e-05/0.4732, allocations: 109 kB / 0.7567 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.4732, allocations: 7.906 kB / 0.7567 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.4733, allocations: 15.98 kB / 0.7567 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.4733, allocations: 0 / 0.7567 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4733, allocations: 0 / 0.7567 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.4733, allocations: 3.984 kB / 0.7567 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.4736, allocations: 189.6 kB / 0.7569 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4736, allocations: 0 / 0.7569 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.4737, allocations: 11.98 kB / 0.7569 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.4737, allocations: 4 kB / 0.7569 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.4738, allocations: 0 / 0.7569 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.4738, allocations: 3.953 kB / 0.7569 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4738, allocations: 0 / 0.7569 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.474, allocations: 163.4 kB / 0.7571 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.4741, allocations: 81.02 kB / 0.7572 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.4742, allocations: 8 kB / 0.7572 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.4744, allocations: 15.98 kB / 0.7572 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.4744, allocations: 11.94 kB / 0.7572 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.4745, allocations: 7.984 kB / 0.7572 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.207e-05/0.4746, allocations: 95.28 kB / 0.7573 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.31e-07/0.4746, allocations: 0 / 0.7573 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003136/0.4749, allocations: 12 kB / 0.7573 GB, free: 3.488 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.0005406/0.4754, allocations: 0.7006 MB / 0.758 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.4756, allocations: 39.92 kB / 0.758 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4756, allocations: 3.938 kB / 0.758 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.324e-05/0.4757, allocations: 23.94 kB / 0.7581 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.476, allocations: 3.953 kB / 0.7581 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005648/0.4766, allocations: 130.4 kB / 0.7582 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.4769, allocations: 0.6965 MB / 0.7589 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.125e-05/0.477, allocations: 8.172 kB / 0.7589 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.941e-05/0.477, allocations: 23.42 kB / 0.7589 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of SimCode: time 1.001e-06/0.4771, allocations: 0 / 0.7589 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.5015, allocations: 1.704 MB / 0.7606 GB, free: 160 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003528/0.5019, allocations: 180.1 kB / 0.7607 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/2.712, allocations: 8 kB / 0.7607 GB, free: 15.93 MB / 0.6511 GB