Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.283/4.283, allocations: 460.4 MB / 472.6 MB, free: 5.371 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.518e-05/3.54e-05, allocations: 4 kB / 0.5682 GB, free: 10.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2467, allocations: 106.2 MB / 0.6719 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8911/1.138, allocations: 132.8 MB / 0.8016 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/1.138, allocations: 89.03 kB / 0.8017 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006149/1.144, allocations: 1.514 MB / 0.8032 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.974e-06/1.144, allocations: 0 / 0.8032 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.055e-06/1.144, allocations: 0 / 0.8032 GB, free: 12.38 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.0005027/1.145, allocations: 377.7 kB / 0.8036 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/1.145, allocations: 7.812 kB / 0.8036 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/1.145, allocations: 39.55 kB / 0.8036 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/1.145, allocations: 11.77 kB / 0.8036 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/1.145, allocations: 176.7 kB / 0.8038 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/1.145, allocations: 3.844 kB / 0.8038 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/1.145, allocations: 6.719 kB / 0.8038 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/1.146, allocations: 84.81 kB / 0.8039 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/1.146, allocations: 0 / 0.8039 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/1.146, allocations: 3.938 kB / 0.8039 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.146, allocations: 1.172 kB / 0.8039 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/1.146, allocations: 42.53 kB / 0.8039 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005632/1.146, allocations: 326.1 kB / 0.8042 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/1.146, allocations: 45.92 kB / 0.8043 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.888e-05/1.147, allocations: 23.66 kB / 0.8043 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/1.147, allocations: 3.953 kB / 0.8043 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/1.147, allocations: 30.56 kB / 0.8043 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/1.147, allocations: 4 kB / 0.8043 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002293/1.147, allocations: 62.16 kB / 0.8044 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/1.147, allocations: 79.67 kB / 0.8045 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/1.147, allocations: 117.6 kB / 0.8046 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/1.147, allocations: 30.03 kB / 0.8046 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/1.147, allocations: 101.1 kB / 0.8047 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/1.147, allocations: 12.16 kB / 0.8047 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-06/1.147, allocations: 0 / 0.8047 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.365e-05/1.147, allocations: 318.3 kB / 0.805 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.359e-05/1.147, allocations: 22.66 kB / 0.8051 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.433e-05/1.147, allocations: 28.59 kB / 0.8051 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.405e-05/1.147, allocations: 12.78 kB / 0.8051 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.147, allocations: 0 / 0.8051 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001567/1.148, allocations: 70.31 kB / 0.8052 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.148, allocations: 9.109 kB / 0.8052 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/1.148, allocations: 3.844 kB / 0.8052 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/1.148, allocations: 0 / 0.8052 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/1.148, allocations: 14.69 kB / 0.8052 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/1.148, allocations: 0 / 0.8052 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/1.148, allocations: 15.33 kB / 0.8052 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/1.148, allocations: 5.828 kB / 0.8052 GB, free: 10.61 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 6.68e-05/1.148, allocations: 112.7 kB / 0.8053 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/1.148, allocations: 7.75 kB / 0.8053 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/1.148, allocations: 20.23 kB / 0.8053 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/1.148, allocations: 3.844 kB / 0.8053 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/1.148, allocations: 0 / 0.8053 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.148, allocations: 0 / 0.8053 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/1.149, allocations: 191.3 kB / 0.8055 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.149, allocations: 0 / 0.8055 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/1.149, allocations: 10.97 kB / 0.8055 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.149, allocations: 0 / 0.8055 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/1.149, allocations: 0 / 0.8055 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/1.149, allocations: 3.953 kB / 0.8055 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.149, allocations: 4 kB / 0.8055 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/1.149, allocations: 160.3 kB / 0.8057 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/1.149, allocations: 86.36 kB / 0.8058 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/1.149, allocations: 3.844 kB / 0.8058 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/1.149, allocations: 15.84 kB / 0.8058 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/1.149, allocations: 15.66 kB / 0.8058 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/1.149, allocations: 5.734 kB / 0.8058 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.168e-05/1.149, allocations: 101.5 kB / 0.8059 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-07/1.149, allocations: 0 / 0.8059 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003015/1.15, allocations: 11.06 kB / 0.8059 GB, free: 9.953 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.0007945/1.15, allocations: 0.7036 MB / 0.8066 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001743/1.151, allocations: 34.06 kB / 0.8067 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.151, allocations: 0 / 0.8067 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.478e-05/1.151, allocations: 20.31 kB / 0.8067 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/1.151, allocations: 11.67 kB / 0.8067 GB, free: 25.28 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005541/1.152, allocations: 134.7 kB / 0.8068 GB, free: 25.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/1.152, allocations: 0.6937 MB / 0.8075 GB, free: 24.47 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.679e-05/1.152, allocations: 9.297 kB / 0.8075 GB, free: 24.46 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.216e-05/1.152, allocations: 19.89 kB / 0.8075 GB, free: 24.46 MB / 0.6511 GB Notification: Performance of SimCode: time 1.153e-06/1.152, allocations: 0 / 0.8075 GB, free: 24.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/1.176, allocations: 1.706 MB / 0.8092 GB, free: 24.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/1.177, allocations: 176.1 kB / 0.8093 GB, free: 23.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/3.406, allocations: 0 / 0.8093 GB, free: 23.99 MB / 0.6511 GB