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.212/2.212, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.136e-05/3.146e-05, allocations: 6.25 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.118, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.461/1.579, allocations: 394.9 MB / 0.6945 GB, free: 104.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/1.579, allocations: 77.22 kB / 0.6946 GB, free: 104.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.003/2.582, allocations: 189.4 MB / 0.8796 GB, free: 86.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/2.582, allocations: 3.969 kB / 0.8796 GB, free: 86.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000106/2.582, allocations: 23.16 kB / 0.8796 GB, free: 86.89 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.004782/2.587, allocations: 1.354 MB / 0.8809 GB, free: 85.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/2.587, allocations: 6.906 kB / 0.8809 GB, free: 85.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000771/2.588, allocations: 121.1 kB / 0.881 GB, free: 85.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/2.591, allocations: 0.7919 MB / 0.8818 GB, free: 85.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/2.591, allocations: 92.38 kB / 0.8819 GB, free: 85.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/2.591, allocations: 37.47 kB / 0.8819 GB, free: 85.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00248/2.594, allocations: 1.065 MB / 0.883 GB, free: 84.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002408/2.596, allocations: 1.095 MB / 0.8841 GB, free: 84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.567e-05/2.596, allocations: 7.891 kB / 0.8841 GB, free: 84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/2.596, allocations: 3.422 kB / 0.8841 GB, free: 84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000156/2.596, allocations: 76.69 kB / 0.8841 GB, free: 83.97 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/2.608, allocations: 4.625 MB / 0.8887 GB, free: 80.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/2.61, allocations: 0.6301 MB / 0.8893 GB, free: 79.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008068/2.611, allocations: 386.4 kB / 0.8896 GB, free: 79.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005019/2.616, allocations: 2.546 MB / 0.8921 GB, free: 76.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/2.616, allocations: 39 kB / 0.8922 GB, free: 76.56 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 3.948e-06/2.616, allocations: 0 / 0.8922 GB, free: 76.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.01507/2.631, allocations: 3.005 MB / 0.8951 GB, free: 73.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/2.631, allocations: 162.8 kB / 0.8953 GB, free: 73.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/2.632, allocations: 0.6285 MB / 0.8959 GB, free: 72.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002294/2.633, allocations: 25.7 kB / 0.8959 GB, free: 72.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003216/2.633, allocations: 0.5006 MB / 0.8964 GB, free: 72.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/2.633, allocations: 189.2 kB / 0.8966 GB, free: 71.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.924e-05/2.633, allocations: 0 / 0.8966 GB, free: 71.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/2.634, allocations: 346.8 kB / 0.8969 GB, free: 71.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009309/2.634, allocations: 414.5 kB / 0.8973 GB, free: 71.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/2.636, allocations: 0.7077 MB / 0.898 GB, free: 70.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01255/2.648, allocations: 1.604 MB / 0.8995 GB, free: 68.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.848e-05/2.648, allocations: 8 kB / 0.8996 GB, free: 68.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.015/2.663, allocations: 2.482 MB / 0.902 GB, free: 66.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008332/2.664, allocations: 3.661 MB / 0.9056 GB, free: 62.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/2.664, allocations: 8 kB / 0.9056 GB, free: 62.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001746/2.666, allocations: 432.8 kB / 0.906 GB, free: 61.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/2.668, allocations: 195.6 kB / 0.9062 GB, free: 61.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005013/2.673, allocations: 3.122 MB / 0.9092 GB, free: 58.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/2.674, allocations: 40.11 kB / 0.9092 GB, free: 58.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/2.675, allocations: 51.92 kB / 0.9093 GB, free: 58.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/2.675, allocations: 4 kB / 0.9093 GB, free: 58.25 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01329/2.688, allocations: 2.106 MB / 0.9114 GB, free: 56.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.137e-05/2.688, allocations: 8 kB / 0.9114 GB, free: 56.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/2.689, allocations: 294.7 kB / 0.9116 GB, free: 55.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/2.691, allocations: 199.6 kB / 0.9118 GB, free: 55.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/2.693, allocations: 2.657 MB / 0.9144 GB, free: 52.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/2.695, allocations: 35.91 kB / 0.9145 GB, free: 52.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/2.695, allocations: 51.97 kB / 0.9145 GB, free: 52.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.0003827/2.695, allocations: 136.8 kB / 0.9146 GB, free: 52.57 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004602/2.7, allocations: 1.204 MB / 0.9158 GB, free: 51.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/2.7, allocations: 82.97 kB / 0.9159 GB, free: 51.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005384/2.705, allocations: 1.455 MB / 0.9173 GB, free: 49.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/2.706, allocations: 4 kB / 0.9173 GB, free: 49.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/2.706, allocations: 4 kB / 0.9173 GB, free: 49.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/2.706, allocations: 3.984 kB / 0.9173 GB, free: 49.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007246/2.713, allocations: 2.345 MB / 0.9196 GB, free: 47.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/2.713, allocations: 4.125 kB / 0.9196 GB, free: 47.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008624/2.714, allocations: 95.88 kB / 0.9197 GB, free: 47.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001599/2.715, allocations: 430.1 kB / 0.9201 GB, free: 46.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/2.716, allocations: 7.984 kB / 0.9201 GB, free: 46.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004525/2.72, allocations: 3.063 MB / 0.9231 GB, free: 43.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/2.72, allocations: 3.953 kB / 0.9231 GB, free: 43.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005714/2.726, allocations: 1.894 MB / 0.925 GB, free: 41.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007843/2.727, allocations: 263.9 kB / 0.9252 GB, free: 41.33 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/2.727, allocations: 0 / 0.9252 GB, free: 41.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/2.728, allocations: 35.81 kB / 0.9253 GB, free: 41.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/2.728, allocations: 60.41 kB / 0.9253 GB, free: 41.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/2.728, allocations: 28.05 kB / 0.9253 GB, free: 41.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007923/2.729, allocations: 467.1 kB / 0.9258 GB, free: 40.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.51e-07/2.729, allocations: 0 / 0.9258 GB, free: 40.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003734/2.733, allocations: 0.8117 MB / 0.9266 GB, free: 39.94 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.008585/2.742, allocations: 3.279 MB / 0.9298 GB, free: 36.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00463/2.746, allocations: 1.706 MB / 0.9315 GB, free: 34.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/2.746, allocations: 4 kB / 0.9315 GB, free: 34.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001582/2.748, allocations: 0.5444 MB / 0.932 GB, free: 34.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/2.751, allocations: 303.1 kB / 0.9323 GB, free: 34.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007152/2.758, allocations: 1.963 MB / 0.9342 GB, free: 32.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006405/2.759, allocations: 1.077 MB / 0.9352 GB, free: 30.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008766/2.759, allocations: 359.2 kB / 0.9356 GB, free: 30.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.302e-06/2.76, allocations: 0 / 0.9356 GB, free: 30.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.945/6.705, allocations: 34.33 MB / 0.9691 GB, free: 83.46 MB / 426.7 MB