Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.512/2.512, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.05e-05/2.051e-05, allocations: 3.984 kB / 299.6 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3862, allocations: 54.86 MB / 354.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.152/0.5383, allocations: 81.49 MB / 435.9 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.5386, allocations: 83.95 kB / 436 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02533/0.564, allocations: 5.182 MB / 441.2 MB, free: 11.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.86e-06/0.564, allocations: 4 kB / 441.2 MB, free: 11.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.5641, allocations: 0 / 441.2 MB, free: 11.42 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.0005275/0.5646, allocations: 398.2 kB / 441.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.5647, allocations: 12.03 kB / 441.6 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.5647, allocations: 7.906 kB / 441.6 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.5649, allocations: 178.8 kB / 441.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.5649, allocations: 4 kB / 441.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.5649, allocations: 4 kB / 441.8 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001648/0.5651, allocations: 51.97 kB / 441.9 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.5653, allocations: 61.64 kB / 441.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.5653, allocations: 4 kB / 441.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.5653, allocations: 0 / 441.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.5653, allocations: 0 / 441.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.5656, allocations: 166.2 kB / 442.1 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.5657, allocations: 58.5 kB / 442.1 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.711e-05/0.5658, allocations: 44.86 kB / 442.2 MB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.004e-05/0.5659, allocations: 19.98 kB / 442.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.5659, allocations: 30.56 kB / 442.2 MB, free: 10.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.873e-06/0.5659, allocations: 0 / 442.2 MB, free: 10.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0394/0.6054, allocations: 1.618 MB / 443.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.6055, allocations: 59.39 kB / 443.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.6056, allocations: 110 kB / 444 MB, free: 8.414 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.6057, allocations: 25.7 kB / 444 MB, free: 8.383 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.6057, allocations: 92.36 kB / 444.1 MB, free: 8.285 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.441e-05/0.6058, allocations: 39.45 kB / 444.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.6059, allocations: 0 / 444.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.606, allocations: 322.7 kB / 444.5 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.6062, allocations: 67.98 kB / 444.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.6065, allocations: 67.98 kB / 444.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002528/0.609, allocations: 227.8 kB / 444.8 MB, free: 7.566 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.609, allocations: 4 kB / 444.8 MB, free: 7.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.002853/0.6119, allocations: 345.3 kB / 445.2 MB, free: 7.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.612, allocations: 5.562 kB / 445.2 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.612, allocations: 4 kB / 445.2 MB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.612, allocations: 7.891 kB / 445.2 MB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/0.6127, allocations: 39.95 kB / 445.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.6127, allocations: 0 / 445.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/0.6132, allocations: 15.98 kB / 445.2 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.6132, allocations: 4 kB / 445.3 MB, free: 7.145 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.0001282/0.6133, allocations: 105 kB / 445.4 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002836/0.6162, allocations: 353.7 kB / 445.7 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.6163, allocations: 11.86 kB / 445.7 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003079/0.6193, allocations: 393.8 kB / 446.1 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.6194, allocations: 0 / 446.1 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.6194, allocations: 0 / 446.1 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.6194, allocations: 4 kB / 446.1 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00481/0.6242, allocations: 0.7371 MB / 446.8 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.637e-06/0.6243, allocations: 4 kB / 446.8 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005845/0.6249, allocations: 39.91 kB / 446.9 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.6249, allocations: 0 / 446.9 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.625, allocations: 7.984 kB / 446.9 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.625, allocations: 4 kB / 446.9 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.625, allocations: 4.094 kB / 446.9 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002926/0.6279, allocations: 494.8 kB / 447.4 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.6281, allocations: 101 kB / 447.5 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.512e-05/0.6282, allocations: 4 kB / 447.5 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004737/0.6287, allocations: 15.98 kB / 447.5 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.6287, allocations: 15.88 kB / 447.5 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/0.6288, allocations: 8 kB / 447.5 MB, free: 4.738 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.286e-05/0.6289, allocations: 96.95 kB / 447.6 MB, free: 4.645 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6289, allocations: 0 / 447.6 MB, free: 4.645 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008704/0.6298, allocations: 171.7 kB / 447.8 MB, free: 4.477 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.004262/0.6341, allocations: 1.375 MB / 449.2 MB, free: 3.051 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005502/0.6346, allocations: 163.8 kB / 449.3 MB, free: 2.891 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6347, allocations: 0 / 449.3 MB, free: 2.891 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.6349, allocations: 83.92 kB / 449.4 MB, free: 2.809 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.6353, allocations: 16.17 kB / 449.4 MB, free: 2.793 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.638, allocations: 353.8 kB / 449.8 MB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.6383, allocations: 0.6963 MB / 450.5 MB, free: 1.684 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003967/0.6387, allocations: 44.52 kB / 450.5 MB, free: 1.641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.639, allocations: 35.41 kB / 450.5 MB, free: 1.605 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.639, allocations: 0 / 450.5 MB, free: 1.605 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05185/0.6909, allocations: 5.769 MB / 456.3 MB, free: 11.83 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003178/0.6912, allocations: 175.8 kB / 456.5 MB, free: 11.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.559/3.251, allocations: 0 / 456.5 MB, free: 11.64 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat