Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.551/2.551, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.049e-05/4.056e-05, allocations: 8 kB / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4149, allocations: 58.84 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.5902, allocations: 87.07 MB / 469.4 MB, free: 5.438 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.5906, allocations: 75.95 kB / 469.4 MB, free: 5.363 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02498/0.6156, allocations: 5.35 MB / 474.8 MB, free: 4 kB / 394.8 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6156, allocations: 0 / 474.8 MB, free: 4 kB / 394.8 MB Notification: Performance of Transformations before backend: time 3.752e-05/0.6157, allocations: 8.047 kB / 474.8 MB, free: 15.99 MB / 410.8 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.0005798/0.6163, allocations: 402.1 kB / 475.2 MB, free: 15.56 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.6163, allocations: 12.03 kB / 475.2 MB, free: 15.55 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.878e-05/0.6164, allocations: 34.56 kB / 475.2 MB, free: 15.5 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.6164, allocations: 7.953 kB / 475.3 MB, free: 15.5 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.6166, allocations: 182.8 kB / 475.4 MB, free: 15.28 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.6166, allocations: 0 / 475.4 MB, free: 15.28 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.6167, allocations: 4 kB / 475.4 MB, free: 15.27 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.6168, allocations: 73.56 kB / 475.5 MB, free: 15.2 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.6169, allocations: 0 / 475.5 MB, free: 15.2 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.6169, allocations: 4 kB / 475.5 MB, free: 15.19 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.6169, allocations: 0 / 475.5 MB, free: 15.19 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.617, allocations: 55.97 kB / 475.6 MB, free: 15.14 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.6173, allocations: 197.5 kB / 475.8 MB, free: 14.89 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.6175, allocations: 62.5 kB / 475.8 MB, free: 14.82 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.88e-05/0.6176, allocations: 36.86 kB / 475.9 MB, free: 14.79 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.569e-05/0.6177, allocations: 23.98 kB / 475.9 MB, free: 14.76 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.6177, allocations: 30.56 kB / 475.9 MB, free: 14.72 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 2.225e-06/0.6177, allocations: 0 / 475.9 MB, free: 14.72 MB / 410.8 MB Notification: Performance of matching and sorting (n=12): time 0.03535/0.6531, allocations: 1.416 MB / 477.3 MB, free: 13.28 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.6532, allocations: 59.36 kB / 477.4 MB, free: 13.21 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.6533, allocations: 117.8 kB / 477.5 MB, free: 13.08 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.6534, allocations: 25.7 kB / 477.5 MB, free: 13.05 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.6534, allocations: 92.38 kB / 477.6 MB, free: 12.95 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.738e-05/0.6535, allocations: 39.39 kB / 477.7 MB, free: 12.91 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.6536, allocations: 0 / 477.7 MB, free: 12.91 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6537, allocations: 322.8 kB / 478 MB, free: 12.59 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.654, allocations: 79.92 kB / 478 MB, free: 12.51 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.6542, allocations: 75.98 kB / 478.1 MB, free: 12.44 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.6546, allocations: 67.97 kB / 478.2 MB, free: 12.37 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.6546, allocations: 4 kB / 478.2 MB, free: 12.37 MB / 410.8 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007356/0.6553, allocations: 217.7 kB / 478.4 MB, free: 12.15 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.6554, allocations: 7.984 kB / 478.4 MB, free: 12.14 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.6554, allocations: 4 kB / 478.4 MB, free: 12.14 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.6554, allocations: 0 / 478.4 MB, free: 12.14 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000997/0.6564, allocations: 71.92 kB / 478.5 MB, free: 12.07 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.6564, allocations: 0 / 478.5 MB, free: 12.07 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008034/0.6573, allocations: 51.84 kB / 478.5 MB, free: 12.02 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/0.6573, allocations: 4 kB / 478.5 MB, free: 12.01 MB / 410.8 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.0001308/0.6575, allocations: 111.7 kB / 478.6 MB, free: 11.9 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.6575, allocations: 11.84 kB / 478.7 MB, free: 11.89 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.6585, allocations: 258 kB / 478.9 MB, free: 11.63 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6586, allocations: 0 / 478.9 MB, free: 11.63 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6586, allocations: 4 kB / 478.9 MB, free: 11.63 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.6586, allocations: 7.984 kB / 478.9 MB, free: 11.62 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00367/0.6623, allocations: 0.7214 MB / 479.6 MB, free: 10.84 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.6623, allocations: 4 kB / 479.6 MB, free: 10.83 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009272/0.6633, allocations: 64.03 kB / 479.7 MB, free: 10.77 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.6633, allocations: 4 kB / 479.7 MB, free: 10.77 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.6633, allocations: 15.94 kB / 479.7 MB, free: 10.75 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.6633, allocations: 0 / 479.7 MB, free: 10.75 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.749e-06/0.6634, allocations: 3.938 kB / 479.7 MB, free: 10.75 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007745/0.6641, allocations: 355 kB / 480.1 MB, free: 10.36 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.6643, allocations: 109 kB / 480.2 MB, free: 10.23 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.673e-05/0.6644, allocations: 12 kB / 480.2 MB, free: 10.22 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008274/0.6652, allocations: 35.95 kB / 480.2 MB, free: 10.18 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.6653, allocations: 7.984 kB / 480.2 MB, free: 10.18 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.6653, allocations: 16 kB / 480.3 MB, free: 10.16 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.253e-05/0.6654, allocations: 98.64 kB / 480.4 MB, free: 10.07 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6654, allocations: 3.938 kB / 480.4 MB, free: 10.06 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0008804/0.6663, allocations: 175.8 kB / 480.5 MB, free: 9.891 MB / 410.8 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.001979/0.6683, allocations: 1.258 MB / 481.8 MB, free: 8.582 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0006257/0.6689, allocations: 179.9 kB / 482 MB, free: 8.406 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.669, allocations: 0 / 482 MB, free: 8.406 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.6693, allocations: 95.94 kB / 482.1 MB, free: 8.312 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.6696, allocations: 15.98 kB / 482.1 MB, free: 8.297 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.6738, allocations: 469.2 kB / 482.5 MB, free: 7.797 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.6741, allocations: 0.7043 MB / 483.2 MB, free: 7.066 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0004097/0.6745, allocations: 36.41 kB / 483.3 MB, free: 7.031 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.6748, allocations: 35.41 kB / 483.3 MB, free: 6.996 MB / 410.8 MB Notification: Performance of SimCode: time 1.082e-06/0.6748, allocations: 0 / 483.3 MB, free: 6.996 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03744/0.7123, allocations: 6.867 MB / 490.2 MB, free: 200 kB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003668/0.7127, allocations: 189.2 kB / 490.4 MB, free: 15.96 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.475/3.188, allocations: 0 / 490.4 MB, free: 15.96 MB / 426.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat