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 2.037/2.037, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.989e-05/5.007e-05, allocations: 0 / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1387, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.516/1.654, allocations: 395.3 MB / 0.7003 GB, free: 108.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/1.655, allocations: 81.11 kB / 0.7004 GB, free: 108.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.019/2.674, allocations: 190.9 MB / 0.8868 GB, free: 84.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.555e-06/2.674, allocations: 0 / 0.8868 GB, free: 84.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001022/2.674, allocations: 26.75 kB / 0.8868 GB, free: 84.66 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.005034/2.679, allocations: 1.337 MB / 0.8881 GB, free: 83.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/2.679, allocations: 10.25 kB / 0.8881 GB, free: 83.65 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004195/2.679, allocations: 125.5 kB / 0.8882 GB, free: 83.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006839/2.68, allocations: 120.8 kB / 0.8883 GB, free: 83.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002713/2.683, allocations: 0.7932 MB / 0.8891 GB, free: 82.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/2.683, allocations: 117.7 kB / 0.8892 GB, free: 82.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/2.683, allocations: 68.19 kB / 0.8893 GB, free: 82.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/2.686, allocations: 1.182 MB / 0.8905 GB, free: 82.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.355e-05/2.686, allocations: 3.953 kB / 0.8905 GB, free: 82.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/2.686, allocations: 34.59 kB / 0.8905 GB, free: 82.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001629/2.686, allocations: 75.42 kB / 0.8906 GB, free: 82.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002849/2.689, allocations: 1.163 MB / 0.8917 GB, free: 81.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01306/2.702, allocations: 4.783 MB / 0.8964 GB, free: 77.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/2.704, allocations: 0.6521 MB / 0.897 GB, free: 77.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008779/2.705, allocations: 399.2 kB / 0.8974 GB, free: 77.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004922/2.71, allocations: 2.518 MB / 0.8998 GB, free: 75.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/2.71, allocations: 41.94 kB / 0.8999 GB, free: 75.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=51): time 3.917e-06/2.71, allocations: 0 / 0.8999 GB, free: 75.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=56): time 0.007407/2.718, allocations: 2.271 MB / 0.9021 GB, free: 72.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/2.718, allocations: 162.8 kB / 0.9023 GB, free: 72.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/2.719, allocations: 0.766 MB / 0.903 GB, free: 72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001938/2.719, allocations: 45.62 kB / 0.9031 GB, free: 71.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/2.72, allocations: 489.1 kB / 0.9035 GB, free: 71.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/2.72, allocations: 205 kB / 0.9037 GB, free: 71.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.622e-05/2.72, allocations: 20 kB / 0.9037 GB, free: 71.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/2.72, allocations: 350.8 kB / 0.9041 GB, free: 70.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/2.721, allocations: 417.8 kB / 0.9045 GB, free: 70.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/2.722, allocations: 0.7132 MB / 0.9052 GB, free: 69.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/2.724, allocations: 0.5017 MB / 0.9057 GB, free: 69.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/2.724, allocations: 0 / 0.9057 GB, free: 69.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003518/2.727, allocations: 1.437 MB / 0.9071 GB, free: 67.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008182/2.728, allocations: 3.573 MB / 0.9105 GB, free: 63.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/2.728, allocations: 16 kB / 0.9106 GB, free: 63.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002674/2.731, allocations: 0.496 MB / 0.911 GB, free: 63.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/2.732, allocations: 203.6 kB / 0.9112 GB, free: 63.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003192/2.736, allocations: 2.907 MB / 0.9141 GB, free: 60.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/2.738, allocations: 64.05 kB / 0.9141 GB, free: 59.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/2.738, allocations: 51.92 kB / 0.9142 GB, free: 59.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/2.738, allocations: 4 kB / 0.9142 GB, free: 59.9 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00336/2.741, allocations: 1.279 MB / 0.9154 GB, free: 58.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/2.741, allocations: 12 kB / 0.9155 GB, free: 58.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/2.743, allocations: 298.3 kB / 0.9157 GB, free: 58.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/2.744, allocations: 199.7 kB / 0.9159 GB, free: 58.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/2.746, allocations: 2.689 MB / 0.9186 GB, free: 55.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/2.748, allocations: 59.83 kB / 0.9186 GB, free: 55.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/2.748, allocations: 48.23 kB / 0.9187 GB, free: 55.11 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.0004239/2.748, allocations: 168.6 kB / 0.9188 GB, free: 54.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003156/2.749, allocations: 90.88 kB / 0.9189 GB, free: 54.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003554/2.752, allocations: 1.343 MB / 0.9202 GB, free: 53.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/2.752, allocations: 8 kB / 0.9202 GB, free: 53.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/2.752, allocations: 0 / 0.9202 GB, free: 53.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/2.752, allocations: 3.984 kB / 0.9202 GB, free: 53.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005258/2.758, allocations: 2.298 MB / 0.9225 GB, free: 51.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/2.758, allocations: 0 / 0.9225 GB, free: 51.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008611/2.759, allocations: 91.88 kB / 0.9226 GB, free: 50.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002436/2.761, allocations: 0.497 MB / 0.923 GB, free: 50.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/2.761, allocations: 15.98 kB / 0.9231 GB, free: 50.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002861/2.764, allocations: 2.908 MB / 0.9259 GB, free: 47.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/2.764, allocations: 0 / 0.9259 GB, free: 47.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003905/2.768, allocations: 1.742 MB / 0.9276 GB, free: 45.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007908/2.769, allocations: 291.8 kB / 0.9279 GB, free: 45.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/2.769, allocations: 12 kB / 0.9279 GB, free: 45.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/2.77, allocations: 43.81 kB / 0.9279 GB, free: 45.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/2.77, allocations: 64.41 kB / 0.928 GB, free: 45.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.786e-05/2.77, allocations: 23.98 kB / 0.928 GB, free: 45.13 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001134/2.772, allocations: 0.585 MB / 0.9286 GB, free: 44.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/2.772, allocations: 0 / 0.9286 GB, free: 44.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003658/2.775, allocations: 0.8663 MB / 0.9294 GB, free: 43.68 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.006633/2.782, allocations: 3.162 MB / 0.9325 GB, free: 40.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004905/2.787, allocations: 1.794 MB / 0.9343 GB, free: 38.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/2.787, allocations: 0 / 0.9343 GB, free: 38.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001648/2.789, allocations: 0.5617 MB / 0.9348 GB, free: 38.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002819/2.792, allocations: 334.1 kB / 0.9351 GB, free: 37.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007096/2.799, allocations: 2.049 MB / 0.9371 GB, free: 35.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006386/2.799, allocations: 1.081 MB / 0.9382 GB, free: 34.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008035/2.8, allocations: 359.3 kB / 0.9385 GB, free: 34.24 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/2.8, allocations: 0 / 0.9385 GB, free: 34.24 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.819/6.62, allocations: 34.89 MB / 0.9726 GB, free: 78.8 MB / 426.7 MB