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 1.978/1.978, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.233e-05/3.246e-05, allocations: 6.125 kB / 267.6 MB, free: 4.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 48.69 MB / 316.3 MB, free: 4.141 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4004/0.5093, allocations: 75.34 MB / 391.7 MB, free: 1.137 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/0.5097, allocations: 73.83 kB / 391.7 MB, free: 1.098 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02349/0.5332, allocations: 5.181 MB / 396.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5333, allocations: 3.938 kB / 396.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.5333, allocations: 0 / 396.9 MB, free: 12.96 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.0005938/0.5339, allocations: 405.8 kB / 397.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.534, allocations: 8.031 kB / 397.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.534, allocations: 15.84 kB / 397.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.5342, allocations: 171 kB / 397.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.5342, allocations: 0 / 397.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.5343, allocations: 0 / 397.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001532/0.5344, allocations: 57.17 kB / 397.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.5346, allocations: 67.22 kB / 397.6 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.5346, allocations: 0 / 397.6 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.5346, allocations: 0 / 397.6 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.5346, allocations: 8 kB / 397.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002255/0.5349, allocations: 170.9 kB / 397.8 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.535, allocations: 56.44 kB / 397.9 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.758e-05/0.5351, allocations: 31.73 kB / 397.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.44e-05/0.5352, allocations: 23.42 kB / 397.9 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.5352, allocations: 30.56 kB / 397.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.803e-06/0.5352, allocations: 8 kB / 398 MB, free: 11.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.03611/0.5713, allocations: 1.611 MB / 399.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.5714, allocations: 55.41 kB / 399.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.5716, allocations: 114.6 kB / 399.7 MB, free: 10.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.5716, allocations: 29.7 kB / 399.8 MB, free: 10.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.5717, allocations: 91.36 kB / 399.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/0.5718, allocations: 30.66 kB / 399.9 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.5718, allocations: 0 / 399.9 MB, free: 10.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.572, allocations: 333.8 kB / 400.2 MB, free: 9.676 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.5722, allocations: 72.42 kB / 400.3 MB, free: 9.633 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.5724, allocations: 68.86 kB / 400.3 MB, free: 9.594 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/0.5747, allocations: 226.2 kB / 400.6 MB, free: 9.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5747, allocations: 0 / 400.6 MB, free: 9.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.002593/0.5773, allocations: 341.8 kB / 400.9 MB, free: 9.137 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.5774, allocations: 7.438 kB / 400.9 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.5774, allocations: 0 / 400.9 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.5774, allocations: 0 / 400.9 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005878/0.578, allocations: 43.91 kB / 401 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.5781, allocations: 12.05 kB / 401 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.5785, allocations: 15.92 kB / 401 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.5785, allocations: 4 kB / 401 MB, free: 9.059 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.000139/0.5787, allocations: 104.9 kB / 401.1 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002617/0.5813, allocations: 351.3 kB / 401.4 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.5814, allocations: 15.91 kB / 401.4 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002816/0.5842, allocations: 382.6 kB / 401.8 MB, free: 8.344 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.5843, allocations: 7.984 kB / 401.8 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.5843, allocations: 0 / 401.8 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.5843, allocations: 3.953 kB / 401.8 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004302/0.5886, allocations: 0.7415 MB / 402.6 MB, free: 7.641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.5887, allocations: 0 / 402.6 MB, free: 7.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005228/0.5892, allocations: 39.91 kB / 402.6 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/0.5892, allocations: 4 kB / 402.6 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.5893, allocations: 8.047 kB / 402.6 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.5893, allocations: 7.984 kB / 402.6 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.5893, allocations: 96 / 402.6 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002685/0.592, allocations: 496.7 kB / 403.1 MB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.5922, allocations: 112.1 kB / 403.2 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.462e-05/0.5922, allocations: 0 / 403.2 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004241/0.5927, allocations: 15.98 kB / 403.2 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.5927, allocations: 7.984 kB / 403.2 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.5928, allocations: 4 kB / 403.2 MB, free: 6.973 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.481e-05/0.5929, allocations: 102.3 kB / 403.3 MB, free: 6.879 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5929, allocations: 0 / 403.3 MB, free: 6.879 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000838/0.5937, allocations: 175 kB / 403.5 MB, free: 6.711 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.00399/0.5977, allocations: 1.371 MB / 404.9 MB, free: 5.359 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005386/0.5983, allocations: 166.2 kB / 405.1 MB, free: 5.254 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5983, allocations: 4 kB / 405.1 MB, free: 5.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.5986, allocations: 81.23 kB / 405.1 MB, free: 5.199 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.599, allocations: 22.97 kB / 405.2 MB, free: 5.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.6015, allocations: 348.3 kB / 405.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.6019, allocations: 0.6963 MB / 406.2 MB, free: 4.102 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003618/0.6022, allocations: 40.55 kB / 406.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.6025, allocations: 34.59 kB / 406.3 MB, free: 4.039 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6025, allocations: 0 / 406.3 MB, free: 4.039 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04844/0.651, allocations: 5.765 MB / 412 MB, free: 14.27 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002957/0.6513, allocations: 171.2 kB / 412.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/3.031, allocations: 0 / 412.2 MB, free: 14.07 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