Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.474/2.474, allocations: 270 MB / 282.7 MB, free: 1.891 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.026e-05, allocations: 4 kB / 347.1 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4146, allocations: 61.88 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.6114, allocations: 88.19 MB / 497.1 MB, free: 2.324 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004756/0.6119, allocations: 75.95 kB / 497.2 MB, free: 2.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04264/0.6546, allocations: 5.473 MB / 0.4909 GB, free: 12.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.6547, allocations: 0 / 0.4909 GB, free: 12.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.6547, allocations: 7.938 kB / 0.4909 GB, free: 12.75 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008518/0.6556, allocations: 405.5 kB / 0.4913 GB, free: 12.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.701e-05/0.6557, allocations: 12.03 kB / 0.4913 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.274e-05/0.6558, allocations: 34.56 kB / 0.4913 GB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.6558, allocations: 7.906 kB / 0.4913 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.6561, allocations: 182.9 kB / 0.4915 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.6561, allocations: 4 kB / 0.4915 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.6562, allocations: 4 kB / 0.4915 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.6565, allocations: 65.67 kB / 0.4916 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.6565, allocations: 0 / 0.4916 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.6565, allocations: 0 / 0.4916 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.443e-06/0.6566, allocations: 0 / 0.4916 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.6568, allocations: 59.95 kB / 0.4916 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.6572, allocations: 189.6 kB / 0.4918 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.6574, allocations: 70.45 kB / 0.4919 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.6576, allocations: 36.86 kB / 0.4919 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.6577, allocations: 19.98 kB / 0.4919 GB, free: 11.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.6578, allocations: 30.56 kB / 0.492 GB, free: 11.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 4.278e-06/0.6578, allocations: 0 / 0.492 GB, free: 11.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.05087/0.7087, allocations: 1.427 MB / 0.4934 GB, free: 10.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.7088, allocations: 55.41 kB / 0.4934 GB, free: 9.965 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.709, allocations: 116.4 kB / 0.4935 GB, free: 9.844 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.796e-05/0.7091, allocations: 29.7 kB / 0.4936 GB, free: 9.809 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.7093, allocations: 158.8 kB / 0.4937 GB, free: 9.648 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.7094, allocations: 39.39 kB / 0.4937 GB, free: 9.609 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.7095, allocations: 0 / 0.4937 GB, free: 9.609 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.7097, allocations: 318.8 kB / 0.4941 GB, free: 9.289 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/0.7101, allocations: 83.98 kB / 0.4941 GB, free: 9.207 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.7106, allocations: 75.98 kB / 0.4942 GB, free: 9.133 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005488/0.7112, allocations: 72.28 kB / 0.4943 GB, free: 9.062 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.7112, allocations: 0 / 0.4943 GB, free: 9.062 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001207/0.7124, allocations: 217.3 kB / 0.4945 GB, free: 8.844 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/0.7125, allocations: 4 kB / 0.4945 GB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.7125, allocations: 0 / 0.4945 GB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.7126, allocations: 0 / 0.4945 GB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.714, allocations: 67.94 kB / 0.4945 GB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.7141, allocations: 0 / 0.4945 GB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.7153, allocations: 43.95 kB / 0.4946 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/0.7154, allocations: 11.92 kB / 0.4946 GB, free: 8.719 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002052/0.7156, allocations: 112.9 kB / 0.4947 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.872e-05/0.7157, allocations: 7.906 kB / 0.4947 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.7173, allocations: 258.1 kB / 0.495 GB, free: 8.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.7174, allocations: 7.938 kB / 0.495 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.7174, allocations: 0 / 0.495 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.7174, allocations: 0 / 0.495 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005642/0.7231, allocations: 0.7276 MB / 0.4957 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.7231, allocations: 4.094 kB / 0.4957 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/0.7246, allocations: 59.94 kB / 0.4957 GB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.37e-05/0.7246, allocations: 4 kB / 0.4957 GB, free: 7.477 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.789e-05/0.7247, allocations: 15.98 kB / 0.4958 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.7247, allocations: 0 / 0.4958 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-05/0.7248, allocations: 7.938 kB / 0.4958 GB, free: 7.453 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.7261, allocations: 347.1 kB / 0.4961 GB, free: 7.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.7264, allocations: 108.9 kB / 0.4962 GB, free: 6.945 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.355e-05/0.7265, allocations: 7.984 kB / 0.4962 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.7278, allocations: 43.91 kB / 0.4963 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.7279, allocations: 11.98 kB / 0.4963 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-05/0.7279, allocations: 4 kB / 0.4963 GB, free: 6.879 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000143/0.7281, allocations: 99.2 kB / 0.4964 GB, free: 6.781 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.7281, allocations: 0 / 0.4964 GB, free: 6.781 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001329/0.7295, allocations: 183.7 kB / 0.4965 GB, free: 6.602 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003499/0.733, allocations: 1.248 MB / 0.4978 GB, free: 5.305 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.7342, allocations: 179.9 kB / 0.4979 GB, free: 5.129 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/0.7342, allocations: 0 / 0.4979 GB, free: 5.129 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005388/0.7348, allocations: 99.84 kB / 0.498 GB, free: 5.031 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.7354, allocations: 16.17 kB / 0.498 GB, free: 5.016 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006685/0.7421, allocations: 0.4963 MB / 0.4985 GB, free: 4.473 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.7426, allocations: 0.6965 MB / 0.4992 GB, free: 3.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/0.7431, allocations: 43.39 kB / 0.4992 GB, free: 3.707 MB / 426.7 MB Notification: Performance of SimCode: time 1.914e-06/0.7431, allocations: 0 / 0.4992 GB, free: 3.707 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.674/3.417, allocations: 5.053 MB / 0.5042 GB, free: 14.7 MB / 442.7 MB