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 1.95/1.95, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.624e-05/2.643e-05, allocations: 0 / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2784, allocations: 38.77 MB / 258.4 MB, free: 12.17 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.117/1.396, allocations: 356.5 MB / 0.6005 GB, free: 41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/1.396, allocations: 88.47 kB / 0.6006 GB, free: 40.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5026/1.899, allocations: 80.57 MB / 0.6793 GB, free: 120.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.924e-06/1.899, allocations: 0 / 0.6793 GB, free: 120.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.525e-05/1.899, allocations: 4 kB / 0.6793 GB, free: 120.1 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.001243/1.9, allocations: 0.6 MB / 0.6798 GB, free: 119.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/1.9, allocations: 8.031 kB / 0.6799 GB, free: 119.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/1.901, allocations: 39.62 kB / 0.6799 GB, free: 119.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/1.901, allocations: 281.1 kB / 0.6802 GB, free: 119.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/1.901, allocations: 8 kB / 0.6802 GB, free: 119.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.762e-05/1.901, allocations: 15.95 kB / 0.6802 GB, free: 119.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004405/1.902, allocations: 169.1 kB / 0.6803 GB, free: 118.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005203/1.902, allocations: 258.6 kB / 0.6806 GB, free: 118.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/1.902, allocations: 4 kB / 0.6806 GB, free: 118.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/1.902, allocations: 3.984 kB / 0.6806 GB, free: 118.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/1.902, allocations: 4 kB / 0.6806 GB, free: 118.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/1.905, allocations: 1.374 MB / 0.6819 GB, free: 117.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/1.905, allocations: 155.1 kB / 0.6821 GB, free: 117 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/1.905, allocations: 85.23 kB / 0.6822 GB, free: 116.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.355e-05/1.905, allocations: 4.188 kB / 0.6822 GB, free: 116.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/1.905, allocations: 34.75 kB / 0.6822 GB, free: 116.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.306e-06/1.905, allocations: 0 / 0.6822 GB, free: 116.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.002534/1.908, allocations: 0.7506 MB / 0.6829 GB, free: 116 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/1.908, allocations: 55.41 kB / 0.683 GB, free: 116 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/1.908, allocations: 191.1 kB / 0.6832 GB, free: 115.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/1.908, allocations: 29.64 kB / 0.6832 GB, free: 115.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.98e-05/1.908, allocations: 191.8 kB / 0.6834 GB, free: 115.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.23e-05/1.908, allocations: 86.66 kB / 0.6835 GB, free: 115.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/1.908, allocations: 0 / 0.6835 GB, free: 115.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.854e-05/1.909, allocations: 338.8 kB / 0.6838 GB, free: 115.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/1.909, allocations: 79.72 kB / 0.6839 GB, free: 115 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/1.909, allocations: 171.1 kB / 0.684 GB, free: 114.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/1.909, allocations: 99.97 kB / 0.6841 GB, free: 114.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.909, allocations: 0 / 0.6841 GB, free: 114.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008851/1.91, allocations: 338 kB / 0.6845 GB, free: 114.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/1.91, allocations: 7.953 kB / 0.6845 GB, free: 114.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.91, allocations: 7.672 kB / 0.6845 GB, free: 114.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004773/1.911, allocations: 65.61 kB / 0.6845 GB, free: 114.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005996/1.911, allocations: 67.91 kB / 0.6846 GB, free: 114.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/1.914, allocations: 2.567 MB / 0.6871 GB, free: 111.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004923/1.914, allocations: 8 kB / 0.6871 GB, free: 111.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/1.914, allocations: 20.06 kB / 0.6871 GB, free: 111.4 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real 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.0002274/1.914, allocations: 117.6 kB / 0.6872 GB, free: 111.3 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000711/1.915, allocations: 254.9 kB / 0.6875 GB, free: 111.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/1.915, allocations: 23.72 kB / 0.6875 GB, free: 111 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.897e-05/1.915, allocations: 33.95 kB / 0.6875 GB, free: 111 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/1.915, allocations: 4 kB / 0.6875 GB, free: 111 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/1.915, allocations: 0 / 0.6875 GB, free: 111 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006835/1.916, allocations: 0.5395 MB / 0.6881 GB, free: 110.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/1.917, allocations: 0.6477 MB / 0.6887 GB, free: 109.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.917, allocations: 0 / 0.6887 GB, free: 109.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/1.918, allocations: 43.92 kB / 0.6887 GB, free: 109.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003475/1.918, allocations: 48.8 kB / 0.6888 GB, free: 109.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/1.918, allocations: 7.984 kB / 0.6888 GB, free: 109.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/1.919, allocations: 1.331 MB / 0.6901 GB, free: 108.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.919, allocations: 0 / 0.6901 GB, free: 108.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009479/1.92, allocations: 455.2 kB / 0.6905 GB, free: 107.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/1.92, allocations: 96.84 kB / 0.6906 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.051e-05/1.921, allocations: 8 kB / 0.6906 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/1.921, allocations: 12 kB / 0.6906 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/1.921, allocations: 19.92 kB / 0.6907 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/1.921, allocations: 15.98 kB / 0.6907 GB, free: 107.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001811/1.921, allocations: 149.9 kB / 0.6908 GB, free: 107.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.921, allocations: 0 / 0.6908 GB, free: 107.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007547/1.922, allocations: 92 kB / 0.6909 GB, free: 107.2 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.001313/1.923, allocations: 1.112 MB / 0.692 GB, free: 106.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009758/1.924, allocations: 439.9 kB / 0.6924 GB, free: 105.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.924, allocations: 128 / 0.6924 GB, free: 105.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004721/1.925, allocations: 218.1 kB / 0.6926 GB, free: 105.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/1.926, allocations: 116.5 kB / 0.6927 GB, free: 105.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/1.928, allocations: 0.5352 MB / 0.6933 GB, free: 104.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/1.928, allocations: 0.7678 MB / 0.694 GB, free: 104 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004656/1.929, allocations: 39.28 kB / 0.694 GB, free: 103.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/1.929, allocations: 87.41 kB / 0.6941 GB, free: 103.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.993e-06/1.929, allocations: 4 kB / 0.6941 GB, free: 103.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0484/1.977, allocations: 7.242 MB / 0.7012 GB, free: 96.6 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/1.978, allocations: 173.1 kB / 0.7014 GB, free: 96.4 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.725/4.702, allocations: 0 / 0.7014 GB, free: 96.4 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