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.33/2.33, allocations: 235.1 MB / 242.2 MB, free: 15.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.263e-05/2.259e-05, allocations: 0 / 299.5 MB, free: 6.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3953, allocations: 54.86 MB / 354.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2001/0.5955, allocations: 81.49 MB / 435.8 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004056/0.596, allocations: 83.95 kB / 435.9 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0316/0.6276, allocations: 5.182 MB / 441.1 MB, free: 11.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.6276, allocations: 0 / 441.1 MB, free: 11.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.178e-06/0.6277, allocations: 0 / 441.1 MB, free: 11.54 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.0007346/0.6284, allocations: 414.1 kB / 441.5 MB, free: 11.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.6285, allocations: 8.031 kB / 441.5 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.6285, allocations: 7.906 kB / 441.5 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.6287, allocations: 170.9 kB / 441.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.6288, allocations: 0 / 441.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/0.6288, allocations: 8 kB / 441.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002145/0.6291, allocations: 55.97 kB / 441.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.6293, allocations: 65.64 kB / 441.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.6293, allocations: 0 / 441.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.6293, allocations: 3.938 kB / 441.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.6293, allocations: 3.938 kB / 441.8 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.6297, allocations: 166.2 kB / 442 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.6299, allocations: 54.56 kB / 442 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.63, allocations: 44.84 kB / 442.1 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.88e-05/0.6301, allocations: 16.23 kB / 442.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.6301, allocations: 34.55 kB / 442.1 MB, free: 10.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 3.677e-06/0.6301, allocations: 3.984 kB / 442.1 MB, free: 10.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.04336/0.6735, allocations: 1.618 MB / 443.8 MB, free: 8.703 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.6736, allocations: 55.39 kB / 443.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.6737, allocations: 110.8 kB / 443.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.6738, allocations: 29.7 kB / 443.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.6739, allocations: 96.36 kB / 444 MB, free: 8.383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.321e-05/0.674, allocations: 35.45 kB / 444.1 MB, free: 8.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.674, allocations: 0 / 444.1 MB, free: 8.348 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6742, allocations: 314.8 kB / 444.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.6744, allocations: 67.98 kB / 444.4 MB, free: 7.965 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.6746, allocations: 71.92 kB / 444.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002396/0.677, allocations: 231.7 kB / 444.7 MB, free: 7.668 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.6771, allocations: 4 kB / 444.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.002661/0.6798, allocations: 337.4 kB / 445.1 MB, free: 7.328 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.6798, allocations: 8 kB / 445.1 MB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.6798, allocations: 0 / 445.1 MB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.6799, allocations: 3.953 kB / 445.1 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005895/0.6805, allocations: 43.95 kB / 445.1 MB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.6805, allocations: 0 / 445.1 MB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.6809, allocations: 15.98 kB / 445.1 MB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.681, allocations: 8 kB / 445.2 MB, free: 7.25 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.0001398/0.6811, allocations: 104.9 kB / 445.3 MB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002668/0.6838, allocations: 349.3 kB / 445.6 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.6839, allocations: 11.86 kB / 445.6 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002873/0.6868, allocations: 393.8 kB / 446 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.6868, allocations: 0 / 446 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.6868, allocations: 7.938 kB / 446 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.6869, allocations: 4 kB / 446 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004385/0.6913, allocations: 0.7294 MB / 446.7 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.6913, allocations: 0 / 446.7 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005262/0.6919, allocations: 43.91 kB / 446.8 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.6919, allocations: 0 / 446.8 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.6919, allocations: 7.984 kB / 446.8 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.6919, allocations: 4 kB / 446.8 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.692, allocations: 0 / 446.8 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00275/0.6947, allocations: 499.5 kB / 447.3 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.6949, allocations: 105 kB / 447.4 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.558e-05/0.695, allocations: 0 / 447.4 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000433/0.6954, allocations: 15.98 kB / 447.4 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.6955, allocations: 15.94 kB / 447.4 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/0.6955, allocations: 4 kB / 447.4 MB, free: 4.852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.981e-05/0.6956, allocations: 101.1 kB / 447.5 MB, free: 4.754 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6956, allocations: 0 / 447.5 MB, free: 4.754 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008253/0.6964, allocations: 167.7 kB / 447.7 MB, free: 4.59 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.003979/0.7004, allocations: 1.383 MB / 449.1 MB, free: 3.156 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005534/0.701, allocations: 163.8 kB / 449.2 MB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7011, allocations: 0 / 449.2 MB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.7013, allocations: 83.92 kB / 449.3 MB, free: 2.914 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.7017, allocations: 24.33 kB / 449.3 MB, free: 2.891 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.7042, allocations: 346.3 kB / 449.7 MB, free: 2.512 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.7046, allocations: 0.7002 MB / 450.4 MB, free: 1.785 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003672/0.7049, allocations: 36.41 kB / 450.4 MB, free: 1.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.7052, allocations: 39.41 kB / 450.4 MB, free: 1.711 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.7052, allocations: 0 / 450.4 MB, free: 1.711 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05011/0.7553, allocations: 5.763 MB / 456.2 MB, free: 11.94 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002986/0.7557, allocations: 167.3 kB / 456.4 MB, free: 11.75 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.436/3.191, allocations: 4.984 kB / 456.4 MB, free: 11.75 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