Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.413/2.413, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.77e-05/2.779e-05, allocations: 3.188 kB / 249.8 MB, free: 5.242 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1432, allocations: 44.5 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.317/1.46, allocations: 361.8 MB / 0.6408 GB, free: 21.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003461/1.461, allocations: 88.25 kB / 0.6408 GB, free: 21.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.639/2.1, allocations: 80.58 MB / 0.7195 GB, free: 121.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.804e-06/2.1, allocations: 0 / 0.7195 GB, free: 121.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.015e-05/2.1, allocations: 8 kB / 0.7195 GB, free: 121.5 MB / 410.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.0014/2.101, allocations: 0.6036 MB / 0.7201 GB, free: 120.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/2.101, allocations: 8.031 kB / 0.7201 GB, free: 120.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004359/2.102, allocations: 39.7 kB / 0.7202 GB, free: 120.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005573/2.102, allocations: 277.7 kB / 0.7204 GB, free: 120.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/2.102, allocations: 8 kB / 0.7205 GB, free: 120.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7e-05/2.102, allocations: 16 kB / 0.7205 GB, free: 120.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005447/2.103, allocations: 165.1 kB / 0.7206 GB, free: 120.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000636/2.103, allocations: 262.6 kB / 0.7209 GB, free: 120 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/2.104, allocations: 0 / 0.7209 GB, free: 120 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-05/2.104, allocations: 0 / 0.7209 GB, free: 120 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/2.104, allocations: 8 kB / 0.7209 GB, free: 120 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002452/2.106, allocations: 1.386 MB / 0.7222 GB, free: 118.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/2.107, allocations: 155.1 kB / 0.7224 GB, free: 118.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/2.107, allocations: 84.55 kB / 0.7225 GB, free: 118.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.899e-05/2.107, allocations: 12.12 kB / 0.7225 GB, free: 118.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/2.107, allocations: 34.75 kB / 0.7225 GB, free: 118.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 4.408e-06/2.107, allocations: 0 / 0.7225 GB, free: 118.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.00295/2.11, allocations: 0.7393 MB / 0.7232 GB, free: 117.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/2.11, allocations: 59.34 kB / 0.7233 GB, free: 117.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/2.11, allocations: 203 kB / 0.7235 GB, free: 117.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/2.11, allocations: 29.7 kB / 0.7235 GB, free: 117.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/2.11, allocations: 179.8 kB / 0.7237 GB, free: 116.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.508e-05/2.111, allocations: 94.7 kB / 0.7238 GB, free: 116.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/2.111, allocations: 0 / 0.7238 GB, free: 116.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.055e-05/2.111, allocations: 330.8 kB / 0.7241 GB, free: 116.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/2.111, allocations: 79.98 kB / 0.7242 GB, free: 116.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/2.111, allocations: 159.4 kB / 0.7243 GB, free: 116.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/2.111, allocations: 103.9 kB / 0.7244 GB, free: 116.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/2.111, allocations: 4 kB / 0.7244 GB, free: 116.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001095/2.113, allocations: 339.1 kB / 0.7247 GB, free: 115.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/2.113, allocations: 11.98 kB / 0.7248 GB, free: 115.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/2.113, allocations: 0 / 0.7248 GB, free: 115.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004534/2.113, allocations: 57.69 kB / 0.7248 GB, free: 115.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006076/2.114, allocations: 67.91 kB / 0.7249 GB, free: 115.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/2.116, allocations: 2.579 MB / 0.7274 GB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005688/2.117, allocations: 15.88 kB / 0.7274 GB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/2.117, allocations: 16 kB / 0.7274 GB, free: 112.8 MB / 410.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.0002314/2.117, allocations: 124.9 kB / 0.7275 GB, free: 112.7 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000875/2.118, allocations: 250.9 kB / 0.7278 GB, free: 112.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.379e-05/2.118, allocations: 23.72 kB / 0.7278 GB, free: 112.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/2.118, allocations: 33.91 kB / 0.7278 GB, free: 112.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/2.118, allocations: 8 kB / 0.7278 GB, free: 112.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/2.118, allocations: 0 / 0.7278 GB, free: 112.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007716/2.119, allocations: 0.5472 MB / 0.7284 GB, free: 111.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/2.121, allocations: 0.628 MB / 0.729 GB, free: 111 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/2.121, allocations: 4.031 kB / 0.729 GB, free: 111 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/2.121, allocations: 39.98 kB / 0.729 GB, free: 111 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000415/2.122, allocations: 60.62 kB / 0.7291 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/2.122, allocations: 0 / 0.7291 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/2.123, allocations: 1.327 MB / 0.7304 GB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/2.123, allocations: 7.984 kB / 0.7304 GB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/2.124, allocations: 451.1 kB / 0.7308 GB, free: 109 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/2.124, allocations: 100.9 kB / 0.7309 GB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.038e-05/2.125, allocations: 0 / 0.7309 GB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/2.125, allocations: 11.84 kB / 0.7309 GB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/2.125, allocations: 24.03 kB / 0.731 GB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/2.125, allocations: 15.98 kB / 0.731 GB, free: 108.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002177/2.125, allocations: 149.6 kB / 0.7311 GB, free: 108.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/2.125, allocations: 0 / 0.7311 GB, free: 108.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009329/2.126, allocations: 95.94 kB / 0.7312 GB, free: 108.6 MB / 410.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.001541/2.128, allocations: 1.127 MB / 0.7323 GB, free: 107.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001116/2.129, allocations: 433.8 kB / 0.7327 GB, free: 107 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/2.129, allocations: 0.75 kB / 0.7327 GB, free: 107 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005747/2.13, allocations: 221.6 kB / 0.7329 GB, free: 106.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/2.131, allocations: 120.5 kB / 0.733 GB, free: 106.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/2.133, allocations: 0.5281 MB / 0.7336 GB, free: 106.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/2.134, allocations: 0.7639 MB / 0.7343 GB, free: 105.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005784/2.134, allocations: 51.25 kB / 0.7344 GB, free: 105.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/2.134, allocations: 79.42 kB / 0.7344 GB, free: 105.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/2.134, allocations: 0 / 0.7344 GB, free: 105.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06297/2.197, allocations: 7.249 MB / 0.7415 GB, free: 97.95 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002943/2.198, allocations: 170.2 kB / 0.7417 GB, free: 97.76 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.425/5.623, allocations: 0 / 0.7417 GB, free: 97.76 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat