Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.492/2.492, allocations: 270 MB / 282.7 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.394e-05/3.394e-05, allocations: 4 kB / 347.1 MB, free: 3.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.3989, allocations: 61.86 MB / 408.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.293/1.692, allocations: 339.7 MB / 0.731 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/1.692, allocations: 91.22 kB / 0.7311 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.627/4.319, allocations: 463.9 MB / 1.184 GB, free: 59.23 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.886e-06/4.319, allocations: 2.844 kB / 1.184 GB, free: 59.23 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002048/4.319, allocations: 49.61 kB / 1.184 GB, free: 59.23 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.008019/4.327, allocations: 1.917 MB / 1.186 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/4.327, allocations: 11.97 kB / 1.186 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007001/4.328, allocations: 192.8 kB / 1.186 GB, free: 58.28 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002652/4.331, allocations: 234.4 kB / 1.186 GB, free: 58.19 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004412/4.335, allocations: 1.1 MB / 1.188 GB, free: 57.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.414e-05/4.335, allocations: 98.28 kB / 1.188 GB, free: 57.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002578/4.336, allocations: 129.7 kB / 1.188 GB, free: 57.84 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004919/4.341, allocations: 1.884 MB / 1.19 GB, free: 57.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.197e-05/4.341, allocations: 8.375 kB / 1.19 GB, free: 57.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004368/4.341, allocations: 65.5 kB / 1.19 GB, free: 57.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.802e-05/4.341, allocations: 41.02 kB / 1.19 GB, free: 57.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004395/4.346, allocations: 1.524 MB / 1.191 GB, free: 57.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0144/4.36, allocations: 9.266 MB / 1.2 GB, free: 51.35 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/4.363, allocations: 1.017 MB / 1.201 GB, free: 51.32 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/4.364, allocations: 488.9 kB / 1.202 GB, free: 51.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008989/4.373, allocations: 6.02 MB / 1.208 GB, free: 46.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/4.374, allocations: 56.22 kB / 1.208 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=95): time 4.568e-06/4.374, allocations: 0 / 1.208 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=95): time 0.004608/4.378, allocations: 1.025 MB / 1.209 GB, free: 46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/4.378, allocations: 384 kB / 1.209 GB, free: 45.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/4.38, allocations: 0.9948 MB / 1.21 GB, free: 45.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003734/4.381, allocations: 47.45 kB / 1.21 GB, free: 45.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005955/4.381, allocations: 0.7538 MB / 1.211 GB, free: 44.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000441/4.382, allocations: 333.8 kB / 1.211 GB, free: 44.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/4.382, allocations: 27.25 kB / 1.211 GB, free: 44.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001319/4.382, allocations: 367.3 kB / 1.211 GB, free: 44.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/4.383, allocations: 378.4 kB / 1.212 GB, free: 44.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/4.385, allocations: 0.9566 MB / 1.213 GB, free: 43.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/4.386, allocations: 0.5289 MB / 1.213 GB, free: 43.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.689e-05/4.386, allocations: 10.36 kB / 1.213 GB, free: 43.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003826/4.39, allocations: 1.328 MB / 1.215 GB, free: 43.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/4.39, allocations: 13.59 kB / 1.215 GB, free: 43.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/4.39, allocations: 17.91 kB / 1.215 GB, free: 43.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.467e-05/4.39, allocations: 30 kB / 1.215 GB, free: 43.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005708/4.396, allocations: 0.537 MB / 1.215 GB, free: 43.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/4.398, allocations: 1.871 MB / 1.217 GB, free: 41.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/4.401, allocations: 212.9 kB / 1.217 GB, free: 41.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002864/4.401, allocations: 92.91 kB / 1.217 GB, free: 41.74 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 176 * 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.0005825/4.402, allocations: 209.8 kB / 1.217 GB, free: 41.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007124/4.402, allocations: 158 kB / 1.218 GB, free: 41.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008328/4.411, allocations: 2.311 MB / 1.22 GB, free: 41.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.456e-05/4.411, allocations: 17.72 kB / 1.22 GB, free: 41.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/4.411, allocations: 2.734 kB / 1.22 GB, free: 41.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.409e-05/4.411, allocations: 6.094 kB / 1.22 GB, free: 41.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/4.424, allocations: 3.72 MB / 1.224 GB, free: 40.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.2e-05/4.424, allocations: 9.062 kB / 1.224 GB, free: 40.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002857/4.427, allocations: 309.6 kB / 1.224 GB, free: 40.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/4.428, allocations: 100.6 kB / 1.224 GB, free: 40.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/4.429, allocations: 50.84 kB / 1.224 GB, free: 40.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/4.431, allocations: 1.785 MB / 1.226 GB, free: 38.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.628e-05/4.431, allocations: 14.86 kB / 1.226 GB, free: 38.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005829/4.437, allocations: 1.986 MB / 1.228 GB, free: 37.28 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/4.438, allocations: 282.7 kB / 1.228 GB, free: 37.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007573/4.439, allocations: 32.38 kB / 1.228 GB, free: 37.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003357/4.442, allocations: 118 kB / 1.228 GB, free: 37.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000401/4.443, allocations: 109.1 kB / 1.228 GB, free: 37.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003823/4.443, allocations: 85.31 kB / 1.228 GB, free: 37.06 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002255/4.445, allocations: 0.7808 MB / 1.229 GB, free: 36.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.22e-07/4.445, allocations: 10.09 kB / 1.229 GB, free: 36.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006161/4.452, allocations: 0.9392 MB / 1.23 GB, free: 36.77 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01104/4.463, allocations: 5.75 MB / 1.236 GB, free: 32.92 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009075/4.472, allocations: 1.3 MB / 1.237 GB, free: 32.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.619e-05/4.472, allocations: 8.25 kB / 1.237 GB, free: 32.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004184/4.476, allocations: 0.6654 MB / 1.238 GB, free: 32.81 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009556/4.486, allocations: 0.7769 MB / 1.238 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/4.497, allocations: 2.671 MB / 1.241 GB, free: 31.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009519/4.498, allocations: 1.288 MB / 1.242 GB, free: 31.08 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001517/4.5, allocations: 0.6568 MB / 1.243 GB, free: 31.07 MB / 0.5261 GB Notification: Performance of SimCode: time 1.763e-06/4.5, allocations: 3.938 kB / 1.243 GB, free: 31.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.761/8.26, allocations: 59.23 MB / 1.301 GB, free: 1.668 MB / 0.5261 GB