Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.627/2.627, allocations: 270 MB / 282.6 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.593e-05/3.598e-05, allocations: 4 kB / 347.1 MB, free: 3.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.3987, allocations: 61.86 MB / 408.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.5913, allocations: 91.11 MB / 0.4883 GB, free: 15.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003686/0.5918, allocations: 87.94 kB / 0.4884 GB, free: 15.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02702/0.6188, allocations: 5.97 MB / 0.4942 GB, free: 9.324 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6189, allocations: 0 / 0.4942 GB, free: 9.324 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.6189, allocations: 4 kB / 0.4942 GB, free: 9.32 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008235/0.6197, allocations: 0.4903 MB / 0.4947 GB, free: 8.785 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.6198, allocations: 11.97 kB / 0.4947 GB, free: 8.773 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.6199, allocations: 66.53 kB / 0.4948 GB, free: 8.699 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/0.6216, allocations: 159.5 kB / 0.495 GB, free: 8.543 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.6221, allocations: 265.8 kB / 0.4952 GB, free: 8.246 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.6221, allocations: 16.44 kB / 0.4952 GB, free: 8.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.213e-05/0.6222, allocations: 24 kB / 0.4952 GB, free: 8.207 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009255/0.6231, allocations: 412.4 kB / 0.4956 GB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.6232, allocations: 4 kB / 0.4956 GB, free: 7.762 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.6232, allocations: 12 kB / 0.4957 GB, free: 7.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.044e-05/0.6233, allocations: 20.55 kB / 0.4957 GB, free: 7.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009674/0.6243, allocations: 344.8 kB / 0.496 GB, free: 7.395 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003493/0.6278, allocations: 1.704 MB / 0.4977 GB, free: 5.566 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.6282, allocations: 90.48 kB / 0.4978 GB, free: 5.469 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.6284, allocations: 40.78 kB / 0.4978 GB, free: 5.426 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.6284, allocations: 0 / 0.4978 GB, free: 5.426 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.6285, allocations: 42.55 kB / 0.4978 GB, free: 5.375 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.6285, allocations: 0 / 0.4978 GB, free: 5.375 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005164/0.629, allocations: 121.5 kB / 0.498 GB, free: 5.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.6291, allocations: 51.41 kB / 0.498 GB, free: 5.188 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000537/0.6296, allocations: 295.1 kB / 0.4983 GB, free: 4.887 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.6297, allocations: 25.7 kB / 0.4983 GB, free: 4.855 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.6298, allocations: 237.6 kB / 0.4985 GB, free: 4.621 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.6299, allocations: 27.64 kB / 0.4986 GB, free: 4.594 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.6299, allocations: 8 kB / 0.4986 GB, free: 4.586 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.6301, allocations: 314.8 kB / 0.4989 GB, free: 4.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.6303, allocations: 55.97 kB / 0.4989 GB, free: 4.215 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.6306, allocations: 105.9 kB / 0.499 GB, free: 4.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.6308, allocations: 75.89 kB / 0.4991 GB, free: 4.016 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.6308, allocations: 4 kB / 0.4991 GB, free: 4.012 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006374/0.6315, allocations: 193.4 kB / 0.4993 GB, free: 3.816 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.6315, allocations: 7.938 kB / 0.4993 GB, free: 3.809 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.6315, allocations: 8.188 kB / 0.4993 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.6316, allocations: 3.984 kB / 0.4993 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002739/0.6343, allocations: 123.8 kB / 0.4994 GB, free: 3.676 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/0.637, allocations: 1.836 MB / 0.5012 GB, free: 1.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005355/0.6376, allocations: 39.61 kB / 0.5012 GB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.6377, allocations: 8 kB / 0.5013 GB, free: 1.723 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * 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.0001374/0.6378, allocations: 117.1 kB / 0.5014 GB, free: 1.602 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.811e-05/0.6379, allocations: 19.81 kB / 0.5014 GB, free: 1.582 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006758/0.6386, allocations: 175.2 kB / 0.5016 GB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.6386, allocations: 4 kB / 0.5016 GB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6386, allocations: 0 / 0.5016 GB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.6386, allocations: 4 kB / 0.5016 GB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005193/0.6392, allocations: 273.4 kB / 0.5018 GB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.6392, allocations: 0 / 0.5018 GB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002189/0.6414, allocations: 104 kB / 0.5019 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.6414, allocations: 0 / 0.5019 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.6414, allocations: 0 / 0.5019 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.6431, allocations: 1.793 MB / 0.5037 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.6432, allocations: 288 / 0.5037 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004893/0.6437, allocations: 239.1 kB / 0.5039 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.6438, allocations: 104.8 kB / 0.504 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/0.6439, allocations: 3.938 kB / 0.504 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.6443, allocations: 12 kB / 0.504 GB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.6443, allocations: 7.984 kB / 0.504 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.6444, allocations: 4 kB / 0.504 GB, free: 14.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004045/0.6448, allocations: 247.1 kB / 0.5043 GB, free: 14.47 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6448, allocations: 0 / 0.5043 GB, free: 14.47 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005136/0.6453, allocations: 67.84 kB / 0.5043 GB, free: 14.4 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 (11): * Single equations (assignments): 8 * 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.0009406/0.6463, allocations: 0.8133 MB / 0.5051 GB, free: 13.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002458/0.6487, allocations: 183.7 kB / 0.5053 GB, free: 13.39 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6488, allocations: 0 / 0.5053 GB, free: 13.39 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.6502, allocations: 96.2 kB / 0.5054 GB, free: 13.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.6507, allocations: 39.72 kB / 0.5054 GB, free: 13.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.6522, allocations: 434.9 kB / 0.5058 GB, free: 12.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.6528, allocations: 0.7833 MB / 0.5066 GB, free: 11.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.653, allocations: 71.41 kB / 0.5067 GB, free: 11.91 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/0.653, allocations: 0 / 0.5067 GB, free: 11.91 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.913/3.566, allocations: 7.622 MB / 0.5141 GB, free: 4.312 MB / 442.7 MB