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 3.981/3.981, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.221e-05/3.236e-05, allocations: 0 / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6367/0.6368, allocations: 92.69 MB / 0.5896 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.263/1.9, allocations: 392 MB / 0.9724 GB, free: 13.45 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/1.9, allocations: 91.56 kB / 0.9725 GB, free: 13.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.102/5.002, allocations: 0.5944 GB / 1.567 GB, free: 104.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.673e-06/5.002, allocations: 3.062 kB / 1.567 GB, free: 104.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002372/5.002, allocations: 43.45 kB / 1.567 GB, free: 104.8 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.005435/5.008, allocations: 1.808 MB / 1.569 GB, free: 102.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/5.008, allocations: 8.031 kB / 1.569 GB, free: 102.9 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004183/5.008, allocations: 160.6 kB / 1.569 GB, free: 102.8 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006339/5.015, allocations: 0.6495 MB / 1.569 GB, free: 102.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0397/5.054, allocations: 12.58 MB / 1.582 GB, free: 89.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002556/5.055, allocations: 157.5 kB / 1.582 GB, free: 89.42 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003626/5.055, allocations: 119.8 kB / 1.582 GB, free: 89.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004776/5.06, allocations: 1.379 MB / 1.583 GB, free: 87.81 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.273e-05/5.06, allocations: 7.938 kB / 1.583 GB, free: 87.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/5.06, allocations: 44 kB / 1.583 GB, free: 87.76 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.871e-05/5.06, allocations: 43.98 kB / 1.583 GB, free: 87.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00466/5.065, allocations: 1.105 MB / 1.585 GB, free: 86.61 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.01177/5.077, allocations: 6.877 MB / 1.591 GB, free: 79.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0092/5.086, allocations: 1.25 MB / 1.592 GB, free: 78.03 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/5.087, allocations: 461.5 kB / 1.593 GB, free: 77.57 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005841/5.088, allocations: 0.5903 MB / 1.593 GB, free: 76.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00248/5.091, allocations: 0.5995 MB / 1.594 GB, free: 76.22 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=71): time 4.879e-06/5.091, allocations: 0 / 1.594 GB, free: 76.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=71): time 0.005178/5.096, allocations: 0.9617 MB / 1.595 GB, free: 75.25 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/5.096, allocations: 222.3 kB / 1.595 GB, free: 74.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002822/5.099, allocations: 1.078 MB / 1.596 GB, free: 73.9 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003219/5.099, allocations: 45.7 kB / 1.596 GB, free: 73.85 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009969/5.1, allocations: 0.7522 MB / 1.597 GB, free: 73.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004137/5.101, allocations: 252.4 kB / 1.597 GB, free: 72.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/5.101, allocations: 20 kB / 1.597 GB, free: 72.82 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001179/5.101, allocations: 353.8 kB / 1.598 GB, free: 72.47 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/5.102, allocations: 365.9 kB / 1.598 GB, free: 72.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/5.104, allocations: 0.7643 MB / 1.599 GB, free: 71.17 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002907/5.107, allocations: 473.2 kB / 1.599 GB, free: 70.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.799e-05/5.107, allocations: 4 kB / 1.599 GB, free: 70.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.005257/5.112, allocations: 1.203 MB / 1.6 GB, free: 69.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001006/5.113, allocations: 3.322 MB / 1.604 GB, free: 65.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/5.114, allocations: 12 kB / 1.604 GB, free: 65.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.661e-05/5.114, allocations: 15.95 kB / 1.604 GB, free: 65.94 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008507/5.122, allocations: 451.3 kB / 1.604 GB, free: 65.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002986/5.125, allocations: 2.418 MB / 1.606 GB, free: 62.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005047/5.13, allocations: 258.9 kB / 1.607 GB, free: 62.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004394/5.131, allocations: 51.98 kB / 1.607 GB, free: 62.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/5.131, allocations: 10.8 kB / 1.607 GB, free: 62.68 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005144/5.136, allocations: 1.039 MB / 1.608 GB, free: 61.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/5.136, allocations: 11.98 kB / 1.608 GB, free: 61.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.067e-05/5.136, allocations: 16 kB / 1.608 GB, free: 61.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004137/5.14, allocations: 360 kB / 1.608 GB, free: 61.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008257/5.141, allocations: 1.215 MB / 1.609 GB, free: 59.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004182/5.145, allocations: 235.2 kB / 1.61 GB, free: 59.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003219/5.146, allocations: 55.98 kB / 1.61 GB, free: 59.7 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.000651/5.146, allocations: 195.3 kB / 1.61 GB, free: 59.51 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005913/5.147, allocations: 146.2 kB / 1.61 GB, free: 59.36 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005491/5.153, allocations: 1.078 MB / 1.611 GB, free: 58.27 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/5.153, allocations: 8 kB / 1.611 GB, free: 58.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/5.153, allocations: 4 kB / 1.611 GB, free: 58.26 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002955/5.156, allocations: 0.9185 MB / 1.612 GB, free: 57.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008753/5.164, allocations: 2.877 MB / 1.615 GB, free: 54.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/5.164, allocations: 4 kB / 1.615 GB, free: 54.33 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005766/5.17, allocations: 371.7 kB / 1.615 GB, free: 53.97 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/5.171, allocations: 57.48 kB / 1.615 GB, free: 53.91 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/5.171, allocations: 31.98 kB / 1.615 GB, free: 53.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00499/5.176, allocations: 3.798 MB / 1.619 GB, free: 49.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/5.176, allocations: 7.984 kB / 1.619 GB, free: 49.77 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004407/5.18, allocations: 1.833 MB / 1.621 GB, free: 47.82 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/5.182, allocations: 448 kB / 1.621 GB, free: 47.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004801/5.182, allocations: 23.84 kB / 1.621 GB, free: 47.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003027/5.185, allocations: 179.6 kB / 1.621 GB, free: 47.15 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003279/5.186, allocations: 68.41 kB / 1.621 GB, free: 47.08 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/5.186, allocations: 43.97 kB / 1.621 GB, free: 47.04 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001642/5.187, allocations: 0.828 MB / 1.622 GB, free: 46.21 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.41e-07/5.187, allocations: 0 / 1.622 GB, free: 46.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00358/5.191, allocations: 0.8811 MB / 1.623 GB, free: 45.33 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.006035/5.197, allocations: 3.499 MB / 1.626 GB, free: 41.79 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.007408/5.205, allocations: 1.744 MB / 1.628 GB, free: 40.02 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/5.205, allocations: 0 / 1.628 GB, free: 40.02 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003757/5.208, allocations: 0.5899 MB / 1.629 GB, free: 39.43 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005659/5.214, allocations: 0.6752 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.01226/5.226, allocations: 2.869 MB / 1.632 GB, free: 35.86 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008399/5.227, allocations: 1.288 MB / 1.633 GB, free: 34.54 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004228/5.232, allocations: 482.4 kB / 1.634 GB, free: 34.1 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/5.233, allocations: 0.5813 MB / 1.634 GB, free: 33.52 MB / 0.7761 GB Notification: Performance of SimCode: time 1.503e-06/5.233, allocations: 0 / 1.634 GB, free: 33.52 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8383/6.072, allocations: 49.56 MB / 1.683 GB, free: 133.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000263/6.072, allocations: 218.5 kB / 1.683 GB, free: 133.2 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.756/10.83, allocations: 0 / 1.683 GB, free: 133.2 MB / 0.7761 GB