Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.903/1.903, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.095e-05/4.117e-05, allocations: 4 kB / 225.1 MB, free: 2.191 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2911, allocations: 38.77 MB / 263.9 MB, free: 9.684 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.808/9.099, allocations: 2.791 GB / 3.049 GB, free: 49.85 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/9.1, allocations: 87.56 kB / 3.049 GB, free: 49.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.004/14.1, allocations: 0.9482 GB / 3.997 GB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/14.1, allocations: 0.5469 kB / 3.997 GB, free: 52.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.955e-05/14.1, allocations: 3.938 kB / 3.997 GB, free: 52.39 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.005508/14.11, allocations: 1.194 MB / 3.998 GB, free: 51.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/14.11, allocations: 7.812 kB / 3.998 GB, free: 51.72 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.512e-05/14.11, allocations: 65.02 kB / 3.998 GB, free: 51.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003845/14.11, allocations: 42.11 kB / 3.998 GB, free: 51.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/14.11, allocations: 275 kB / 3.999 GB, free: 51.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/14.11, allocations: 21.94 kB / 3.999 GB, free: 51.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.917e-05/14.11, allocations: 22.97 kB / 3.999 GB, free: 51.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/14.11, allocations: 300.7 kB / 3.999 GB, free: 51.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/14.11, allocations: 3.75 kB / 3.999 GB, free: 51.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.941e-05/14.11, allocations: 11.22 kB / 3.999 GB, free: 51.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/14.11, allocations: 7.125 kB / 3.999 GB, free: 51.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004844/14.11, allocations: 186.8 kB / 3.999 GB, free: 51.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/14.11, allocations: 1.445 MB / 4.001 GB, free: 50.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/14.11, allocations: 171.5 kB / 4.001 GB, free: 50.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/14.11, allocations: 84.52 kB / 4.001 GB, free: 50.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.416e-05/14.12, allocations: 4.125 kB / 4.001 GB, free: 50.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/14.12, allocations: 33.5 kB / 4.001 GB, free: 50.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 4.498e-06/14.12, allocations: 3.656 kB / 4.001 GB, free: 50.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.003457/14.12, allocations: 0.8683 MB / 4.002 GB, free: 49.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/14.12, allocations: 54.84 kB / 4.002 GB, free: 49.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/14.12, allocations: 236.1 kB / 4.002 GB, free: 49.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/14.12, allocations: 34.14 kB / 4.002 GB, free: 49.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/14.12, allocations: 179.1 kB / 4.002 GB, free: 49.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.781e-05/14.12, allocations: 93.95 kB / 4.002 GB, free: 49.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/14.12, allocations: 5.969 kB / 4.002 GB, free: 49.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.601e-05/14.12, allocations: 333.5 kB / 4.003 GB, free: 49.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/14.12, allocations: 86.34 kB / 4.003 GB, free: 49.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/14.12, allocations: 178.8 kB / 4.003 GB, free: 49.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/14.12, allocations: 114 kB / 4.003 GB, free: 49.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/14.12, allocations: 0 / 4.003 GB, free: 49.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001054/14.12, allocations: 375.3 kB / 4.003 GB, free: 48.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/14.12, allocations: 6.875 kB / 4.003 GB, free: 48.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/14.12, allocations: 3.562 kB / 4.003 GB, free: 48.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004016/14.12, allocations: 65.91 kB / 4.003 GB, free: 48.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005125/14.12, allocations: 67.41 kB / 4.003 GB, free: 48.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/14.12, allocations: 2.664 MB / 4.006 GB, free: 46.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005382/14.13, allocations: 26.44 kB / 4.006 GB, free: 46.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/14.13, allocations: 7.719 kB / 4.006 GB, free: 46.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001377/14.13, allocations: 138 kB / 4.006 GB, free: 46.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/14.13, allocations: 26 kB / 4.006 GB, free: 46.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/14.13, allocations: 39.5 kB / 4.006 GB, free: 46.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/14.13, allocations: 0 / 4.006 GB, free: 46.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/14.13, allocations: 3.875 kB / 4.006 GB, free: 46.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007796/14.13, allocations: 0.552 MB / 4.007 GB, free: 45.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/14.13, allocations: 0.6983 MB / 4.007 GB, free: 45.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/14.13, allocations: 0 / 4.007 GB, free: 45.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/14.13, allocations: 42.95 kB / 4.008 GB, free: 45.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003501/14.13, allocations: 57.92 kB / 4.008 GB, free: 45.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/14.13, allocations: 9.578 kB / 4.008 GB, free: 45.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/14.13, allocations: 1.389 MB / 4.009 GB, free: 43.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/14.13, allocations: 3.781 kB / 4.009 GB, free: 43.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/14.13, allocations: 477.1 kB / 4.009 GB, free: 43.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/14.13, allocations: 96.67 kB / 4.009 GB, free: 43.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.898e-05/14.13, allocations: 11.52 kB / 4.01 GB, free: 43.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/14.13, allocations: 14.77 kB / 4.01 GB, free: 43.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/14.13, allocations: 27.09 kB / 4.01 GB, free: 43.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/14.13, allocations: 3.906 kB / 4.01 GB, free: 43.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002593/14.13, allocations: 184.1 kB / 4.01 GB, free: 43.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/14.13, allocations: 2.969 kB / 4.01 GB, free: 43.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008402/14.13, allocations: 119.1 kB / 4.01 GB, free: 43.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00167/14.13, allocations: 1.261 MB / 4.011 GB, free: 42.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001086/14.14, allocations: 478.8 kB / 4.012 GB, free: 41.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/14.14, allocations: 1.5 kB / 4.012 GB, free: 41.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005197/14.14, allocations: 231.2 kB / 4.012 GB, free: 41.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/14.14, allocations: 151.9 kB / 4.012 GB, free: 41.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/14.14, allocations: 0.5585 MB / 4.012 GB, free: 41.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009881/14.14, allocations: 0.7733 MB / 4.013 GB, free: 56.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005805/14.14, allocations: 53.72 kB / 4.013 GB, free: 56.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/14.14, allocations: 85.41 kB / 4.013 GB, free: 56.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/14.14, allocations: 0 / 4.013 GB, free: 56.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04187/14.18, allocations: 12.06 MB / 4.025 GB, free: 52.91 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/14.18, allocations: 209.7 kB / 4.025 GB, free: 52.68 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.158/17.34, allocations: 7.938 kB / 4.025 GB, free: 52.68 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat