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.914/1.914, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.468e-05/3.477e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.591/8.697, allocations: 2.841 GB / 3.155 GB, free: 35.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/8.697, allocations: 93.81 kB / 3.155 GB, free: 35.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.264/13.96, allocations: 1.099 GB / 4.254 GB, free: 63.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.069e-06/13.96, allocations: 0 / 4.254 GB, free: 63.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001225/13.96, allocations: 27.3 kB / 4.254 GB, free: 63.88 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.009398/13.97, allocations: 1.565 MB / 4.256 GB, free: 63.01 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.217e-05/13.97, allocations: 10.41 kB / 4.256 GB, free: 63.01 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003706/13.97, allocations: 98.92 kB / 4.256 GB, free: 62.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008947/13.97, allocations: 89.22 kB / 4.256 GB, free: 62.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/13.97, allocations: 0.548 MB / 4.256 GB, free: 62.67 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/13.97, allocations: 99.3 kB / 4.256 GB, free: 62.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002528/13.97, allocations: 55.31 kB / 4.256 GB, free: 62.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/13.98, allocations: 0.7945 MB / 4.257 GB, free: 62.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.131e-05/13.98, allocations: 9.125 kB / 4.257 GB, free: 62.38 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/13.98, allocations: 27.08 kB / 4.257 GB, free: 62.37 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001228/13.98, allocations: 37.8 kB / 4.257 GB, free: 62.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/13.98, allocations: 0.6164 MB / 4.258 GB, free: 62.37 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008372/13.99, allocations: 3.905 MB / 4.262 GB, free: 59.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/13.99, allocations: 386.4 kB / 4.262 GB, free: 59.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004305/13.99, allocations: 190.9 kB / 4.262 GB, free: 59.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005452/13.99, allocations: 0.5061 MB / 4.263 GB, free: 59.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/13.99, allocations: 34.08 kB / 4.263 GB, free: 59.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 3.968e-06/13.99, allocations: 2.906 kB / 4.263 GB, free: 59.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.004882/14, allocations: 1.325 MB / 4.264 GB, free: 58.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/14, allocations: 136.2 kB / 4.264 GB, free: 58.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008573/14, allocations: 491.5 kB / 4.265 GB, free: 58.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001252/14, allocations: 36.2 kB / 4.265 GB, free: 58.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/14, allocations: 360 kB / 4.265 GB, free: 58.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000177/14, allocations: 168.3 kB / 4.265 GB, free: 58.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/14, allocations: 15.78 kB / 4.265 GB, free: 58.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/14, allocations: 380.8 kB / 4.266 GB, free: 57.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005514/14, allocations: 219 kB / 4.266 GB, free: 57.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007107/14, allocations: 0.5202 MB / 4.266 GB, free: 57.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007288/14, allocations: 318.5 kB / 4.267 GB, free: 57.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/14, allocations: 3.938 kB / 4.267 GB, free: 57.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00277/14, allocations: 0.9436 MB / 4.268 GB, free: 56.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/14, allocations: 7.781 kB / 4.268 GB, free: 56.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/14, allocations: 15.7 kB / 4.268 GB, free: 56.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/14, allocations: 251 kB / 4.268 GB, free: 56.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008727/14.01, allocations: 129.5 kB / 4.268 GB, free: 56.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/14.01, allocations: 0.851 MB / 4.269 GB, free: 56.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/14.01, allocations: 51.31 kB / 4.269 GB, free: 56.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.555e-05/14.01, allocations: 40.66 kB / 4.269 GB, free: 56.14 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.000222/14.01, allocations: 156.2 kB / 4.269 GB, free: 55.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/14.01, allocations: 67.95 kB / 4.269 GB, free: 55.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/14.01, allocations: 0.6854 MB / 4.27 GB, free: 55.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/14.01, allocations: 3.219 kB / 4.27 GB, free: 55.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/14.01, allocations: 0 / 4.27 GB, free: 55.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/14.01, allocations: 3.703 kB / 4.27 GB, free: 55.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003134/14.01, allocations: 1.366 MB / 4.271 GB, free: 54.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/14.01, allocations: 3.938 kB / 4.271 GB, free: 54.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001844/14.02, allocations: 194.7 kB / 4.271 GB, free: 54.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003869/14.02, allocations: 54.8 kB / 4.271 GB, free: 54.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.06e-05/14.02, allocations: 18.72 kB / 4.271 GB, free: 54.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00243/14.02, allocations: 2.775 MB / 4.274 GB, free: 52.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/14.02, allocations: 7.5 kB / 4.274 GB, free: 52.13 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/14.02, allocations: 1.034 MB / 4.275 GB, free: 51.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004829/14.02, allocations: 197.3 kB / 4.275 GB, free: 51.35 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/14.02, allocations: 19.72 kB / 4.275 GB, free: 51.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000735/14.02, allocations: 31.67 kB / 4.275 GB, free: 51.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/14.02, allocations: 38.92 kB / 4.275 GB, free: 51.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.635e-05/14.02, allocations: 20.89 kB / 4.275 GB, free: 51.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006471/14.02, allocations: 375.5 kB / 4.276 GB, free: 51.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/14.02, allocations: 0 / 4.276 GB, free: 51.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001481/14.02, allocations: 236.3 kB / 4.276 GB, free: 51.11 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.003247/14.03, allocations: 2.363 MB / 4.278 GB, free: 49.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00174/14.03, allocations: 0.5836 MB / 4.279 GB, free: 49.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/14.03, allocations: 3.656 kB / 4.279 GB, free: 49.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001755/14.03, allocations: 463.7 kB / 4.279 GB, free: 49.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/14.03, allocations: 307.7 kB / 4.28 GB, free: 48.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/14.04, allocations: 1.176 MB / 4.281 GB, free: 48.44 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/14.04, allocations: 0.9569 MB / 4.282 GB, free: 47.71 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00124/14.04, allocations: 211.7 kB / 4.282 GB, free: 47.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004476/14.04, allocations: 230.3 kB / 4.282 GB, free: 47.53 MB / 442.7 MB Notification: Performance of SimCode: time 1.122e-06/14.04, allocations: 0 / 4.282 GB, free: 47.53 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06354/14.1, allocations: 22.82 MB / 4.304 GB, free: 38.79 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/14.1, allocations: 253.7 kB / 4.305 GB, free: 38.46 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.499/17.6, allocations: 0 / 4.305 GB, free: 38.46 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