Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.584/2.584, allocations: 270 MB / 282.7 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.648e-05/3.659e-05, allocations: 4 kB / 347.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4243, allocations: 61.88 MB / 409 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1933/0.6176, allocations: 92.05 MB / 0.4893 GB, free: 14.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000524/0.6182, allocations: 99.92 kB / 0.4894 GB, free: 14.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02892/0.6471, allocations: 6.099 MB / 0.4953 GB, free: 8.172 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.6472, allocations: 4 kB / 0.4953 GB, free: 8.168 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.919e-05/0.6472, allocations: 4 kB / 0.4953 GB, free: 8.164 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0009359/0.6482, allocations: 486.3 kB / 0.4958 GB, free: 7.641 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.6483, allocations: 12.03 kB / 0.4958 GB, free: 7.629 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.6484, allocations: 62.48 kB / 0.4959 GB, free: 7.559 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00236/0.6508, allocations: 207.2 kB / 0.4961 GB, free: 7.355 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005554/0.6513, allocations: 266.7 kB / 0.4963 GB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.187e-05/0.6514, allocations: 24.52 kB / 0.4963 GB, free: 7.031 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.407e-05/0.6515, allocations: 20 kB / 0.4964 GB, free: 7.012 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.6527, allocations: 447.5 kB / 0.4968 GB, free: 6.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.6527, allocations: 7.984 kB / 0.4968 GB, free: 6.562 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.304e-05/0.6528, allocations: 12 kB / 0.4968 GB, free: 6.551 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-05/0.6529, allocations: 16.56 kB / 0.4968 GB, free: 6.535 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.6542, allocations: 0.5047 MB / 0.4973 GB, free: 6.031 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00353/0.6578, allocations: 1.178 MB / 0.4985 GB, free: 4.762 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005066/0.6583, allocations: 110.5 kB / 0.4986 GB, free: 4.645 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.6586, allocations: 56.83 kB / 0.4986 GB, free: 4.586 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.6586, allocations: 8.078 kB / 0.4986 GB, free: 4.578 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.6587, allocations: 30.56 kB / 0.4987 GB, free: 4.539 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.765e-06/0.6587, allocations: 0 / 0.4987 GB, free: 4.539 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007069/0.6594, allocations: 145.4 kB / 0.4988 GB, free: 4.391 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.6595, allocations: 51.41 kB / 0.4988 GB, free: 4.328 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004077/0.6599, allocations: 250.9 kB / 0.4991 GB, free: 4.074 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.6599, allocations: 25.7 kB / 0.4991 GB, free: 4.043 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.6601, allocations: 222 kB / 0.4993 GB, free: 3.824 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.678e-05/0.6602, allocations: 27.55 kB / 0.4993 GB, free: 3.797 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.6602, allocations: 7.938 kB / 0.4993 GB, free: 3.789 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6604, allocations: 310.8 kB / 0.4996 GB, free: 3.477 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.6606, allocations: 55.97 kB / 0.4997 GB, free: 3.422 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.6609, allocations: 87.39 kB / 0.4998 GB, free: 3.324 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.6612, allocations: 67.89 kB / 0.4998 GB, free: 3.258 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.6612, allocations: 3.953 kB / 0.4999 GB, free: 3.254 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000671/0.6619, allocations: 165.5 kB / 0.5 GB, free: 3.086 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.6619, allocations: 8 kB / 0.5 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.662, allocations: 0 / 0.5 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.662, allocations: 0 / 0.5 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01033/0.6723, allocations: 455.4 kB / 0.5004 GB, free: 2.633 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004765/0.6771, allocations: 1.914 MB / 0.5023 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007934/0.678, allocations: 39.66 kB / 0.5024 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/0.678, allocations: 15.98 kB / 0.5024 GB, free: 0.5938 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.6782, allocations: 104.9 kB / 0.5025 GB, free: 496 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/0.6783, allocations: 15.81 kB / 0.5025 GB, free: 480 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.947e-05/0.6784, allocations: 30.02 kB / 0.5025 GB, free: 444 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.6784, allocations: 7.938 kB / 0.5025 GB, free: 436 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.6784, allocations: 0 / 0.5025 GB, free: 436 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6784, allocations: 0 / 0.5025 GB, free: 436 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005769/0.679, allocations: 301.3 kB / 0.5028 GB, free: 84 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.679, allocations: 3.953 kB / 0.5028 GB, free: 80 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01018/0.6892, allocations: 443.5 kB / 0.5032 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.6893, allocations: 0 / 0.5032 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.868e-05/0.6893, allocations: 7.922 kB / 0.5032 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004631/0.694, allocations: 1.906 MB / 0.5051 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.694, allocations: 4.062 kB / 0.5051 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006988/0.6947, allocations: 239.3 kB / 0.5053 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.6949, allocations: 100.8 kB / 0.5054 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-05/0.695, allocations: 8 kB / 0.5054 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007017/0.6957, allocations: 19.97 kB / 0.5055 GB, free: 13.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.139e-05/0.6958, allocations: 7.984 kB / 0.5055 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/0.6958, allocations: 7.984 kB / 0.5055 GB, free: 13.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003162/0.6961, allocations: 203.1 kB / 0.5057 GB, free: 13.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6962, allocations: 0 / 0.5057 GB, free: 13.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005462/0.6967, allocations: 75.84 kB / 0.5057 GB, free: 12.97 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001163/0.6979, allocations: 0.8377 MB / 0.5066 GB, free: 12.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009564/0.7075, allocations: 460.2 kB / 0.507 GB, free: 11.67 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.7075, allocations: 0 / 0.507 GB, free: 11.67 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009236/0.7168, allocations: 399.5 kB / 0.5074 GB, free: 11.28 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.7173, allocations: 40.66 kB / 0.5074 GB, free: 11.24 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.7186, allocations: 396 kB / 0.5078 GB, free: 10.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.7191, allocations: 0.7753 MB / 0.5086 GB, free: 10.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.7193, allocations: 67.41 kB / 0.5086 GB, free: 9.941 MB / 442.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7193, allocations: 0 / 0.5086 GB, free: 9.941 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.028/3.747, allocations: 7.762 MB / 0.5162 GB, free: 2.207 MB / 442.7 MB