Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.025/2.025, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.061e-05/4.07e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1177, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4311/0.5488, allocations: 75.77 MB / 397.6 MB, free: 13.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.5492, allocations: 75.27 kB / 397.7 MB, free: 13.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02456/0.5738, allocations: 5.255 MB / 403 MB, free: 8.527 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5738, allocations: 4 kB / 403 MB, free: 8.523 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.5738, allocations: 0 / 403 MB, free: 8.523 MB / 330.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.0006055/0.5745, allocations: 402.2 kB / 403.4 MB, free: 8.086 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.5745, allocations: 12.03 kB / 403.4 MB, free: 8.074 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.962e-05/0.5746, allocations: 38.56 kB / 403.4 MB, free: 8.027 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.5747, allocations: 15.86 kB / 403.4 MB, free: 8.012 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.5748, allocations: 171 kB / 403.6 MB, free: 7.805 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.5749, allocations: 4 kB / 403.6 MB, free: 7.801 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.5749, allocations: 7.938 kB / 403.6 MB, free: 7.793 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.5751, allocations: 65.67 kB / 403.7 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.5751, allocations: 0 / 403.7 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.5751, allocations: 0 / 403.7 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.5751, allocations: 0 / 403.7 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.5753, allocations: 55.97 kB / 403.7 MB, free: 7.668 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002748/0.5756, allocations: 205.5 kB / 403.9 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.5757, allocations: 54.52 kB / 404 MB, free: 7.355 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.726e-05/0.5758, allocations: 44.78 kB / 404 MB, free: 7.309 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-05/0.5759, allocations: 23.98 kB / 404 MB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.576, allocations: 30.56 kB / 404.1 MB, free: 7.246 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.914e-06/0.576, allocations: 0 / 404.1 MB, free: 7.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.03216/0.6082, allocations: 1.225 MB / 405.3 MB, free: 5.992 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.6083, allocations: 59.36 kB / 405.4 MB, free: 5.922 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.6084, allocations: 113.3 kB / 405.5 MB, free: 5.801 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.6085, allocations: 25.7 kB / 405.5 MB, free: 5.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.6086, allocations: 92.36 kB / 405.6 MB, free: 5.672 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.083e-05/0.6087, allocations: 43.45 kB / 405.6 MB, free: 5.629 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.6087, allocations: 0 / 405.6 MB, free: 5.629 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6089, allocations: 318.8 kB / 405.9 MB, free: 5.309 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.6091, allocations: 67.98 kB / 406 MB, free: 5.242 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.6094, allocations: 80.47 kB / 406.1 MB, free: 5.164 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.6097, allocations: 76.17 kB / 406.2 MB, free: 5.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.6097, allocations: 0 / 406.2 MB, free: 5.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006975/0.6104, allocations: 193.5 kB / 406.3 MB, free: 4.895 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.6105, allocations: 4 kB / 406.4 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.6105, allocations: 0 / 406.4 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.6105, allocations: 8 kB / 406.4 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005986/0.6111, allocations: 39.95 kB / 406.4 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.6112, allocations: 0 / 406.4 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/0.6116, allocations: 15.94 kB / 406.4 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.6116, allocations: 11.98 kB / 406.4 MB, free: 4.816 MB / 330.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.0001329/0.6118, allocations: 108.9 kB / 406.5 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.6118, allocations: 15.81 kB / 406.5 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009361/0.6128, allocations: 246 kB / 406.8 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6128, allocations: 4 kB / 406.8 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.6128, allocations: 0 / 406.8 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.6128, allocations: 0 / 406.8 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/0.6153, allocations: 0.6272 MB / 407.4 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.6154, allocations: 4 kB / 407.4 MB, free: 3.742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005319/0.6159, allocations: 39.91 kB / 407.5 MB, free: 3.703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.6159, allocations: 0 / 407.5 MB, free: 3.703 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.616, allocations: 11.95 kB / 407.5 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.106e-06/0.616, allocations: 12.08 kB / 407.5 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.616, allocations: 0 / 407.5 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008016/0.6168, allocations: 347 kB / 407.8 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.617, allocations: 109 kB / 407.9 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.6171, allocations: 0 / 407.9 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/0.6175, allocations: 15.98 kB / 407.9 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.6176, allocations: 11.98 kB / 408 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.6176, allocations: 7.984 kB / 408 MB, free: 3.137 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.746e-05/0.6177, allocations: 96.48 kB / 408.1 MB, free: 3.043 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6177, allocations: 4 kB / 408.1 MB, free: 3.039 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008248/0.6186, allocations: 183.7 kB / 408.2 MB, free: 2.859 MB / 330.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.002099/0.6207, allocations: 1.238 MB / 409.5 MB, free: 1.574 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005889/0.6213, allocations: 160 kB / 409.6 MB, free: 1.418 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.6213, allocations: 4.094 kB / 409.6 MB, free: 1.414 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.6216, allocations: 95.8 kB / 409.7 MB, free: 1.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.622, allocations: 15.98 kB / 409.8 MB, free: 1.305 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002653/0.6246, allocations: 361.3 kB / 410.1 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.625, allocations: 0.7004 MB / 410.8 MB, free: 184 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00035/0.6253, allocations: 32.42 kB / 410.8 MB, free: 152 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.6256, allocations: 35.41 kB / 410.9 MB, free: 116 kB / 330.7 MB Notification: Performance of SimCode: time 1.523e-06/0.6256, allocations: 0 / 410.9 MB, free: 116 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03837/0.664, allocations: 6.348 MB / 417.2 MB, free: 9.82 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004446/0.6645, allocations: 190.6 kB / 417.4 MB, free: 9.586 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/3.172, allocations: 0 / 417.4 MB, free: 9.586 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat