Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.315/2.315, allocations: 235 MB / 247.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.69e-05/3.7e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4026, allocations: 54.85 MB / 359.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1536/0.5563, allocations: 82.16 MB / 442 MB, free: 14.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.5566, allocations: 76.73 kB / 442.1 MB, free: 14.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02349/0.5801, allocations: 5.273 MB / 447.4 MB, free: 9.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.5802, allocations: 0 / 447.4 MB, free: 9.434 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.5802, allocations: 4 kB / 447.4 MB, free: 9.43 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.0005489/0.5808, allocations: 398.2 kB / 447.8 MB, free: 8.996 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.5808, allocations: 12.03 kB / 447.8 MB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.5809, allocations: 34.56 kB / 447.8 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.581, allocations: 7.906 kB / 447.8 MB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.5811, allocations: 171.5 kB / 448 MB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.5811, allocations: 4 kB / 448 MB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.5812, allocations: 4 kB / 448 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.5814, allocations: 77.61 kB / 448.1 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.5814, allocations: 0.8438 kB / 448.1 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.5814, allocations: 0 / 448.1 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5814, allocations: 0 / 448.1 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.5816, allocations: 51.98 kB / 448.1 MB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.5818, allocations: 193.5 kB / 448.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.582, allocations: 66.5 kB / 448.4 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.504e-05/0.5821, allocations: 40.84 kB / 448.4 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.848e-05/0.5822, allocations: 20.48 kB / 448.4 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.5822, allocations: 30.56 kB / 448.5 MB, free: 8.172 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.823e-06/0.5822, allocations: 4.781 kB / 448.5 MB, free: 8.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.03141/0.6137, allocations: 1.233 MB / 449.7 MB, free: 6.914 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.6138, allocations: 59.39 kB / 449.8 MB, free: 6.844 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.6139, allocations: 107.7 kB / 449.9 MB, free: 6.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.614, allocations: 29.7 kB / 449.9 MB, free: 6.695 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.614, allocations: 92.36 kB / 450 MB, free: 6.598 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.204e-05/0.6141, allocations: 39.45 kB / 450 MB, free: 6.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.6142, allocations: 0 / 450 MB, free: 6.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.6143, allocations: 322.8 kB / 450.3 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.6146, allocations: 67.98 kB / 450.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.6148, allocations: 71.98 kB / 450.5 MB, free: 6.098 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.6151, allocations: 68.56 kB / 450.5 MB, free: 6.031 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6151, allocations: 7.938 kB / 450.5 MB, free: 6.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006917/0.6158, allocations: 202.4 kB / 450.7 MB, free: 5.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.6159, allocations: 4 kB / 450.7 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6159, allocations: 0 / 450.7 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.6159, allocations: 3.984 kB / 450.8 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005921/0.6165, allocations: 39.97 kB / 450.8 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.6165, allocations: 4 kB / 450.8 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003945/0.617, allocations: 11.98 kB / 450.8 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.617, allocations: 4.625 kB / 450.8 MB, free: 5.754 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.00012/0.6171, allocations: 108.9 kB / 450.9 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.6172, allocations: 19.77 kB / 450.9 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008989/0.6181, allocations: 242.1 kB / 451.2 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.6181, allocations: 8 kB / 451.2 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6181, allocations: 0 / 451.2 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.6182, allocations: 0 / 451.2 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/0.6206, allocations: 0.6242 MB / 451.8 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.6206, allocations: 4 kB / 451.8 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005239/0.6211, allocations: 43.89 kB / 451.9 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.6211, allocations: 0 / 451.9 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.6212, allocations: 11.98 kB / 451.9 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.6212, allocations: 0 / 451.9 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6212, allocations: 5.5 kB / 451.9 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007305/0.622, allocations: 351.5 kB / 452.2 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.6221, allocations: 104.9 kB / 452.3 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.6222, allocations: 12 kB / 452.3 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.6226, allocations: 11.98 kB / 452.3 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.6227, allocations: 15.95 kB / 452.4 MB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.6227, allocations: 7.984 kB / 452.4 MB, free: 4.062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.091e-05/0.6228, allocations: 93.39 kB / 452.5 MB, free: 3.973 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6228, allocations: 0 / 452.5 MB, free: 3.973 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008188/0.6236, allocations: 179.7 kB / 452.6 MB, free: 3.797 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.002007/0.6257, allocations: 1.236 MB / 453.9 MB, free: 2.512 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005885/0.6263, allocations: 163.9 kB / 454 MB, free: 2.352 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6263, allocations: 0 / 454 MB, free: 2.352 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.6266, allocations: 88.05 kB / 454.1 MB, free: 2.266 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.6269, allocations: 20.27 kB / 454.1 MB, free: 2.246 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.6295, allocations: 362.5 kB / 454.5 MB, free: 1.852 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.6298, allocations: 0.7043 MB / 455.2 MB, free: 1.121 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003506/0.6302, allocations: 40.34 kB / 455.2 MB, free: 1.082 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002433/0.6304, allocations: 27.42 kB / 455.3 MB, free: 1.055 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.6304, allocations: 0 / 455.3 MB, free: 1.055 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0335/0.6639, allocations: 6.359 MB / 461.6 MB, free: 10.76 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000331/0.6643, allocations: 182.7 kB / 461.8 MB, free: 10.54 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.448/3.112, allocations: 4.062 kB / 461.8 MB, free: 10.53 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat