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.046/4.046, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.819e-05/3.839e-05, allocations: 7.922 kB / 0.4991 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7502/0.7503, allocations: 92.68 MB / 0.5896 GB, free: 14.4 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.191/1.941, allocations: 392 MB / 0.9724 GB, free: 13.39 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003384/1.942, allocations: 88.88 kB / 0.9725 GB, free: 13.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.304/5.246, allocations: 0.5949 GB / 1.567 GB, free: 104 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.034e-06/5.246, allocations: 4 kB / 1.567 GB, free: 104 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002272/5.246, allocations: 44.42 kB / 1.567 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.005637/5.252, allocations: 1.829 MB / 1.569 GB, free: 102.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/5.252, allocations: 11.97 kB / 1.569 GB, free: 102.1 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004844/5.252, allocations: 160.6 kB / 1.569 GB, free: 101.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006434/5.259, allocations: 0.6495 MB / 1.57 GB, free: 101.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04856/5.307, allocations: 12.62 MB / 1.582 GB, free: 88.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/5.308, allocations: 161.5 kB / 1.583 GB, free: 88.58 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002695/5.308, allocations: 112 kB / 1.583 GB, free: 88.47 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004237/5.312, allocations: 1.395 MB / 1.584 GB, free: 86.95 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.775e-05/5.312, allocations: 0 / 1.584 GB, free: 86.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/5.313, allocations: 47.98 kB / 1.584 GB, free: 86.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-05/5.313, allocations: 35.94 kB / 1.584 GB, free: 86.87 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003927/5.317, allocations: 1.132 MB / 1.585 GB, free: 85.74 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.01078/5.327, allocations: 6.915 MB / 1.592 GB, free: 78.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003172/5.331, allocations: 0.8631 MB / 1.593 GB, free: 77.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/5.332, allocations: 476.1 kB / 1.593 GB, free: 77.03 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005548/5.332, allocations: 0.59 MB / 1.594 GB, free: 76.31 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001822/5.334, allocations: 0.6073 MB / 1.594 GB, free: 75.67 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=71): time 3.777e-06/5.334, allocations: 0 / 1.594 GB, free: 75.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=71): time 0.003934/5.338, allocations: 0.9929 MB / 1.595 GB, free: 74.67 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.388e-05/5.338, allocations: 222.1 kB / 1.596 GB, free: 74.4 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/5.34, allocations: 1.132 MB / 1.597 GB, free: 73.26 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002367/5.341, allocations: 45.83 kB / 1.597 GB, free: 73.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007545/5.341, allocations: 0.7641 MB / 1.597 GB, free: 72.44 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003769/5.342, allocations: 256.4 kB / 1.598 GB, free: 72.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/5.342, allocations: 20 kB / 1.598 GB, free: 72.16 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.866e-05/5.342, allocations: 341.9 kB / 1.598 GB, free: 71.82 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009948/5.343, allocations: 381.9 kB / 1.598 GB, free: 71.45 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/5.344, allocations: 0.7837 MB / 1.599 GB, free: 70.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/5.345, allocations: 477.2 kB / 1.6 GB, free: 70.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/5.345, allocations: 4 kB / 1.6 GB, free: 70.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003257/5.349, allocations: 1.223 MB / 1.601 GB, free: 68.78 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006943/5.35, allocations: 3.335 MB / 1.604 GB, free: 65.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/5.35, allocations: 8 kB / 1.604 GB, free: 65.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.377e-05/5.35, allocations: 19.95 kB / 1.604 GB, free: 65.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005601/5.355, allocations: 447.3 kB / 1.605 GB, free: 64.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/5.357, allocations: 2.422 MB / 1.607 GB, free: 62.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003335/5.361, allocations: 258.5 kB / 1.607 GB, free: 61.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002203/5.361, allocations: 63.91 kB / 1.607 GB, free: 61.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/5.361, allocations: 5.25 kB / 1.607 GB, free: 61.82 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002644/5.364, allocations: 1.063 MB / 1.608 GB, free: 60.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/5.364, allocations: 8 kB / 1.608 GB, free: 60.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/5.364, allocations: 12 kB / 1.608 GB, free: 60.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003017/5.367, allocations: 359.6 kB / 1.609 GB, free: 60.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006309/5.368, allocations: 1.211 MB / 1.61 GB, free: 59.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003387/5.371, allocations: 243 kB / 1.61 GB, free: 58.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/5.371, allocations: 51.98 kB / 1.61 GB, free: 58.84 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.0005163/5.372, allocations: 204.4 kB / 1.61 GB, free: 58.63 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003733/5.372, allocations: 150.2 kB / 1.61 GB, free: 58.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003095/5.375, allocations: 1.101 MB / 1.612 GB, free: 57.36 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/5.375, allocations: 12 kB / 1.612 GB, free: 57.35 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/5.375, allocations: 0 / 1.612 GB, free: 57.35 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002045/5.377, allocations: 0.9381 MB / 1.612 GB, free: 56.38 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006496/5.384, allocations: 2.929 MB / 1.615 GB, free: 53.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/5.384, allocations: 7.984 kB / 1.615 GB, free: 53.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004938/5.389, allocations: 371.8 kB / 1.616 GB, free: 52.99 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002494/5.389, allocations: 53.62 kB / 1.616 GB, free: 52.93 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000167/5.389, allocations: 31.92 kB / 1.616 GB, free: 52.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004867/5.394, allocations: 3.802 MB / 1.619 GB, free: 48.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/5.394, allocations: 4.031 kB / 1.619 GB, free: 48.79 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004341/5.399, allocations: 1.879 MB / 1.621 GB, free: 46.8 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/5.4, allocations: 452 kB / 1.622 GB, free: 46.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005607/5.401, allocations: 19.98 kB / 1.622 GB, free: 46.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002997/5.404, allocations: 179.6 kB / 1.622 GB, free: 46.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003213/5.404, allocations: 68.41 kB / 1.622 GB, free: 46.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001809/5.404, allocations: 51.95 kB / 1.622 GB, free: 46.01 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001835/5.406, allocations: 0.8607 MB / 1.623 GB, free: 45.15 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.11e-07/5.406, allocations: 0 / 1.623 GB, free: 45.15 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00407/5.41, allocations: 0.8928 MB / 1.624 GB, free: 44.25 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.008384/5.419, allocations: 3.55 MB / 1.627 GB, free: 40.67 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0163/5.435, allocations: 1.751 MB / 1.629 GB, free: 38.89 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/5.435, allocations: 5.438 kB / 1.629 GB, free: 38.89 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004947/5.44, allocations: 0.5971 MB / 1.63 GB, free: 38.29 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02009/5.46, allocations: 0.6826 MB / 1.63 GB, free: 37.64 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03131/5.492, allocations: 2.929 MB / 1.633 GB, free: 34.65 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/5.493, allocations: 1.304 MB / 1.634 GB, free: 33.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.006008/5.499, allocations: 493.3 kB / 1.635 GB, free: 32.87 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001895/5.501, allocations: 0.5891 MB / 1.635 GB, free: 32.28 MB / 0.7761 GB Notification: Performance of SimCode: time 1.723e-06/5.501, allocations: 0 / 1.635 GB, free: 32.28 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.754/6.255, allocations: 50.29 MB / 1.684 GB, free: 132.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002778/6.255, allocations: 237.2 kB / 1.685 GB, free: 132.3 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.755/11.01, allocations: 0 / 1.685 GB, free: 132.3 MB / 0.7761 GB