Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.51/4.51, allocations: 464.6 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.281e-05/4.301e-05, allocations: 4 kB / 0.5732 GB, free: 5.664 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2374, allocations: 107.1 MB / 0.6778 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.301/1.538, allocations: 409.5 MB / 1.078 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/1.539, allocations: 88.33 kB / 1.078 GB, free: 8.766 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.343/4.881, allocations: 0.6061 GB / 1.684 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.445e-06/4.881, allocations: 4 kB / 1.684 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002559/4.882, allocations: 51.81 kB / 1.684 GB, free: 114.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.005896/4.887, allocations: 1.772 MB / 1.686 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/4.888, allocations: 8.031 kB / 1.686 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004409/4.888, allocations: 143.7 kB / 1.686 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00636/4.894, allocations: 0.6398 MB / 1.687 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007171/4.902, allocations: 1.651 MB / 1.688 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002869/4.902, allocations: 153.4 kB / 1.688 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004543/4.902, allocations: 100 kB / 1.688 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004191/4.907, allocations: 1.104 MB / 1.689 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.049e-05/4.907, allocations: 4 kB / 1.689 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000259/4.907, allocations: 36 kB / 1.689 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.796e-05/4.907, allocations: 28 kB / 1.69 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004134/4.911, allocations: 0.9566 MB / 1.69 GB, free: 107.4 MB / 0.8855 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.01531/4.927, allocations: 5.422 MB / 1.696 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/4.93, allocations: 0.6936 MB / 1.696 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/4.931, allocations: 463.6 kB / 1.697 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/4.933, allocations: 1.239 MB / 1.698 GB, free: 98.96 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001772/4.934, allocations: 0.5444 MB / 1.699 GB, free: 98.39 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=67): time 5.48e-06/4.934, allocations: 0 / 1.699 GB, free: 98.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67): time 0.003676/4.938, allocations: 0.8915 MB / 1.699 GB, free: 97.49 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/4.938, allocations: 119.3 kB / 1.7 GB, free: 97.35 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00346/4.942, allocations: 1.167 MB / 1.701 GB, free: 96.18 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004147/4.942, allocations: 45.7 kB / 1.701 GB, free: 96.13 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009875/4.943, allocations: 0.6821 MB / 1.701 GB, free: 95.44 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004644/4.944, allocations: 236.7 kB / 1.702 GB, free: 95.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/4.944, allocations: 12 kB / 1.702 GB, free: 95.19 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001098/4.944, allocations: 333.9 kB / 1.702 GB, free: 94.86 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/4.945, allocations: 357.5 kB / 1.702 GB, free: 94.51 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/4.947, allocations: 0.6141 MB / 1.703 GB, free: 93.79 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/4.948, allocations: 410.7 kB / 1.703 GB, free: 93.39 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/4.948, allocations: 4 kB / 1.703 GB, free: 93.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004021/4.952, allocations: 1.043 MB / 1.704 GB, free: 92.32 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003694/4.953, allocations: 1.206 MB / 1.706 GB, free: 91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/4.953, allocations: 7.938 kB / 1.706 GB, free: 91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.726e-05/4.953, allocations: 10.84 kB / 1.706 GB, free: 90.99 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003268/4.956, allocations: 275.7 kB / 1.706 GB, free: 90.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.13e-05/4.956, allocations: 4 kB / 1.706 GB, free: 90.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00438/4.961, allocations: 239 kB / 1.706 GB, free: 90.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003606/4.961, allocations: 51.97 kB / 1.706 GB, free: 90.43 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/4.961, allocations: 4 kB / 1.706 GB, free: 90.43 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003403/4.965, allocations: 0.8905 MB / 1.707 GB, free: 89.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/4.965, allocations: 4 kB / 1.707 GB, free: 89.53 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/4.965, allocations: 4 kB / 1.707 GB, free: 89.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003176/4.968, allocations: 276 kB / 1.707 GB, free: 89.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.589e-05/4.968, allocations: 8 kB / 1.707 GB, free: 89.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00423/4.972, allocations: 231.1 kB / 1.707 GB, free: 89.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004042/4.973, allocations: 51.97 kB / 1.708 GB, free: 88.97 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0004819/4.973, allocations: 156.8 kB / 1.708 GB, free: 88.81 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006896/4.974, allocations: 146.2 kB / 1.708 GB, free: 88.66 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0036/4.978, allocations: 1.108 MB / 1.709 GB, free: 87.54 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.642e-05/4.978, allocations: 12 kB / 1.709 GB, free: 87.53 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/4.978, allocations: 0 / 1.709 GB, free: 87.53 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002463/4.98, allocations: 0.9247 MB / 1.71 GB, free: 86.57 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/4.992, allocations: 3.131 MB / 1.713 GB, free: 83.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/4.992, allocations: 4 kB / 1.713 GB, free: 83.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002227/4.994, allocations: 240 kB / 1.713 GB, free: 83.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.076e-05/4.994, allocations: 11.94 kB / 1.713 GB, free: 83.04 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/4.994, allocations: 31.97 kB / 1.713 GB, free: 83.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.239e-05/4.994, allocations: 7.688 kB / 1.713 GB, free: 83 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/4.994, allocations: 11.94 kB / 1.713 GB, free: 82.99 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004385/4.999, allocations: 2.101 MB / 1.715 GB, free: 80.64 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/5, allocations: 483.7 kB / 1.716 GB, free: 80.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004063/5.001, allocations: 23.98 kB / 1.716 GB, free: 80.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002831/5.004, allocations: 179.7 kB / 1.716 GB, free: 79.93 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/5.004, allocations: 76.36 kB / 1.716 GB, free: 79.86 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/5.004, allocations: 47.97 kB / 1.716 GB, free: 79.81 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001991/5.006, allocations: 0.9401 MB / 1.717 GB, free: 78.87 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.132e-06/5.006, allocations: 0 / 1.717 GB, free: 78.87 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003681/5.01, allocations: 0.8539 MB / 1.718 GB, free: 78.02 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * 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 (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.006283/5.016, allocations: 4.475 MB / 1.722 GB, free: 73.45 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003621/5.02, allocations: 1.467 MB / 1.724 GB, free: 71.95 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/5.02, allocations: 0 / 1.724 GB, free: 71.95 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001399/5.021, allocations: 0.5074 MB / 1.724 GB, free: 71.45 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006896/5.028, allocations: 0.7526 MB / 1.725 GB, free: 70.72 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008295/5.037, allocations: 2.417 MB / 1.727 GB, free: 68.21 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008978/5.038, allocations: 1.283 MB / 1.728 GB, free: 66.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003931/5.041, allocations: 490.2 kB / 1.729 GB, free: 66.45 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/5.043, allocations: 0.5656 MB / 1.729 GB, free: 65.88 MB / 0.8855 GB Notification: Performance of SimCode: time 1.663e-06/5.043, allocations: 0 / 1.729 GB, free: 65.88 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1276/5.17, allocations: 50.95 MB / 1.779 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/5.171, allocations: 204.5 kB / 1.779 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.171/10.34, allocations: 0 / 1.779 GB, free: 15.31 MB / 0.8855 GB