Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.045/4.045, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.005e-05/5.024e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8061/0.8062, allocations: 92.67 MB / 0.5896 GB, free: 14.4 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.154/1.96, allocations: 392 MB / 0.9724 GB, free: 13.38 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003403/1.961, allocations: 90.89 kB / 0.9725 GB, free: 13.33 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.202/5.163, allocations: 0.5944 GB / 1.567 GB, free: 104.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.104e-06/5.163, allocations: 3.062 kB / 1.567 GB, free: 104.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002519/5.163, allocations: 43.44 kB / 1.567 GB, free: 104.6 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.005695/5.169, allocations: 1.8 MB / 1.569 GB, free: 102.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/5.169, allocations: 12.02 kB / 1.569 GB, free: 102.8 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004958/5.169, allocations: 160.6 kB / 1.569 GB, free: 102.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006637/5.176, allocations: 0.6495 MB / 1.569 GB, free: 102 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0396/5.215, allocations: 12.59 MB / 1.582 GB, free: 89.41 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/5.216, allocations: 157.5 kB / 1.582 GB, free: 89.24 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003368/5.216, allocations: 115.9 kB / 1.582 GB, free: 89.13 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004667/5.221, allocations: 1.372 MB / 1.583 GB, free: 87.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.239e-05/5.221, allocations: 7.875 kB / 1.583 GB, free: 87.63 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/5.221, allocations: 48 kB / 1.583 GB, free: 87.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.515e-05/5.221, allocations: 39.98 kB / 1.583 GB, free: 87.55 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004591/5.226, allocations: 1.085 MB / 1.585 GB, free: 86.46 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.01159/5.237, allocations: 6.867 MB / 1.591 GB, free: 79.17 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009082/5.247, allocations: 1.247 MB / 1.592 GB, free: 77.9 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/5.248, allocations: 456.1 kB / 1.593 GB, free: 77.45 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005428/5.248, allocations: 0.5902 MB / 1.593 GB, free: 76.73 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001916/5.25, allocations: 0.5979 MB / 1.594 GB, free: 76.09 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=71): time 3.837e-06/5.25, allocations: 0 / 1.594 GB, free: 76.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=71): time 0.00558/5.256, allocations: 0.954 MB / 1.595 GB, free: 75.13 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/5.256, allocations: 222.1 kB / 1.595 GB, free: 74.87 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003358/5.26, allocations: 1.09 MB / 1.596 GB, free: 73.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0004013/5.26, allocations: 45.7 kB / 1.596 GB, free: 73.72 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.00129/5.261, allocations: 0.7576 MB / 1.597 GB, free: 72.96 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000694/5.262, allocations: 248.4 kB / 1.597 GB, free: 72.71 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/5.262, allocations: 20 kB / 1.597 GB, free: 72.69 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001284/5.262, allocations: 345.9 kB / 1.598 GB, free: 72.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/5.264, allocations: 369.9 kB / 1.598 GB, free: 71.99 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002048/5.266, allocations: 0.7584 MB / 1.599 GB, free: 71.05 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/5.268, allocations: 465.2 kB / 1.599 GB, free: 70.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/5.268, allocations: 0 / 1.599 GB, free: 70.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.005385/5.273, allocations: 1.18 MB / 1.6 GB, free: 69.39 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009469/5.274, allocations: 3.334 MB / 1.604 GB, free: 65.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.163e-05/5.274, allocations: 8 kB / 1.604 GB, free: 65.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.071e-05/5.274, allocations: 15.95 kB / 1.604 GB, free: 65.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008605/5.283, allocations: 451.3 kB / 1.604 GB, free: 65.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003005/5.286, allocations: 2.422 MB / 1.606 GB, free: 62.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005481/5.292, allocations: 250.9 kB / 1.607 GB, free: 62.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004523/5.292, allocations: 55.97 kB / 1.607 GB, free: 62.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/5.292, allocations: 4 kB / 1.607 GB, free: 62.58 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00379/5.296, allocations: 1.016 MB / 1.608 GB, free: 61.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/5.296, allocations: 8 kB / 1.608 GB, free: 61.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/5.296, allocations: 12 kB / 1.608 GB, free: 61.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004108/5.3, allocations: 371.7 kB / 1.608 GB, free: 61.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007601/5.301, allocations: 1.211 MB / 1.609 GB, free: 59.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004217/5.305, allocations: 235.2 kB / 1.609 GB, free: 59.69 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003242/5.306, allocations: 59.84 kB / 1.61 GB, free: 59.64 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.0007272/5.306, allocations: 192.9 kB / 1.61 GB, free: 59.45 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007002/5.307, allocations: 154.2 kB / 1.61 GB, free: 59.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005023/5.312, allocations: 1.07 MB / 1.611 GB, free: 58.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.037e-05/5.312, allocations: 12 kB / 1.611 GB, free: 58.19 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/5.312, allocations: 0 / 1.611 GB, free: 58.19 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003152/5.315, allocations: 0.9185 MB / 1.612 GB, free: 57.23 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008664/5.324, allocations: 2.869 MB / 1.615 GB, free: 54.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/5.324, allocations: 4 kB / 1.615 GB, free: 54.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006989/5.331, allocations: 367.8 kB / 1.615 GB, free: 53.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002993/5.332, allocations: 57.69 kB / 1.615 GB, free: 53.84 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002427/5.332, allocations: 27.97 kB / 1.615 GB, free: 53.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006516/5.338, allocations: 3.798 MB / 1.619 GB, free: 49.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/5.338, allocations: 0 / 1.619 GB, free: 49.71 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006926/5.345, allocations: 1.833 MB / 1.621 GB, free: 47.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001956/5.347, allocations: 448 kB / 1.621 GB, free: 47.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009706/5.348, allocations: 23.94 kB / 1.621 GB, free: 47.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004592/5.353, allocations: 187.6 kB / 1.621 GB, free: 47.09 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003947/5.353, allocations: 64.41 kB / 1.621 GB, free: 47.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002399/5.354, allocations: 43.97 kB / 1.621 GB, free: 46.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002821/5.357, allocations: 0.828 MB / 1.622 GB, free: 46.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.32e-07/5.357, allocations: 0 / 1.622 GB, free: 46.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.005559/5.362, allocations: 0.8772 MB / 1.623 GB, free: 45.28 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.005662/5.368, allocations: 3.525 MB / 1.626 GB, free: 41.74 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.007988/5.376, allocations: 1.709 MB / 1.628 GB, free: 40 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/5.376, allocations: 0 / 1.628 GB, free: 40 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003755/5.38, allocations: 0.5811 MB / 1.629 GB, free: 39.42 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005881/5.386, allocations: 0.6821 MB / 1.629 GB, free: 38.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/5.398, allocations: 2.869 MB / 1.632 GB, free: 35.84 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008155/5.399, allocations: 1.284 MB / 1.633 GB, free: 34.53 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003798/5.402, allocations: 481.2 kB / 1.634 GB, free: 34.08 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/5.403, allocations: 0.5735 MB / 1.634 GB, free: 33.5 MB / 0.7761 GB Notification: Performance of SimCode: time 2.225e-06/5.403, allocations: 0 / 1.634 GB, free: 33.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7272/6.131, allocations: 49.55 MB / 1.683 GB, free: 133.4 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/6.131, allocations: 218.8 kB / 1.683 GB, free: 133.2 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.681/10.81, allocations: 0 / 1.683 GB, free: 133.2 MB / 0.7761 GB