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 1.923/1.923, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.975e-05/3.98e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.768/8.877, allocations: 2.841 GB / 3.155 GB, free: 35.37 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000362/8.878, allocations: 91.12 kB / 3.155 GB, free: 35.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.172/14.05, allocations: 1.099 GB / 4.254 GB, free: 66.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.984e-06/14.05, allocations: 0 / 4.254 GB, free: 66.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.087e-05/14.05, allocations: 19.84 kB / 4.254 GB, free: 66.68 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.007975/14.06, allocations: 1.57 MB / 4.256 GB, free: 65.83 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/14.06, allocations: 11.03 kB / 4.256 GB, free: 65.83 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001932/14.06, allocations: 100.9 kB / 4.256 GB, free: 65.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005286/14.06, allocations: 92.53 kB / 4.256 GB, free: 65.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/14.06, allocations: 0.5446 MB / 4.256 GB, free: 65.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/14.06, allocations: 98.62 kB / 4.256 GB, free: 65.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/14.06, allocations: 53.05 kB / 4.257 GB, free: 65.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/14.06, allocations: 0.7924 MB / 4.257 GB, free: 65.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/14.06, allocations: 7 kB / 4.257 GB, free: 65.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/14.06, allocations: 31.31 kB / 4.257 GB, free: 65.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.036e-05/14.06, allocations: 44.16 kB / 4.257 GB, free: 65.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/14.06, allocations: 0.6028 MB / 4.258 GB, free: 65.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006126/14.07, allocations: 3.903 MB / 4.262 GB, free: 62.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/14.07, allocations: 373.7 kB / 4.262 GB, free: 62.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00042/14.07, allocations: 196.1 kB / 4.262 GB, free: 62.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005239/14.07, allocations: 0.5007 MB / 4.263 GB, free: 62.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/14.07, allocations: 36.86 kB / 4.263 GB, free: 62.13 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 3.066e-06/14.07, allocations: 0 / 4.263 GB, free: 62.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.003946/14.08, allocations: 1.32 MB / 4.264 GB, free: 61.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/14.08, allocations: 138.5 kB / 4.264 GB, free: 61.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008061/14.08, allocations: 491.9 kB / 4.265 GB, free: 61.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.497e-05/14.08, allocations: 36.08 kB / 4.265 GB, free: 61.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/14.08, allocations: 362.2 kB / 4.265 GB, free: 61.22 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/14.08, allocations: 164.8 kB / 4.265 GB, free: 61.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/14.08, allocations: 13.59 kB / 4.265 GB, free: 61.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/14.08, allocations: 378.4 kB / 4.266 GB, free: 60.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005385/14.08, allocations: 216.1 kB / 4.266 GB, free: 60.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006921/14.08, allocations: 0.5197 MB / 4.266 GB, free: 60.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006725/14.08, allocations: 316.7 kB / 4.267 GB, free: 60.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/14.08, allocations: 3.125 kB / 4.267 GB, free: 60.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002621/14.08, allocations: 0.9212 MB / 4.268 GB, free: 60.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/14.08, allocations: 7.906 kB / 4.268 GB, free: 60.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/14.08, allocations: 15.69 kB / 4.268 GB, free: 60.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/14.08, allocations: 260.2 kB / 4.268 GB, free: 60.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008265/14.08, allocations: 137 kB / 4.268 GB, free: 60.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/14.09, allocations: 0.8356 MB / 4.269 GB, free: 59.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009895/14.09, allocations: 56.62 kB / 4.269 GB, free: 59.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.504e-05/14.09, allocations: 36.16 kB / 4.269 GB, free: 59.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.0002139/14.09, allocations: 157.2 kB / 4.269 GB, free: 59.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/14.09, allocations: 62.84 kB / 4.269 GB, free: 59.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/14.09, allocations: 0.6755 MB / 4.27 GB, free: 59.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/14.09, allocations: 7.531 kB / 4.27 GB, free: 59.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/14.09, allocations: 7.688 kB / 4.27 GB, free: 59.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/14.09, allocations: 0 / 4.27 GB, free: 59.47 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002828/14.09, allocations: 1.361 MB / 4.271 GB, free: 59.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-06/14.09, allocations: 7.031 kB / 4.271 GB, free: 59.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/14.09, allocations: 192.7 kB / 4.271 GB, free: 59.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003575/14.09, allocations: 59 kB / 4.271 GB, free: 59.06 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.246e-05/14.09, allocations: 14.69 kB / 4.271 GB, free: 59.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002351/14.1, allocations: 2.775 MB / 4.274 GB, free: 56.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/14.1, allocations: 0 / 4.274 GB, free: 56.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/14.1, allocations: 1.041 MB / 4.275 GB, free: 55.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/14.1, allocations: 197.3 kB / 4.275 GB, free: 55.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/14.1, allocations: 19.77 kB / 4.275 GB, free: 55.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007351/14.1, allocations: 36.61 kB / 4.275 GB, free: 55.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/14.1, allocations: 41.86 kB / 4.275 GB, free: 55.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.077e-05/14.1, allocations: 19.45 kB / 4.275 GB, free: 55.56 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006338/14.1, allocations: 374.1 kB / 4.276 GB, free: 55.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.11e-07/14.1, allocations: 0 / 4.276 GB, free: 55.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001402/14.1, allocations: 240.5 kB / 4.276 GB, free: 55.35 MB / 442.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.00301/14.11, allocations: 2.37 MB / 4.278 GB, free: 53.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001587/14.11, allocations: 0.5555 MB / 4.279 GB, free: 53.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/14.11, allocations: 0 / 4.279 GB, free: 53.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001692/14.11, allocations: 455.3 kB / 4.279 GB, free: 53.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/14.11, allocations: 312.2 kB / 4.28 GB, free: 53.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/14.11, allocations: 1.171 MB / 4.281 GB, free: 52.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/14.11, allocations: 0.9453 MB / 4.282 GB, free: 51.99 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00115/14.12, allocations: 211.9 kB / 4.282 GB, free: 51.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004445/14.12, allocations: 239.8 kB / 4.282 GB, free: 51.81 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/14.12, allocations: 1.312 kB / 4.282 GB, free: 51.81 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06439/14.18, allocations: 22.78 MB / 4.304 GB, free: 50.35 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/14.18, allocations: 259.7 kB / 4.305 GB, free: 50.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.471/17.65, allocations: 0 / 4.305 GB, free: 50.02 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