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.321/2.321, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.567e-05/3.613e-05, allocations: 6.656 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4, allocations: 54.85 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.226/8.626, allocations: 2.952 GB / 3.303 GB, free: 1.73 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/8.626, allocations: 92.5 kB / 3.304 GB, free: 1.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.044/13.67, allocations: 1.135 GB / 4.439 GB, free: 7.023 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.094e-06/13.67, allocations: 0 / 4.439 GB, free: 7.023 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.345e-05/13.67, allocations: 20.12 kB / 4.439 GB, free: 7.004 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.006867/13.68, allocations: 1.577 MB / 4.44 GB, free: 5.418 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/13.68, allocations: 12.03 kB / 4.44 GB, free: 5.406 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/13.68, allocations: 90.52 kB / 4.44 GB, free: 5.309 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004916/13.68, allocations: 95.05 kB / 4.44 GB, free: 5.215 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/13.68, allocations: 0.5332 MB / 4.441 GB, free: 4.641 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/13.68, allocations: 104.3 kB / 4.441 GB, free: 4.523 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/13.68, allocations: 55.89 kB / 4.441 GB, free: 4.469 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/13.68, allocations: 0.801 MB / 4.442 GB, free: 3.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/13.68, allocations: 7.094 kB / 4.442 GB, free: 3.586 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/13.68, allocations: 24 kB / 4.442 GB, free: 3.562 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.851e-05/13.68, allocations: 44.2 kB / 4.442 GB, free: 3.523 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/13.68, allocations: 0.6128 MB / 4.442 GB, free: 2.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3785/14.06, allocations: 3.902 MB / 4.446 GB, free: 67.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/14.06, allocations: 391.4 kB / 4.447 GB, free: 67.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006855/14.06, allocations: 200 kB / 4.447 GB, free: 67.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006993/14.07, allocations: 0.4947 MB / 4.447 GB, free: 66.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/14.07, allocations: 37.11 kB / 4.447 GB, free: 66.51 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 4.418e-06/14.07, allocations: 3.938 kB / 4.447 GB, free: 66.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.00631/14.07, allocations: 1.319 MB / 4.449 GB, free: 66.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/14.07, allocations: 134.7 kB / 4.449 GB, free: 66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009811/14.07, allocations: 490 kB / 4.449 GB, free: 65.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.938e-05/14.07, allocations: 34.11 kB / 4.449 GB, free: 65.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000312/14.07, allocations: 368.6 kB / 4.45 GB, free: 65.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/14.07, allocations: 162 kB / 4.45 GB, free: 65.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/14.07, allocations: 18 kB / 4.45 GB, free: 65.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/14.07, allocations: 374.8 kB / 4.45 GB, free: 65.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/14.07, allocations: 215.7 kB / 4.45 GB, free: 65.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007947/14.08, allocations: 0.5226 MB / 4.451 GB, free: 64.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007896/14.08, allocations: 316.9 kB / 4.451 GB, free: 64.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/14.08, allocations: 6.031 kB / 4.451 GB, free: 64.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002952/14.08, allocations: 0.9499 MB / 4.452 GB, free: 64.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/14.08, allocations: 12.7 kB / 4.452 GB, free: 64.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/14.08, allocations: 9.188 kB / 4.452 GB, free: 64.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/14.08, allocations: 250 kB / 4.452 GB, free: 64.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008808/14.08, allocations: 131.4 kB / 4.453 GB, free: 64.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/14.08, allocations: 0.8527 MB / 4.453 GB, free: 64.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/14.08, allocations: 51 kB / 4.453 GB, free: 64.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/14.08, allocations: 39.91 kB / 4.453 GB, free: 64.27 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.0002867/14.08, allocations: 152.3 kB / 4.454 GB, free: 64.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/14.08, allocations: 66.8 kB / 4.454 GB, free: 64.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/14.09, allocations: 0.6799 MB / 4.454 GB, free: 64.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/14.09, allocations: 6.438 kB / 4.454 GB, free: 64.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/14.09, allocations: 3.062 kB / 4.454 GB, free: 64.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/14.09, allocations: 4.328 kB / 4.454 GB, free: 64.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/14.09, allocations: 1.361 MB / 4.456 GB, free: 63.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/14.09, allocations: 7.078 kB / 4.456 GB, free: 63.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/14.09, allocations: 193.4 kB / 4.456 GB, free: 63.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004002/14.09, allocations: 53.55 kB / 4.456 GB, free: 63.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.609e-05/14.09, allocations: 14.41 kB / 4.456 GB, free: 63.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00266/14.1, allocations: 2.78 MB / 4.459 GB, free: 61.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/14.1, allocations: 2.938 kB / 4.459 GB, free: 61.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/14.1, allocations: 1.036 MB / 4.46 GB, free: 60.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005741/14.1, allocations: 201.8 kB / 4.46 GB, free: 60.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/14.1, allocations: 15.67 kB / 4.46 GB, free: 60.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000787/14.1, allocations: 27.05 kB / 4.46 GB, free: 60.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/14.1, allocations: 48.5 kB / 4.46 GB, free: 60.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-05/14.1, allocations: 18.72 kB / 4.46 GB, free: 60.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007026/14.1, allocations: 374.5 kB / 4.46 GB, free: 60.51 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.192e-06/14.1, allocations: 0 / 4.46 GB, free: 60.51 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001529/14.1, allocations: 241.5 kB / 4.461 GB, free: 60.51 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * 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.003513/14.11, allocations: 2.346 MB / 4.463 GB, free: 59.15 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001955/14.11, allocations: 0.5866 MB / 4.463 GB, free: 59.13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/14.11, allocations: 1.219 kB / 4.463 GB, free: 59.13 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001861/14.11, allocations: 463.4 kB / 4.464 GB, free: 59.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/14.11, allocations: 311.6 kB / 4.464 GB, free: 59.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/14.12, allocations: 1.183 MB / 4.465 GB, free: 58.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006087/14.12, allocations: 0.9549 MB / 4.466 GB, free: 58 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001387/14.12, allocations: 200.2 kB / 4.466 GB, free: 57.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005271/14.12, allocations: 228.8 kB / 4.467 GB, free: 57.98 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/14.12, allocations: 1.188 kB / 4.467 GB, free: 57.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07375/14.19, allocations: 22.84 MB / 4.489 GB, free: 57.16 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00029/14.19, allocations: 252.4 kB / 4.489 GB, free: 56.83 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.351/17.54, allocations: 1.5 kB / 4.489 GB, free: 56.83 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