Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.966/1.966, allocations: 209.4 MB / 216.9 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.196e-05/2.21e-05, allocations: 0 / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1026, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4374/0.5401, allocations: 75.37 MB / 391.7 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.5404, allocations: 82.61 kB / 391.8 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02316/0.5636, allocations: 5.173 MB / 396.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5636, allocations: 4 kB / 396.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.5637, allocations: 0 / 396.9 MB, free: 12.8 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.0005284/0.5642, allocations: 408 kB / 397.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.5643, allocations: 16.03 kB / 397.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.5643, allocations: 11.86 kB / 397.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.5645, allocations: 167 kB / 397.5 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.5645, allocations: 0 / 397.5 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.5646, allocations: 7.984 kB / 397.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001525/0.5647, allocations: 51.11 kB / 397.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.5649, allocations: 71.28 kB / 397.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.5649, allocations: 0 / 397.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.5649, allocations: 0 / 397.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.5649, allocations: 0 / 397.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.5652, allocations: 171.7 kB / 397.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.5653, allocations: 51.89 kB / 397.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.976e-05/0.5654, allocations: 47.83 kB / 397.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.845e-05/0.5655, allocations: 23.8 kB / 397.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.5655, allocations: 34.5 kB / 398 MB, free: 11.69 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.5655, allocations: 0 / 398 MB, free: 11.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.03625/0.6018, allocations: 1.61 MB / 399.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.6019, allocations: 51.41 kB / 399.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.602, allocations: 114.2 kB / 399.7 MB, free: 10 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.602, allocations: 25.7 kB / 399.8 MB, free: 9.969 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.6021, allocations: 157.7 kB / 399.9 MB, free: 9.816 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.638e-05/0.6022, allocations: 34.89 kB / 400 MB, free: 9.785 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.6022, allocations: 0 / 400 MB, free: 9.785 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.6024, allocations: 325.7 kB / 400.3 MB, free: 9.461 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.6026, allocations: 72.48 kB / 400.3 MB, free: 9.418 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.6028, allocations: 74.41 kB / 400.4 MB, free: 9.371 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/0.605, allocations: 227.3 kB / 400.6 MB, free: 9.188 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.605, allocations: 0 / 400.6 MB, free: 9.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.002518/0.6076, allocations: 341.6 kB / 401 MB, free: 8.914 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.6076, allocations: 8 kB / 401 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.6076, allocations: 0 / 401 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.6077, allocations: 0 / 401 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005726/0.6082, allocations: 43.95 kB / 401 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.6083, allocations: 0 / 401 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/0.6087, allocations: 15.92 kB / 401 MB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.6087, allocations: 4 kB / 401 MB, free: 8.844 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.0001243/0.6088, allocations: 108.9 kB / 401.1 MB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002517/0.6114, allocations: 348.7 kB / 401.5 MB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.6114, allocations: 7.906 kB / 401.5 MB, free: 8.441 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002727/0.6142, allocations: 396.1 kB / 401.9 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.6142, allocations: 0 / 401.9 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.6142, allocations: 0 / 401.9 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.6142, allocations: 11.89 kB / 401.9 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004206/0.6185, allocations: 0.7412 MB / 402.6 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.6185, allocations: 7.984 kB / 402.6 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005271/0.619, allocations: 35.97 kB / 402.7 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.6191, allocations: 0 / 402.7 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.6191, allocations: 7.953 kB / 402.7 MB, free: 7.371 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.6191, allocations: 7.984 kB / 402.7 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.6191, allocations: 4.094 kB / 402.7 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/0.6218, allocations: 494.9 kB / 403.2 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.6219, allocations: 100.9 kB / 403.3 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.622, allocations: 0 / 403.3 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/0.6224, allocations: 11.98 kB / 403.3 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.6225, allocations: 15.61 kB / 403.3 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.6225, allocations: 7.938 kB / 403.3 MB, free: 6.754 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.331e-05/0.6226, allocations: 100.1 kB / 403.4 MB, free: 6.664 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6226, allocations: 0 / 403.4 MB, free: 6.664 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008067/0.6235, allocations: 175.3 kB / 403.6 MB, free: 6.496 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.00389/0.6274, allocations: 1.371 MB / 405 MB, free: 5.145 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005249/0.6279, allocations: 156.1 kB / 405.1 MB, free: 5.047 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6279, allocations: 0 / 405.1 MB, free: 5.047 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.6282, allocations: 88.55 kB / 405.2 MB, free: 4.988 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.6285, allocations: 22.06 kB / 405.2 MB, free: 4.973 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.6311, allocations: 386 kB / 405.6 MB, free: 4.574 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.6314, allocations: 0.6963 MB / 406.3 MB, free: 3.852 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.6317, allocations: 34.17 kB / 406.3 MB, free: 3.828 MB / 330.7 MB Notification: Performance of SimCode: time 1.493e-06/0.6317, allocations: 0 / 406.3 MB, free: 3.828 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.613/3.245, allocations: 4.838 MB / 411.2 MB, free: 14.98 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat