Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.942/1.942, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.513e-05/3.517e-05, allocations: 0 / 273.2 MB, free: 0.6133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1082, allocations: 48.69 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.403/1.511, allocations: 395.3 MB / 0.7003 GB, free: 108.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/1.512, allocations: 83.45 kB / 0.7004 GB, free: 108.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.058/2.569, allocations: 190.9 MB / 0.8868 GB, free: 84.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.974e-06/2.569, allocations: 0 / 0.8868 GB, free: 84.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001309/2.57, allocations: 25.81 kB / 0.8868 GB, free: 84.23 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.00528/2.575, allocations: 1.339 MB / 0.8881 GB, free: 83.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/2.575, allocations: 10.12 kB / 0.8881 GB, free: 83.22 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004901/2.575, allocations: 119.4 kB / 0.8883 GB, free: 83.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008561/2.576, allocations: 123.3 kB / 0.8884 GB, free: 83.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002968/2.579, allocations: 0.7986 MB / 0.8892 GB, free: 82.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/2.58, allocations: 117.7 kB / 0.8893 GB, free: 82.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003664/2.58, allocations: 62.34 kB / 0.8893 GB, free: 82.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003168/2.583, allocations: 1.181 MB / 0.8905 GB, free: 81.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.885e-05/2.583, allocations: 3.953 kB / 0.8905 GB, free: 81.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/2.583, allocations: 27.16 kB / 0.8905 GB, free: 81.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001976/2.584, allocations: 73.11 kB / 0.8906 GB, free: 81.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00327/2.587, allocations: 1.16 MB / 0.8917 GB, free: 81.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01402/2.601, allocations: 4.778 MB / 0.8964 GB, free: 77.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/2.603, allocations: 0.6391 MB / 0.897 GB, free: 77.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/2.604, allocations: 398.2 kB / 0.8974 GB, free: 76.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005241/2.609, allocations: 2.523 MB / 0.8999 GB, free: 74.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/2.609, allocations: 38.25 kB / 0.8999 GB, free: 74.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=51): time 3.998e-06/2.609, allocations: 0 / 0.8999 GB, free: 74.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=56): time 0.008/2.617, allocations: 2.277 MB / 0.9021 GB, free: 72.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/2.618, allocations: 162.8 kB / 0.9023 GB, free: 72.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/2.619, allocations: 0.766 MB / 0.903 GB, free: 71.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002489/2.619, allocations: 37.7 kB / 0.903 GB, free: 71.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003648/2.62, allocations: 499.5 kB / 0.9035 GB, free: 71.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000277/2.62, allocations: 197.2 kB / 0.9037 GB, free: 70.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/2.62, allocations: 20 kB / 0.9037 GB, free: 70.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.776e-05/2.62, allocations: 350.8 kB / 0.9041 GB, free: 70.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/2.621, allocations: 417.8 kB / 0.9045 GB, free: 70.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/2.623, allocations: 0.7073 MB / 0.9052 GB, free: 69.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/2.624, allocations: 0.5017 MB / 0.9056 GB, free: 68.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/2.624, allocations: 0 / 0.9056 GB, free: 68.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003841/2.628, allocations: 1.425 MB / 0.907 GB, free: 67.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007732/2.629, allocations: 3.574 MB / 0.9105 GB, free: 63.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/2.629, allocations: 8 kB / 0.9105 GB, free: 63.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002759/2.631, allocations: 0.4974 MB / 0.911 GB, free: 63.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/2.633, allocations: 195.7 kB / 0.9112 GB, free: 62.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/2.636, allocations: 2.915 MB / 0.9141 GB, free: 59.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/2.638, allocations: 59.95 kB / 0.9141 GB, free: 59.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003126/2.639, allocations: 48.08 kB / 0.9142 GB, free: 59.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/2.639, allocations: 4 kB / 0.9142 GB, free: 59.65 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003528/2.642, allocations: 1.264 MB / 0.9154 GB, free: 58.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/2.642, allocations: 8 kB / 0.9154 GB, free: 58.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/2.644, allocations: 306.2 kB / 0.9157 GB, free: 58.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/2.645, allocations: 195.7 kB / 0.9159 GB, free: 57.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/2.648, allocations: 2.681 MB / 0.9185 GB, free: 54.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/2.649, allocations: 59.84 kB / 0.9186 GB, free: 54.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/2.649, allocations: 47.98 kB / 0.9186 GB, free: 54.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003986/2.65, allocations: 164.7 kB / 0.9188 GB, free: 54.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/2.65, allocations: 90.88 kB / 0.9188 GB, free: 54.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003599/2.653, allocations: 1.34 MB / 0.9202 GB, free: 53.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/2.654, allocations: 12 kB / 0.9202 GB, free: 53.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/2.654, allocations: 0 / 0.9202 GB, free: 53.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/2.654, allocations: 3.984 kB / 0.9202 GB, free: 53.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005677/2.659, allocations: 2.29 MB / 0.9224 GB, free: 50.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/2.659, allocations: 3.953 kB / 0.9224 GB, free: 50.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009358/2.66, allocations: 91.88 kB / 0.9225 GB, free: 50.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002537/2.663, allocations: 0.4973 MB / 0.923 GB, free: 50.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/2.663, allocations: 15.98 kB / 0.923 GB, free: 50.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002979/2.666, allocations: 2.908 MB / 0.9258 GB, free: 47.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/2.666, allocations: 0 / 0.9258 GB, free: 47.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00401/2.67, allocations: 1.745 MB / 0.9275 GB, free: 45.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008603/2.671, allocations: 291.7 kB / 0.9278 GB, free: 45.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003035/2.671, allocations: 16 kB / 0.9278 GB, free: 45.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/2.673, allocations: 40.03 kB / 0.9279 GB, free: 45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002467/2.673, allocations: 56.42 kB / 0.9279 GB, free: 44.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/2.673, allocations: 31.97 kB / 0.928 GB, free: 44.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001148/2.674, allocations: 0.5772 MB / 0.9285 GB, free: 44.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.41e-07/2.674, allocations: 4 kB / 0.9285 GB, free: 44.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004046/2.678, allocations: 0.8625 MB / 0.9294 GB, free: 43.47 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00723/2.686, allocations: 3.165 MB / 0.9325 GB, free: 40.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005251/2.691, allocations: 1.754 MB / 0.9342 GB, free: 38.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/2.691, allocations: 4.062 kB / 0.9342 GB, free: 38.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001816/2.693, allocations: 0.5426 MB / 0.9347 GB, free: 37.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/2.696, allocations: 338 kB / 0.935 GB, free: 37.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007685/2.704, allocations: 2.056 MB / 0.937 GB, free: 35.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006452/2.704, allocations: 1.077 MB / 0.9381 GB, free: 34.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008992/2.705, allocations: 359.3 kB / 0.9384 GB, free: 34.09 MB / 426.7 MB Notification: Performance of SimCode: time 1.333e-06/2.705, allocations: 0 / 0.9384 GB, free: 34.09 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.912/6.617, allocations: 34.89 MB / 0.9725 GB, free: 78.65 MB / 426.7 MB