Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.431/2.431, allocations: 270 MB / 283.6 MB, free: 1.879 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.745e-05/3.75e-05, allocations: 4 kB / 348.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3855, allocations: 61.87 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.16/0.5456, allocations: 88.2 MB / 498.6 MB, free: 2.285 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003511/0.546, allocations: 79.94 kB / 498.6 MB, free: 2.207 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02604/0.572, allocations: 5.478 MB / 0.4923 GB, free: 12.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5721, allocations: 0 / 0.4923 GB, free: 12.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.5721, allocations: 0 / 0.4923 GB, free: 12.71 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.0005951/0.5727, allocations: 406.2 kB / 0.4927 GB, free: 12.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.5728, allocations: 8.031 kB / 0.4927 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.5728, allocations: 30.56 kB / 0.4927 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.5729, allocations: 11.91 kB / 0.4927 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.5731, allocations: 182.9 kB / 0.4929 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.5731, allocations: 4 kB / 0.4929 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.5731, allocations: 4 kB / 0.4929 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.5733, allocations: 61.67 kB / 0.493 GB, free: 11.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.5733, allocations: 0 / 0.493 GB, free: 11.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.5733, allocations: 0 / 0.493 GB, free: 11.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.5734, allocations: 4 kB / 0.493 GB, free: 11.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.5735, allocations: 47.98 kB / 0.493 GB, free: 11.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002596/0.5738, allocations: 201.6 kB / 0.4932 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.5739, allocations: 62.45 kB / 0.4933 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.574, allocations: 36.86 kB / 0.4933 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-05/0.5741, allocations: 19.98 kB / 0.4933 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.5742, allocations: 38.56 kB / 0.4934 GB, free: 11.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 3.977e-06/0.5742, allocations: 3.984 kB / 0.4934 GB, free: 11.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.03544/0.6096, allocations: 1.435 MB / 0.4948 GB, free: 9.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.6097, allocations: 51.41 kB / 0.4948 GB, free: 9.918 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.6099, allocations: 113.3 kB / 0.4949 GB, free: 9.797 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.34e-05/0.61, allocations: 29.7 kB / 0.495 GB, free: 9.762 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.232e-05/0.61, allocations: 84.38 kB / 0.495 GB, free: 9.672 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.442e-05/0.6101, allocations: 47.39 kB / 0.4951 GB, free: 9.625 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.6102, allocations: 0 / 0.4951 GB, free: 9.625 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6103, allocations: 326.8 kB / 0.4954 GB, free: 9.297 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.6106, allocations: 79.98 kB / 0.4955 GB, free: 9.219 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.6108, allocations: 75.98 kB / 0.4955 GB, free: 9.145 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.6112, allocations: 68.3 kB / 0.4956 GB, free: 9.078 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6112, allocations: 0 / 0.4956 GB, free: 9.078 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007528/0.612, allocations: 217.3 kB / 0.4958 GB, free: 8.859 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.612, allocations: 4 kB / 0.4958 GB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.612, allocations: 4 kB / 0.4958 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.6121, allocations: 0 / 0.4958 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.6131, allocations: 67.92 kB / 0.4959 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.6131, allocations: 0 / 0.4959 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008394/0.614, allocations: 39.97 kB / 0.4959 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/0.6141, allocations: 7.984 kB / 0.4959 GB, free: 8.738 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.000136/0.6142, allocations: 108.9 kB / 0.496 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.6143, allocations: 11.91 kB / 0.4961 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.6153, allocations: 254.1 kB / 0.4963 GB, free: 8.363 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.6154, allocations: 7.938 kB / 0.4963 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6154, allocations: 0 / 0.4963 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.6154, allocations: 0 / 0.4963 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003886/0.6193, allocations: 0.7354 MB / 0.497 GB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.6193, allocations: 3.984 kB / 0.497 GB, free: 7.555 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009672/0.6203, allocations: 71.92 kB / 0.4971 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.6203, allocations: 4.094 kB / 0.4971 GB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.6204, allocations: 4 kB / 0.4971 GB, free: 7.477 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.6204, allocations: 7.984 kB / 0.4971 GB, free: 7.469 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.6204, allocations: 0 / 0.4971 GB, free: 7.469 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008364/0.6213, allocations: 351 kB / 0.4974 GB, free: 7.082 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.6214, allocations: 112.9 kB / 0.4976 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.6215, allocations: 0 / 0.4976 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008882/0.6224, allocations: 51.89 kB / 0.4976 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.6225, allocations: 4 kB / 0.4976 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/0.6225, allocations: 11.98 kB / 0.4976 GB, free: 6.887 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.747e-05/0.6226, allocations: 106.5 kB / 0.4977 GB, free: 6.785 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.935e-06/0.6226, allocations: 0 / 0.4977 GB, free: 6.785 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000857/0.6235, allocations: 179.7 kB / 0.4979 GB, free: 6.609 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.002147/0.6257, allocations: 1.242 MB / 0.4991 GB, free: 5.316 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006824/0.6264, allocations: 172 kB / 0.4993 GB, free: 5.148 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.6264, allocations: 3.938 kB / 0.4993 GB, free: 5.145 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.6267, allocations: 99.84 kB / 0.4994 GB, free: 5.047 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.6271, allocations: 16.75 kB / 0.4994 GB, free: 5.031 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/0.6315, allocations: 482.4 kB / 0.4998 GB, free: 4.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.6319, allocations: 0.7007 MB / 0.5005 GB, free: 3.793 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004222/0.6323, allocations: 44.34 kB / 0.5006 GB, free: 3.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.6326, allocations: 43.39 kB / 0.5006 GB, free: 3.707 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6326, allocations: 4 kB / 0.5006 GB, free: 3.703 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03888/0.6715, allocations: 6.846 MB / 0.5073 GB, free: 13 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003417/0.6719, allocations: 192.8 kB / 0.5075 GB, free: 12.77 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.464/3.136, allocations: 0 / 0.5075 GB, free: 12.77 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat