Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.068/4.068, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.945e-05/3.951e-05, allocations: 7.984 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7827/0.7828, allocations: 92.68 MB / 0.5896 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.266/2.049, allocations: 392 MB / 0.9724 GB, free: 13.32 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004286/2.05, allocations: 86.14 kB / 0.9725 GB, free: 13.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.208/5.258, allocations: 0.5949 GB / 1.567 GB, free: 104 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.974e-06/5.258, allocations: 3.938 kB / 1.567 GB, free: 104 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002243/5.258, allocations: 47.45 kB / 1.568 GB, free: 104 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.005465/5.264, allocations: 1.825 MB / 1.569 GB, free: 102.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/5.264, allocations: 8.031 kB / 1.569 GB, free: 102.1 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004283/5.264, allocations: 163.6 kB / 1.569 GB, free: 102 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006476/5.271, allocations: 0.6493 MB / 1.57 GB, free: 101.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04709/5.318, allocations: 12.62 MB / 1.582 GB, free: 88.78 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000308/5.318, allocations: 157.5 kB / 1.583 GB, free: 88.61 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004815/5.319, allocations: 116 kB / 1.583 GB, free: 88.5 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00618/5.325, allocations: 1.387 MB / 1.584 GB, free: 86.99 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.24e-05/5.325, allocations: 7.938 kB / 1.584 GB, free: 86.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002571/5.325, allocations: 44 kB / 1.584 GB, free: 86.94 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.346e-05/5.325, allocations: 32 kB / 1.584 GB, free: 86.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005591/5.331, allocations: 1.105 MB / 1.585 GB, free: 85.8 MB / 0.7761 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01446/5.345, allocations: 6.918 MB / 1.592 GB, free: 78.45 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00431/5.35, allocations: 0.8542 MB / 1.593 GB, free: 77.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/5.351, allocations: 476.1 kB / 1.593 GB, free: 77.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006871/5.352, allocations: 0.5863 MB / 1.594 GB, free: 76.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002614/5.355, allocations: 0.6058 MB / 1.594 GB, free: 75.74 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=71): time 5.771e-06/5.355, allocations: 0 / 1.594 GB, free: 75.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=71): time 0.005391/5.36, allocations: 0.989 MB / 1.595 GB, free: 74.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.046e-05/5.36, allocations: 222.2 kB / 1.596 GB, free: 74.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003026/5.363, allocations: 1.128 MB / 1.597 GB, free: 73.35 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000342/5.364, allocations: 45.7 kB / 1.597 GB, free: 73.3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/5.365, allocations: 0.7759 MB / 1.597 GB, free: 72.51 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004631/5.365, allocations: 252.4 kB / 1.598 GB, free: 72.26 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/5.365, allocations: 20 kB / 1.598 GB, free: 72.24 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001211/5.366, allocations: 346 kB / 1.598 GB, free: 71.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/5.367, allocations: 385.9 kB / 1.598 GB, free: 71.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/5.369, allocations: 0.7715 MB / 1.599 GB, free: 70.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/5.37, allocations: 473.2 kB / 1.6 GB, free: 70.11 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/5.37, allocations: 4 kB / 1.6 GB, free: 70.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.00347/5.374, allocations: 1.195 MB / 1.601 GB, free: 68.89 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000736/5.375, allocations: 3.342 MB / 1.604 GB, free: 65.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/5.375, allocations: 12 kB / 1.604 GB, free: 65.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.742e-05/5.375, allocations: 19.95 kB / 1.604 GB, free: 65.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00578/5.38, allocations: 455.3 kB / 1.605 GB, free: 64.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/5.383, allocations: 2.41 MB / 1.607 GB, free: 62.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003358/5.386, allocations: 255 kB / 1.607 GB, free: 62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002676/5.386, allocations: 59.97 kB / 1.607 GB, free: 61.94 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/5.386, allocations: 8 kB / 1.607 GB, free: 61.93 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002766/5.389, allocations: 1.038 MB / 1.608 GB, free: 60.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/5.389, allocations: 8 kB / 1.608 GB, free: 60.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/5.389, allocations: 16 kB / 1.608 GB, free: 60.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003145/5.392, allocations: 364.4 kB / 1.609 GB, free: 60.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005993/5.393, allocations: 1.211 MB / 1.61 GB, free: 59.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003111/5.396, allocations: 239.2 kB / 1.61 GB, free: 59.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002865/5.397, allocations: 63.97 kB / 1.61 GB, free: 58.96 MB / 0.7761 GB Warning: Assuming fixed start value for the following 2 variables: chi.vol2.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.3118766234157572 * chi.vol2.rho_start unit = "kg" stateSelect=StateSelect.prefer protected = true final = true ) "Mass of fluid" type: Real chi.vol1.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.5797590564752818 * chi.vol1.rho_start unit = "kg" stateSelect=StateSelect.prefer protected = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004958/5.397, allocations: 192.5 kB / 1.61 GB, free: 58.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004574/5.398, allocations: 146.2 kB / 1.61 GB, free: 58.62 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/5.401, allocations: 1.101 MB / 1.611 GB, free: 57.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/5.401, allocations: 8 kB / 1.611 GB, free: 57.5 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/5.401, allocations: 4 kB / 1.611 GB, free: 57.49 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002091/5.403, allocations: 0.9419 MB / 1.612 GB, free: 56.52 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006251/5.409, allocations: 2.936 MB / 1.615 GB, free: 53.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/5.409, allocations: 0 / 1.615 GB, free: 53.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005047/5.414, allocations: 367.5 kB / 1.616 GB, free: 53.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002322/5.414, allocations: 57.69 kB / 1.616 GB, free: 53.06 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001609/5.415, allocations: 27.98 kB / 1.616 GB, free: 53.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004805/5.419, allocations: 3.794 MB / 1.619 GB, free: 48.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/5.42, allocations: 8.062 kB / 1.619 GB, free: 48.93 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0042/5.424, allocations: 1.882 MB / 1.621 GB, free: 46.94 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/5.425, allocations: 451.9 kB / 1.622 GB, free: 46.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003356/5.425, allocations: 19.98 kB / 1.622 GB, free: 46.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002599/5.428, allocations: 179.6 kB / 1.622 GB, free: 46.26 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/5.428, allocations: 60.47 kB / 1.622 GB, free: 46.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/5.428, allocations: 47.95 kB / 1.622 GB, free: 46.16 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001667/5.43, allocations: 0.8724 MB / 1.623 GB, free: 45.29 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.81e-07/5.43, allocations: 0 / 1.623 GB, free: 45.29 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003533/5.434, allocations: 0.8849 MB / 1.624 GB, free: 44.4 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (chi.vol1.dynBal.U,chi.vol1.dynBal.m,chi.vol2.dynBal.U,chi.vol2.dynBal.m) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005634/5.439, allocations: 3.553 MB / 1.627 GB, free: 40.8 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.007018/5.446, allocations: 1.725 MB / 1.629 GB, free: 39.05 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/5.446, allocations: 4 kB / 1.629 GB, free: 39.05 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00374/5.45, allocations: 0.5927 MB / 1.629 GB, free: 38.46 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005807/5.456, allocations: 0.6804 MB / 1.63 GB, free: 37.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/5.468, allocations: 2.931 MB / 1.633 GB, free: 34.82 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008991/5.469, allocations: 1.304 MB / 1.634 GB, free: 33.49 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004121/5.474, allocations: 0.49 MB / 1.635 GB, free: 33.04 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/5.475, allocations: 0.5891 MB / 1.635 GB, free: 32.45 MB / 0.7761 GB Notification: Performance of SimCode: time 1.423e-06/5.475, allocations: 0 / 1.635 GB, free: 32.45 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.742/6.217, allocations: 50.26 MB / 1.684 GB, free: 134.3 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/6.217, allocations: 225.8 kB / 1.685 GB, free: 134 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.779/11, allocations: 0 / 1.685 GB, free: 134 MB / 0.7761 GB