Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.016/2.016, allocations: 209.4 MB / 216.5 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.74e-05/2.751e-05, allocations: 4 kB / 267.6 MB, free: 4.934 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1041, allocations: 48.7 MB / 316.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.185/8.289, allocations: 2.84 GB / 3.149 GB, free: 78.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/8.289, allocations: 90.56 kB / 3.149 GB, free: 77.99 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.071/13.36, allocations: 1.087 GB / 4.236 GB, free: 60.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.844e-06/13.36, allocations: 2.062 kB / 4.236 GB, free: 60.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.194e-05/13.36, allocations: 16.33 kB / 4.236 GB, free: 60.45 MB / 442.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.008598/13.37, allocations: 1.575 MB / 4.238 GB, free: 59.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/13.37, allocations: 9.406 kB / 4.238 GB, free: 59.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008336/13.37, allocations: 90.45 kB / 4.238 GB, free: 59.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/13.37, allocations: 0.5432 MB / 4.239 GB, free: 59.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/13.37, allocations: 92.97 kB / 4.239 GB, free: 59.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/13.37, allocations: 32.58 kB / 4.239 GB, free: 59.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00186/13.37, allocations: 0.5438 MB / 4.239 GB, free: 59.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/13.38, allocations: 0.7254 MB / 4.24 GB, free: 59.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/13.38, allocations: 7.25 kB / 4.24 GB, free: 59.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/13.38, allocations: 7.828 kB / 4.24 GB, free: 59.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/13.38, allocations: 37.14 kB / 4.24 GB, free: 59.11 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008264/13.39, allocations: 3.959 MB / 4.244 GB, free: 56.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/13.39, allocations: 306.4 kB / 4.244 GB, free: 56.49 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004587/13.39, allocations: 167.3 kB / 4.244 GB, free: 56.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005101/13.39, allocations: 342.2 kB / 4.245 GB, free: 56.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/13.39, allocations: 43.59 kB / 4.245 GB, free: 56.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 4.178e-06/13.39, allocations: 0 / 4.245 GB, free: 56.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.006217/13.39, allocations: 1.268 MB / 4.246 GB, free: 55.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/13.39, allocations: 135.2 kB / 4.246 GB, free: 55.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009797/13.39, allocations: 458.1 kB / 4.246 GB, free: 55.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-05/13.39, allocations: 25.7 kB / 4.246 GB, free: 55.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/13.4, allocations: 390.9 kB / 4.247 GB, free: 55.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/13.4, allocations: 136.6 kB / 4.247 GB, free: 55.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/13.4, allocations: 1.688 kB / 4.247 GB, free: 55.05 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/13.4, allocations: 377.6 kB / 4.247 GB, free: 54.74 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006159/13.4, allocations: 192.6 kB / 4.247 GB, free: 54.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008441/13.4, allocations: 0.5095 MB / 4.248 GB, free: 54.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/13.4, allocations: 337.2 kB / 4.248 GB, free: 54.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/13.4, allocations: 0 / 4.248 GB, free: 54.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004029/13.4, allocations: 0.8915 MB / 4.249 GB, free: 54.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/13.4, allocations: 17.58 kB / 4.249 GB, free: 54.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/13.4, allocations: 9.5 kB / 4.249 GB, free: 54.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/13.4, allocations: 220.7 kB / 4.249 GB, free: 54.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/13.41, allocations: 130.8 kB / 4.25 GB, free: 54.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001574/13.41, allocations: 0.8655 MB / 4.25 GB, free: 53.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/13.41, allocations: 33.28 kB / 4.25 GB, free: 53.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/13.41, allocations: 40.25 kB / 4.25 GB, free: 53.72 MB / 442.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.0002718/13.41, allocations: 145.3 kB / 4.251 GB, free: 53.6 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002096/13.41, allocations: 476.1 kB / 4.251 GB, free: 53.53 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/13.41, allocations: 62.94 kB / 4.251 GB, free: 53.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/13.41, allocations: 0.589 MB / 4.252 GB, free: 53.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/13.41, allocations: 3 kB / 4.252 GB, free: 53.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/13.41, allocations: 7.062 kB / 4.252 GB, free: 53.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/13.41, allocations: 0 / 4.252 GB, free: 53.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00453/13.42, allocations: 1.475 MB / 4.253 GB, free: 52.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/13.42, allocations: 7.75 kB / 4.253 GB, free: 52.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002354/13.42, allocations: 182.2 kB / 4.253 GB, free: 52.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004585/13.42, allocations: 52.45 kB / 4.253 GB, free: 52.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.74e-05/13.42, allocations: 14.47 kB / 4.253 GB, free: 52.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003045/13.42, allocations: 2.691 MB / 4.256 GB, free: 50.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/13.42, allocations: 0 / 4.256 GB, free: 50.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003087/13.43, allocations: 0.94 MB / 4.257 GB, free: 50 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005849/13.43, allocations: 199.9 kB / 4.257 GB, free: 49.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/13.43, allocations: 3.656 kB / 4.257 GB, free: 49.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009461/13.43, allocations: 15.2 kB / 4.257 GB, free: 49.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/13.43, allocations: 35.11 kB / 4.257 GB, free: 49.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-05/13.43, allocations: 19.69 kB / 4.257 GB, free: 49.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005535/13.43, allocations: 329.4 kB / 4.257 GB, free: 49.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/13.43, allocations: 0 / 4.257 GB, free: 49.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001576/13.43, allocations: 224.4 kB / 4.258 GB, free: 49.78 MB / 442.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.003151/13.44, allocations: 2.225 MB / 4.26 GB, free: 48.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001459/13.44, allocations: 0.5212 MB / 4.26 GB, free: 48.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/13.44, allocations: 3.594 kB / 4.26 GB, free: 48.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00161/13.44, allocations: 419.2 kB / 4.261 GB, free: 48.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/13.44, allocations: 266.3 kB / 4.261 GB, free: 48.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/13.44, allocations: 1.122 MB / 4.262 GB, free: 48.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/13.44, allocations: 0.9487 MB / 4.263 GB, free: 47.33 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001321/13.45, allocations: 192.6 kB / 4.263 GB, free: 47.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000601/13.45, allocations: 229.3 kB / 4.263 GB, free: 47.32 MB / 442.7 MB Notification: Performance of SimCode: time 1.362e-06/13.45, allocations: 1.406 kB / 4.263 GB, free: 47.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07908/13.53, allocations: 18.71 MB / 4.282 GB, free: 46.71 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/13.53, allocations: 203.6 kB / 4.282 GB, free: 46.43 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.945/16.47, allocations: 0 / 4.282 GB, free: 46.43 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat