Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.387/4.387, allocations: 404.2 MB / 411.3 MB, free: 368 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.724e-05/2.741e-05, allocations: 4 kB / 0.4945 GB, free: 1.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6768/0.6769, allocations: 92.69 MB / 0.5851 GB, free: 2.305 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2492/0.9261, allocations: 120.1 MB / 0.7024 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003983/0.9266, allocations: 91.94 kB / 0.7024 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003465/0.9301, allocations: 0.7922 MB / 0.7032 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9301, allocations: 0 / 0.7032 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.9302, allocations: 0 / 0.7032 GB, free: 9.168 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004263/0.9306, allocations: 330.5 kB / 0.7035 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.9307, allocations: 12.02 kB / 0.7035 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.9307, allocations: 7.953 kB / 0.7035 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.9309, allocations: 171 kB / 0.7037 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.9309, allocations: 0 / 0.7037 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.9309, allocations: 0 / 0.7037 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.084e-05/0.931, allocations: 12 kB / 0.7037 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.253e-05/0.9311, allocations: 37.69 kB / 0.7038 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.9311, allocations: 3.938 kB / 0.7038 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.9312, allocations: 0 / 0.7038 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.9312, allocations: 3.953 kB / 0.7038 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.9316, allocations: 233.4 kB / 0.704 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.678e-05/0.9317, allocations: 26.52 kB / 0.704 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.837e-05/0.9318, allocations: 16.95 kB / 0.704 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.9318, allocations: 0 / 0.704 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.9319, allocations: 30.56 kB / 0.7041 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.883e-06/0.9319, allocations: 8 kB / 0.7041 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001892/0.9321, allocations: 45.59 kB / 0.7041 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.9321, allocations: 51.41 kB / 0.7042 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.927e-05/0.9322, allocations: 101 kB / 0.7043 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.9323, allocations: 25.7 kB / 0.7043 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.141e-05/0.9323, allocations: 84.14 kB / 0.7044 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.9324, allocations: 7.906 kB / 0.7044 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.9324, allocations: 0 / 0.7044 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.9325, allocations: 314.9 kB / 0.7047 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.9325, allocations: 4 kB / 0.7047 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.54e-05/0.9326, allocations: 8 kB / 0.7047 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.026e-05/0.9326, allocations: 3.984 kB / 0.7047 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9326, allocations: 0 / 0.7047 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001127/0.9327, allocations: 41.7 kB / 0.7047 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.9328, allocations: 6.344 kB / 0.7047 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.9328, allocations: 3.938 kB / 0.7047 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.9328, allocations: 0 / 0.7047 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.933, allocations: 20.02 kB / 0.7048 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.933, allocations: 3.984 kB / 0.7048 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.9331, allocations: 11.84 kB / 0.7048 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.9331, allocations: 4 kB / 0.7048 GB, free: 7.375 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.629e-05/0.9332, allocations: 101 kB / 0.7049 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001184/0.9333, allocations: 41.69 kB / 0.7049 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.9333, allocations: 4 kB / 0.7049 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.9334, allocations: 8 kB / 0.7049 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.9334, allocations: 3.953 kB / 0.7049 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.9334, allocations: 0 / 0.7049 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.9335, allocations: 0 / 0.7049 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.9337, allocations: 134.2 kB / 0.705 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.309e-06/0.9337, allocations: 7.984 kB / 0.7051 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-05/0.9338, allocations: 4 kB / 0.7051 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.9338, allocations: 0 / 0.7051 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.9338, allocations: 0 / 0.7051 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.9338, allocations: 0 / 0.7051 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.9338, allocations: 0 / 0.7051 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.934, allocations: 155.3 kB / 0.7052 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.9341, allocations: 77.11 kB / 0.7053 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.9341, allocations: 0 / 0.7053 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.9342, allocations: 7.938 kB / 0.7053 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.9343, allocations: 3.984 kB / 0.7053 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.9343, allocations: 4 kB / 0.7053 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.809e-05/0.9344, allocations: 91.56 kB / 0.7054 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9344, allocations: 0 / 0.7054 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000375/0.9348, allocations: 7.953 kB / 0.7054 GB, free: 6.648 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004643/0.9352, allocations: 0.6693 MB / 0.706 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.9354, allocations: 16.03 kB / 0.7061 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9354, allocations: 0 / 0.7061 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.355e-05/0.9354, allocations: 4 kB / 0.7061 GB, free: 5.934 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.9357, allocations: 13.48 kB / 0.7061 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004739/0.9362, allocations: 81.59 kB / 0.7062 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.9364, allocations: 0.6807 MB / 0.7068 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.938e-05/0.9365, allocations: 0 / 0.7068 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.9366, allocations: 15.56 kB / 0.7068 GB, free: 5.082 MB / 0.5886 GB Notification: Performance of SimCode: time 8.32e-07/0.9366, allocations: 4 kB / 0.7068 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03882/0.9754, allocations: 0.6512 MB / 0.7075 GB, free: 4.434 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004041/0.9759, allocations: 164.8 kB / 0.7076 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.582/3.558, allocations: 3.938 kB / 0.7076 GB, free: 4.238 MB / 0.5886 GB