Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.517/2.517, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.611e-05/2.626e-05, allocations: 0 / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4078, allocations: 54.85 MB / 354.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.09/9.498, allocations: 2.951 GB / 3.297 GB, free: 21.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/9.498, allocations: 86.27 kB / 3.297 GB, free: 21.36 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.364/14.86, allocations: 1.123 GB / 4.42 GB, free: 38 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.793e-06/14.86, allocations: 0 / 4.42 GB, free: 38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.334e-05/14.86, allocations: 19.72 kB / 4.42 GB, free: 37.98 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.007158/14.87, allocations: 1.569 MB / 4.422 GB, free: 36.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/14.87, allocations: 16.67 kB / 4.422 GB, free: 36.37 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005406/14.87, allocations: 91.06 kB / 4.422 GB, free: 36.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/14.87, allocations: 0.5492 MB / 4.422 GB, free: 35.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/14.87, allocations: 81.23 kB / 4.422 GB, free: 35.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/14.87, allocations: 31.95 kB / 4.422 GB, free: 35.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001336/14.87, allocations: 0.5492 MB / 4.423 GB, free: 35.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/14.87, allocations: 0.7284 MB / 4.424 GB, free: 34.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/14.87, allocations: 8.875 kB / 4.424 GB, free: 34.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.329e-05/14.87, allocations: 4 kB / 4.424 GB, free: 34.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-05/14.87, allocations: 37.3 kB / 4.424 GB, free: 34.17 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006511/14.88, allocations: 3.959 MB / 4.428 GB, free: 30 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000833/14.88, allocations: 310.5 kB / 4.428 GB, free: 29.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/14.88, allocations: 161.9 kB / 4.428 GB, free: 29.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003945/14.88, allocations: 351.2 kB / 4.428 GB, free: 29.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/14.88, allocations: 38.84 kB / 4.428 GB, free: 29.06 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.727e-06/14.88, allocations: 0 / 4.428 GB, free: 29.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.004633/14.89, allocations: 1.266 MB / 4.43 GB, free: 27.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/14.89, allocations: 136.5 kB / 4.43 GB, free: 27.58 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007038/14.89, allocations: 458 kB / 4.43 GB, free: 27.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.918e-05/14.89, allocations: 25.7 kB / 4.43 GB, free: 27.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/14.89, allocations: 391 kB / 4.431 GB, free: 26.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/14.89, allocations: 138 kB / 4.431 GB, free: 26.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/14.89, allocations: 4 kB / 4.431 GB, free: 26.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/14.89, allocations: 366.8 kB / 4.431 GB, free: 26.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004331/14.89, allocations: 197.5 kB / 4.431 GB, free: 26.01 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005839/14.89, allocations: 0.5062 MB / 4.432 GB, free: 25.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/14.89, allocations: 340.4 kB / 4.432 GB, free: 25.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/14.89, allocations: 0 / 4.432 GB, free: 25.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002771/14.89, allocations: 0.8978 MB / 4.433 GB, free: 24.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/14.89, allocations: 9.719 kB / 4.433 GB, free: 24.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/14.89, allocations: 12.88 kB / 4.433 GB, free: 24.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/14.9, allocations: 218.2 kB / 4.433 GB, free: 23.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008082/14.9, allocations: 131.8 kB / 4.433 GB, free: 23.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/14.9, allocations: 0.8683 MB / 4.434 GB, free: 22.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009893/14.9, allocations: 39.97 kB / 4.434 GB, free: 22.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.233e-05/14.9, allocations: 36 kB / 4.434 GB, free: 22.78 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002012/14.9, allocations: 132.7 kB / 4.434 GB, free: 22.64 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001484/14.9, allocations: 480.8 kB / 4.435 GB, free: 22.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/14.9, allocations: 67.2 kB / 4.435 GB, free: 22.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/14.9, allocations: 0.5799 MB / 4.435 GB, free: 21.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/14.9, allocations: 4 kB / 4.435 GB, free: 21.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/14.9, allocations: 3.984 kB / 4.435 GB, free: 21.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/14.9, allocations: 0 / 4.435 GB, free: 21.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003061/14.91, allocations: 1.485 MB / 4.437 GB, free: 19.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/14.91, allocations: 4 kB / 4.437 GB, free: 19.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/14.91, allocations: 179.8 kB / 4.437 GB, free: 19.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003476/14.91, allocations: 63.59 kB / 4.437 GB, free: 19.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/14.91, allocations: 15.98 kB / 4.437 GB, free: 19.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/14.91, allocations: 2.675 MB / 4.44 GB, free: 16.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/14.91, allocations: 4.062 kB / 4.44 GB, free: 16.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/14.91, allocations: 0.9414 MB / 4.441 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003705/14.91, allocations: 188.3 kB / 4.441 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/14.91, allocations: 8 kB / 4.441 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006624/14.91, allocations: 23.98 kB / 4.441 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/14.91, allocations: 39.84 kB / 4.441 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-05/14.91, allocations: 19.98 kB / 4.441 GB, free: 15.44 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005129/14.91, allocations: 326.9 kB / 4.441 GB, free: 15.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.91e-07/14.91, allocations: 4 kB / 4.441 GB, free: 15.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001474/14.92, allocations: 218.9 kB / 4.442 GB, free: 14.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003134/14.92, allocations: 2.22 MB / 4.444 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001472/14.92, allocations: 0.5288 MB / 4.444 GB, free: 12.15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/14.92, allocations: 2.062 kB / 4.444 GB, free: 12.15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00161/14.92, allocations: 425.6 kB / 4.445 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/14.92, allocations: 261.1 kB / 4.445 GB, free: 11.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003031/14.93, allocations: 1.111 MB / 4.446 GB, free: 10.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/14.93, allocations: 0.9498 MB / 4.447 GB, free: 9.336 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001156/14.93, allocations: 204.8 kB / 4.447 GB, free: 9.148 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004291/14.93, allocations: 231.7 kB / 4.447 GB, free: 8.926 MB / 490.7 MB Notification: Performance of SimCode: time 9.41e-07/14.93, allocations: 0 / 4.447 GB, free: 8.926 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4302/15.36, allocations: 18.7 MB / 4.466 GB, free: 73.56 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/15.36, allocations: 208.7 kB / 4.466 GB, free: 73.28 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.214/18.57, allocations: 0.875 kB / 4.466 GB, free: 73.28 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat