Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.452/2.452, allocations: 270 MB / 282.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.688e-05/3.695e-05, allocations: 3.984 kB / 347.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4495/0.4496, allocations: 61.87 MB / 408.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.329/1.779, allocations: 407.6 MB / 0.7974 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/1.779, allocations: 82.72 kB / 0.7974 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.1/2.879, allocations: 196.2 MB / 0.9891 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.863e-06/2.879, allocations: 224 / 0.9891 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001008/2.879, allocations: 31.19 kB / 0.9891 GB, free: 138.5 MB / 0.5261 GB 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.00479/2.884, allocations: 1.334 MB / 0.9904 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/2.884, allocations: 10.72 kB / 0.9904 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003215/2.884, allocations: 125.4 kB / 0.9905 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006501/2.885, allocations: 118.2 kB / 0.9907 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/2.888, allocations: 0.7848 MB / 0.9914 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/2.888, allocations: 118.1 kB / 0.9915 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/2.888, allocations: 69.77 kB / 0.9916 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002794/2.891, allocations: 1.177 MB / 0.9928 GB, free: 136 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/2.891, allocations: 7.781 kB / 0.9928 GB, free: 136 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/2.891, allocations: 31.72 kB / 0.9928 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001519/2.891, allocations: 71.36 kB / 0.9929 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002744/2.894, allocations: 1.153 MB / 0.994 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/2.907, allocations: 4.728 MB / 0.9986 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/2.908, allocations: 0.6632 MB / 0.9993 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009283/2.909, allocations: 418.4 kB / 0.9997 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004941/2.914, allocations: 2.496 MB / 1.002 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/2.914, allocations: 41.91 kB / 1.002 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=52): time 4.278e-06/2.914, allocations: 0 / 1.002 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57): time 0.00749/2.922, allocations: 2.357 MB / 1.004 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/2.922, allocations: 170.7 kB / 1.005 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/2.924, allocations: 0.825 MB / 1.005 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000183/2.924, allocations: 37.7 kB / 1.005 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/2.924, allocations: 468.5 kB / 1.006 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/2.924, allocations: 201 kB / 1.006 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.77e-05/2.925, allocations: 16 kB / 1.006 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.979e-05/2.925, allocations: 346.8 kB / 1.006 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/2.926, allocations: 441.6 kB / 1.007 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/2.927, allocations: 0.6546 MB / 1.007 GB, free: 122 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/2.928, allocations: 0.5042 MB / 1.008 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/2.928, allocations: 0 / 1.008 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003469/2.932, allocations: 1.421 MB / 1.009 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005274/2.932, allocations: 2.444 MB / 1.012 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/2.932, allocations: 11.75 kB / 1.012 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002571/2.935, allocations: 0.5015 MB / 1.012 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/2.936, allocations: 183.7 kB / 1.012 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/2.94, allocations: 2.935 MB / 1.015 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/2.941, allocations: 47.91 kB / 1.015 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/2.942, allocations: 47.97 kB / 1.015 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/2.942, allocations: 7.953 kB / 1.015 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003485/2.945, allocations: 1.33 MB / 1.017 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/2.945, allocations: 4 kB / 1.017 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/2.947, allocations: 389.7 kB / 1.017 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/2.948, allocations: 191.7 kB / 1.017 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002573/2.951, allocations: 2.81 MB / 1.02 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/2.952, allocations: 55.95 kB / 1.02 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/2.952, allocations: 43.98 kB / 1.02 GB, free: 108.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (99): * Single equations (assignments): 96 * 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.0003747/2.953, allocations: 160.6 kB / 1.02 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000324/2.953, allocations: 94.88 kB / 1.02 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003488/2.956, allocations: 1.389 MB / 1.022 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/2.957, allocations: 4 kB / 1.022 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/2.957, allocations: 8 kB / 1.022 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/2.957, allocations: 3.984 kB / 1.022 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005247/2.962, allocations: 2.329 MB / 1.024 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/2.962, allocations: 4.062 kB / 1.024 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008559/2.963, allocations: 87.88 kB / 1.024 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0024/2.965, allocations: 0.5052 MB / 1.025 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/2.965, allocations: 19.98 kB / 1.025 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002821/2.968, allocations: 2.904 MB / 1.027 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/2.968, allocations: 0 / 1.027 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003868/2.972, allocations: 1.761 MB / 1.029 GB, free: 98.89 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008285/2.973, allocations: 307.7 kB / 1.029 GB, free: 98.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/2.973, allocations: 19.94 kB / 1.029 GB, free: 98.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/2.974, allocations: 47.92 kB / 1.029 GB, free: 98.51 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/2.975, allocations: 56.42 kB / 1.03 GB, free: 98.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/2.975, allocations: 31.97 kB / 1.03 GB, free: 98.42 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001196/2.976, allocations: 0.6481 MB / 1.03 GB, free: 97.76 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.11e-07/2.976, allocations: 192 / 1.03 GB, free: 97.76 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003551/2.98, allocations: 0.8976 MB / 1.031 GB, free: 96.86 MB / 0.5261 GB 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.006528/2.986, allocations: 3.191 MB / 1.034 GB, free: 93.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005254/2.991, allocations: 1.811 MB / 1.036 GB, free: 91.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/2.991, allocations: 0 / 1.036 GB, free: 91.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001636/2.993, allocations: 0.5546 MB / 1.037 GB, free: 91.28 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/2.996, allocations: 385.4 kB / 1.037 GB, free: 90.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006711/3.003, allocations: 1.962 MB / 1.039 GB, free: 88.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/3.004, allocations: 1.077 MB / 1.04 GB, free: 87.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008318/3.005, allocations: 363.2 kB / 1.04 GB, free: 87.45 MB / 0.5261 GB Notification: Performance of SimCode: time 1.333e-06/3.005, allocations: 0 / 1.04 GB, free: 87.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.656/6.66, allocations: 36.06 MB / 1.075 GB, free: 51.62 MB / 0.5261 GB