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.335/2.335, allocations: 235 MB / 247.2 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.723e-05/3.742e-05, allocations: 0 / 305 MB, free: 5.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4023, allocations: 54.85 MB / 359.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.951/9.353, allocations: 2.952 GB / 3.303 GB, free: 90.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003849/9.353, allocations: 96.16 kB / 3.304 GB, free: 90.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.138/14.49, allocations: 1.135 GB / 4.439 GB, free: 68.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.735e-06/14.49, allocations: 3.969 kB / 4.439 GB, free: 68.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.615e-05/14.49, allocations: 18.25 kB / 4.439 GB, free: 68.82 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.008141/14.5, allocations: 1.573 MB / 4.44 GB, free: 68.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/14.5, allocations: 10.17 kB / 4.44 GB, free: 68.2 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003632/14.5, allocations: 98.69 kB / 4.44 GB, free: 68.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006475/14.5, allocations: 88.62 kB / 4.44 GB, free: 68.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/14.5, allocations: 0.5404 MB / 4.441 GB, free: 67.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/14.5, allocations: 104.8 kB / 4.441 GB, free: 67.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/14.5, allocations: 54.7 kB / 4.441 GB, free: 67.79 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/14.51, allocations: 0.7989 MB / 4.442 GB, free: 67.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-05/14.51, allocations: 3.438 kB / 4.442 GB, free: 67.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/14.51, allocations: 22.66 kB / 4.442 GB, free: 67.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/14.51, allocations: 39.91 kB / 4.442 GB, free: 67.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/14.51, allocations: 0.6042 MB / 4.443 GB, free: 67.56 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006766/14.51, allocations: 3.911 MB / 4.446 GB, free: 65.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/14.52, allocations: 380.5 kB / 4.447 GB, free: 65.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004973/14.52, allocations: 196.6 kB / 4.447 GB, free: 65.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005465/14.52, allocations: 0.4976 MB / 4.447 GB, free: 64.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/14.52, allocations: 41.98 kB / 4.447 GB, free: 64.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 3.456e-06/14.52, allocations: 0 / 4.447 GB, free: 64.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.004422/14.52, allocations: 1.322 MB / 4.449 GB, free: 64.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/14.52, allocations: 133.6 kB / 4.449 GB, free: 63.94 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009255/14.52, allocations: 493.4 kB / 4.449 GB, free: 63.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.014e-05/14.52, allocations: 31.98 kB / 4.449 GB, free: 63.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/14.52, allocations: 366.3 kB / 4.45 GB, free: 63.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/14.52, allocations: 169.1 kB / 4.45 GB, free: 63.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/14.52, allocations: 12.97 kB / 4.45 GB, free: 63.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/14.52, allocations: 377.6 kB / 4.45 GB, free: 63.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000568/14.52, allocations: 214.9 kB / 4.45 GB, free: 63.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007369/14.52, allocations: 0.5187 MB / 4.451 GB, free: 62.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007219/14.53, allocations: 315.5 kB / 4.451 GB, free: 62.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/14.53, allocations: 3.438 kB / 4.451 GB, free: 62.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002935/14.53, allocations: 0.9173 MB / 4.452 GB, free: 62.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/14.53, allocations: 10.69 kB / 4.452 GB, free: 62.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/14.53, allocations: 14.89 kB / 4.452 GB, free: 62.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001652/14.53, allocations: 252 kB / 4.452 GB, free: 62.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009076/14.53, allocations: 131.6 kB / 4.453 GB, free: 62.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/14.53, allocations: 0.8434 MB / 4.453 GB, free: 62.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/14.53, allocations: 52.02 kB / 4.453 GB, free: 62.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.686e-05/14.53, allocations: 45.05 kB / 4.453 GB, free: 62.15 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.0002352/14.53, allocations: 157.8 kB / 4.454 GB, free: 62.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/14.53, allocations: 63.72 kB / 4.454 GB, free: 62.01 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/14.54, allocations: 0.6901 MB / 4.454 GB, free: 61.92 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/14.54, allocations: 9.016 kB / 4.454 GB, free: 61.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/14.54, allocations: 0.5 kB / 4.454 GB, free: 61.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/14.54, allocations: 4.641 kB / 4.454 GB, free: 61.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/14.54, allocations: 1.351 MB / 4.456 GB, free: 61.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/14.54, allocations: 5.812 kB / 4.456 GB, free: 61.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/14.54, allocations: 194 kB / 4.456 GB, free: 61.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003687/14.54, allocations: 53.39 kB / 4.456 GB, free: 61.53 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-05/14.54, allocations: 13.44 kB / 4.456 GB, free: 61.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002458/14.54, allocations: 2.784 MB / 4.459 GB, free: 58.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/14.54, allocations: 3.031 kB / 4.459 GB, free: 58.95 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/14.55, allocations: 1.034 MB / 4.46 GB, free: 58.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006524/14.55, allocations: 196 kB / 4.46 GB, free: 58.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/14.55, allocations: 14.09 kB / 4.46 GB, free: 58.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007657/14.55, allocations: 31.48 kB / 4.46 GB, free: 58.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/14.55, allocations: 41.47 kB / 4.46 GB, free: 58.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.441e-05/14.55, allocations: 25.91 kB / 4.46 GB, free: 58.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006643/14.55, allocations: 375.5 kB / 4.46 GB, free: 58.37 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/14.55, allocations: 0 / 4.46 GB, free: 58.37 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001542/14.55, allocations: 242.5 kB / 4.461 GB, free: 58.36 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.003199/14.55, allocations: 2.357 MB / 4.463 GB, free: 56.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001661/14.56, allocations: 0.567 MB / 4.463 GB, free: 56.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/14.56, allocations: 0 / 4.463 GB, free: 56.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001733/14.56, allocations: 450 kB / 4.464 GB, free: 56.87 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/14.56, allocations: 298.5 kB / 4.464 GB, free: 56.87 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/14.56, allocations: 1.182 MB / 4.465 GB, free: 56.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/14.56, allocations: 0.9536 MB / 4.466 GB, free: 55.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001215/14.57, allocations: 205.4 kB / 4.466 GB, free: 55.81 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004385/14.57, allocations: 235 kB / 4.467 GB, free: 55.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.423e-06/14.57, allocations: 2.078 kB / 4.467 GB, free: 55.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06308/14.63, allocations: 22.8 MB / 4.489 GB, free: 54.88 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002797/14.63, allocations: 248.4 kB / 4.489 GB, free: 54.55 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.307/17.94, allocations: 0 / 4.489 GB, free: 54.55 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