Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.04/2.04, allocations: 171.2 MB / 183.3 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.301e-05/4.319e-05, allocations: 8 kB / 225.1 MB, free: 2.121 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2856, allocations: 38.77 MB / 263.9 MB, free: 9.805 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.081/1.367, allocations: 357.2 MB / 0.6065 GB, free: 29.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/1.367, allocations: 88.31 kB / 0.6066 GB, free: 29.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5781/1.946, allocations: 80.85 MB / 0.6856 GB, free: 105.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.338e-06/1.946, allocations: 4.375 kB / 0.6856 GB, free: 105.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.719e-05/1.946, allocations: 4 kB / 0.6856 GB, free: 105.6 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.001649/1.947, allocations: 0.5966 MB / 0.6861 GB, free: 105 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.496e-05/1.947, allocations: 12.03 kB / 0.6862 GB, free: 105 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001194/1.948, allocations: 58.55 kB / 0.6862 GB, free: 104.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005051/1.948, allocations: 47.55 kB / 0.6863 GB, free: 104.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006594/1.949, allocations: 278.5 kB / 0.6865 GB, free: 104.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/1.949, allocations: 28.5 kB / 0.6866 GB, free: 104.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.711e-05/1.949, allocations: 28 kB / 0.6866 GB, free: 104.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009525/1.95, allocations: 291.7 kB / 0.6869 GB, free: 104.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/1.95, allocations: 0 / 0.6869 GB, free: 104.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.153e-05/1.95, allocations: 12 kB / 0.6869 GB, free: 104.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/1.95, allocations: 4 kB / 0.6869 GB, free: 104.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006626/1.951, allocations: 197.6 kB / 0.6871 GB, free: 104 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003121/1.954, allocations: 1.432 MB / 0.6885 GB, free: 102.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005868/1.955, allocations: 175.2 kB / 0.6886 GB, free: 102.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/1.955, allocations: 85.23 kB / 0.6887 GB, free: 102.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.153e-05/1.955, allocations: 4.188 kB / 0.6887 GB, free: 102.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/1.955, allocations: 38.7 kB / 0.6888 GB, free: 102.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 4.408e-06/1.955, allocations: 4 kB / 0.6888 GB, free: 102.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.004628/1.96, allocations: 0.8565 MB / 0.6896 GB, free: 101.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/1.96, allocations: 59.36 kB / 0.6896 GB, free: 101.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004994/1.96, allocations: 234.8 kB / 0.6899 GB, free: 100.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.316e-05/1.96, allocations: 33.69 kB / 0.6899 GB, free: 100.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/1.96, allocations: 176 kB / 0.6901 GB, free: 100.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.959e-05/1.961, allocations: 94.64 kB / 0.6902 GB, free: 100.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/1.961, allocations: 8 kB / 0.6902 GB, free: 100.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/1.961, allocations: 338.8 kB / 0.6905 GB, free: 100.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/1.961, allocations: 79.78 kB / 0.6906 GB, free: 100.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/1.961, allocations: 178.9 kB / 0.6907 GB, free: 99.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/1.962, allocations: 116 kB / 0.6908 GB, free: 99.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/1.962, allocations: 0 / 0.6908 GB, free: 99.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001417/1.963, allocations: 374.7 kB / 0.6912 GB, free: 99.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/1.963, allocations: 4 kB / 0.6912 GB, free: 99.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.963, allocations: 11.88 kB / 0.6912 GB, free: 99.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005118/1.964, allocations: 69.98 kB / 0.6913 GB, free: 99.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006644/1.965, allocations: 63.91 kB / 0.6913 GB, free: 99.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00312/1.968, allocations: 2.673 MB / 0.694 GB, free: 96.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006984/1.969, allocations: 19.98 kB / 0.694 GB, free: 96.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/1.969, allocations: 12 kB / 0.694 GB, free: 96.29 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.0001747/1.969, allocations: 128.9 kB / 0.6941 GB, free: 96.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/1.969, allocations: 27.72 kB / 0.6941 GB, free: 96.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/1.969, allocations: 38.02 kB / 0.6942 GB, free: 96.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.969, allocations: 4 kB / 0.6942 GB, free: 96.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/1.969, allocations: 0 / 0.6942 GB, free: 96.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001031/1.97, allocations: 0.5513 MB / 0.6947 GB, free: 95.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/1.972, allocations: 0.7108 MB / 0.6954 GB, free: 94.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/1.972, allocations: 3.953 kB / 0.6954 GB, free: 94.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004814/1.973, allocations: 47.91 kB / 0.6955 GB, free: 94.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004874/1.973, allocations: 48.8 kB / 0.6955 GB, free: 94.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/1.973, allocations: 8 kB / 0.6955 GB, free: 94.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/1.975, allocations: 1.39 MB / 0.6969 GB, free: 93.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.975, allocations: 0 / 0.6969 GB, free: 93.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/1.976, allocations: 470.9 kB / 0.6973 GB, free: 92.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/1.977, allocations: 100.8 kB / 0.6974 GB, free: 92.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.328e-05/1.977, allocations: 8 kB / 0.6974 GB, free: 92.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005718/1.977, allocations: 12.06 kB / 0.6974 GB, free: 92.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.538e-05/1.977, allocations: 19.97 kB / 0.6975 GB, free: 92.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/1.977, allocations: 15.94 kB / 0.6975 GB, free: 92.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000335/1.978, allocations: 183.1 kB / 0.6976 GB, free: 92.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.978, allocations: 0 / 0.6976 GB, free: 92.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001055/1.979, allocations: 96 kB / 0.6977 GB, free: 92.11 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.002001/1.981, allocations: 1.151 MB / 0.6989 GB, free: 90.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001471/1.982, allocations: 466.3 kB / 0.6993 GB, free: 90.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/1.983, allocations: 0 / 0.6993 GB, free: 90.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007302/1.983, allocations: 242.3 kB / 0.6995 GB, free: 90.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/1.985, allocations: 144.7 kB / 0.6997 GB, free: 90.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/1.988, allocations: 0.5459 MB / 0.7002 GB, free: 89.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/1.988, allocations: 0.7803 MB / 0.701 GB, free: 88.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007508/1.989, allocations: 50.95 kB / 0.701 GB, free: 88.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/1.989, allocations: 83.41 kB / 0.7011 GB, free: 88.53 MB / 362.7 MB Notification: Performance of SimCode: time 1.833e-06/1.989, allocations: 0 / 0.7011 GB, free: 88.53 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04551/2.035, allocations: 8.984 MB / 0.7099 GB, free: 79.6 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/2.035, allocations: 210.9 kB / 0.7101 GB, free: 79.38 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/4.906, allocations: 0 / 0.7101 GB, free: 79.38 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat