Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.821/2.821, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.363e-05/4.371e-05, allocations: 4 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.4181, allocations: 54.86 MB / 359.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1614/0.5795, allocations: 82.16 MB / 442 MB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/0.5799, allocations: 73.42 kB / 442.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02504/0.605, allocations: 5.266 MB / 447.4 MB, free: 9.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.605, allocations: 4 kB / 447.4 MB, free: 9.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.605, allocations: 4 kB / 447.4 MB, free: 9.5 MB / 378.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.0006685/0.6057, allocations: 398.2 kB / 447.8 MB, free: 9.066 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.6058, allocations: 12.03 kB / 447.8 MB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.104e-05/0.6059, allocations: 38.55 kB / 447.8 MB, free: 9.008 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.6059, allocations: 7.906 kB / 447.8 MB, free: 9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.6061, allocations: 171.9 kB / 448 MB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.6061, allocations: 0 / 448 MB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.6062, allocations: 8 kB / 448 MB, free: 8.785 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.6064, allocations: 69.64 kB / 448.1 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.6064, allocations: 0 / 448.1 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.6064, allocations: 0 / 448.1 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.6064, allocations: 0 / 448.1 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.6066, allocations: 59.95 kB / 448.1 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/0.6069, allocations: 193.6 kB / 448.3 MB, free: 8.414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.607, allocations: 58.5 kB / 448.4 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.6071, allocations: 45.41 kB / 448.4 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.365e-05/0.6072, allocations: 16.5 kB / 448.4 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.6073, allocations: 38.48 kB / 448.5 MB, free: 8.238 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.844e-06/0.6073, allocations: 0 / 448.5 MB, free: 8.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.03289/0.6402, allocations: 1.223 MB / 449.7 MB, free: 6.992 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.6403, allocations: 55.41 kB / 449.8 MB, free: 6.926 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.6405, allocations: 114.8 kB / 449.9 MB, free: 6.805 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.6405, allocations: 29.7 kB / 449.9 MB, free: 6.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.604e-05/0.6406, allocations: 162.7 kB / 450.1 MB, free: 6.605 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.791e-05/0.6407, allocations: 35.45 kB / 450.1 MB, free: 6.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.6407, allocations: 4 kB / 450.1 MB, free: 6.566 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.6409, allocations: 314.8 kB / 450.4 MB, free: 6.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.6411, allocations: 67.98 kB / 450.5 MB, free: 6.184 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.6414, allocations: 79.98 kB / 450.5 MB, free: 6.105 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.6417, allocations: 73.44 kB / 450.6 MB, free: 6.035 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6417, allocations: 0 / 450.6 MB, free: 6.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006865/0.6424, allocations: 197.4 kB / 450.8 MB, free: 5.836 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.6425, allocations: 8 kB / 450.8 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6425, allocations: 0 / 450.8 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.6425, allocations: 0 / 450.8 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/0.6431, allocations: 42.39 kB / 450.9 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.6432, allocations: 0 / 450.9 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.6436, allocations: 19.98 kB / 450.9 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.6437, allocations: 11.36 kB / 450.9 MB, free: 5.762 MB / 378.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.0001201/0.6438, allocations: 104.9 kB / 451 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.6439, allocations: 11.86 kB / 451 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000946/0.6448, allocations: 254.5 kB / 451.2 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.6448, allocations: 0 / 451.2 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6448, allocations: 0 / 451.2 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.6449, allocations: 4 kB / 451.3 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002511/0.6474, allocations: 0.6234 MB / 451.9 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.6474, allocations: 4.031 kB / 451.9 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005314/0.648, allocations: 35.97 kB / 451.9 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.648, allocations: 4 kB / 451.9 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.648, allocations: 8.078 kB / 451.9 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.6481, allocations: 3.938 kB / 451.9 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.6481, allocations: 3.938 kB / 451.9 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007851/0.6489, allocations: 343 kB / 452.3 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.649, allocations: 105 kB / 452.4 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.098e-05/0.6491, allocations: 4 kB / 452.4 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/0.6496, allocations: 23.98 kB / 452.4 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.6496, allocations: 7.953 kB / 452.4 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.6497, allocations: 15.92 kB / 452.4 MB, free: 4.082 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.126e-05/0.6498, allocations: 97.81 kB / 452.5 MB, free: 3.988 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6498, allocations: 0 / 452.5 MB, free: 3.988 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008976/0.6507, allocations: 179.7 kB / 452.7 MB, free: 3.812 MB / 378.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.002148/0.6529, allocations: 1.234 MB / 453.9 MB, free: 2.527 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005914/0.6535, allocations: 159.9 kB / 454.1 MB, free: 2.371 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6535, allocations: 0 / 454.1 MB, free: 2.371 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.6538, allocations: 83.92 kB / 454.2 MB, free: 2.289 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.6542, allocations: 20.17 kB / 454.2 MB, free: 2.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.6568, allocations: 389.5 kB / 454.6 MB, free: 1.844 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.6571, allocations: 0.7043 MB / 455.3 MB, free: 1.113 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/0.6574, allocations: 35.42 kB / 455.3 MB, free: 1.078 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6574, allocations: 3.938 kB / 455.3 MB, free: 1.074 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.451/3.109, allocations: 4.732 MB / 460 MB, free: 12.37 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat