Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.101/2.101, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.97e-05/2.968e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3165, allocations: 44.5 MB / 294.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.088/1.405, allocations: 361.8 MB / 0.6407 GB, free: 90.17 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/1.405, allocations: 84.38 kB / 0.6408 GB, free: 90.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2527/1.658, allocations: 80.57 MB / 0.7195 GB, free: 16.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/1.658, allocations: 0 / 0.7195 GB, free: 16.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.525e-05/1.658, allocations: 8 kB / 0.7195 GB, free: 16.36 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.001196/1.659, allocations: 0.6008 MB / 0.7201 GB, free: 15.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/1.659, allocations: 11.97 kB / 0.7201 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003828/1.66, allocations: 39.7 kB / 0.7201 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/1.66, allocations: 278.4 kB / 0.7204 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/1.66, allocations: 8 kB / 0.7204 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/1.66, allocations: 16 kB / 0.7204 GB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004492/1.661, allocations: 169.1 kB / 0.7206 GB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/1.661, allocations: 266.5 kB / 0.7208 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/1.661, allocations: 0 / 0.7208 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/1.661, allocations: 0 / 0.7208 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/1.661, allocations: 8 kB / 0.7208 GB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/1.663, allocations: 1.381 MB / 0.7222 GB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/1.664, allocations: 159 kB / 0.7223 GB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/1.664, allocations: 81.17 kB / 0.7224 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/1.664, allocations: 192 / 0.7224 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/1.664, allocations: 42.73 kB / 0.7224 GB, free: 13.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.224e-06/1.664, allocations: 0 / 0.7224 GB, free: 13.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002568/1.667, allocations: 0.7401 MB / 0.7232 GB, free: 12.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/1.667, allocations: 59.39 kB / 0.7232 GB, free: 12.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/1.667, allocations: 199.1 kB / 0.7234 GB, free: 12.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/1.667, allocations: 29.7 kB / 0.7234 GB, free: 11.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/1.667, allocations: 179.8 kB / 0.7236 GB, free: 11.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.04e-05/1.667, allocations: 90.66 kB / 0.7237 GB, free: 11.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/1.667, allocations: 0 / 0.7237 GB, free: 11.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.812e-05/1.667, allocations: 330.8 kB / 0.724 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/1.667, allocations: 76 kB / 0.7241 GB, free: 11.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/1.668, allocations: 166.9 kB / 0.7242 GB, free: 11.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/1.668, allocations: 104 kB / 0.7243 GB, free: 11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.668, allocations: 4 kB / 0.7243 GB, free: 10.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009484/1.669, allocations: 338.9 kB / 0.7247 GB, free: 10.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/1.669, allocations: 8 kB / 0.7247 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.669, allocations: 8 kB / 0.7247 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003781/1.669, allocations: 57.67 kB / 0.7247 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005108/1.67, allocations: 71.84 kB / 0.7248 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/1.672, allocations: 2.56 MB / 0.7273 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/1.673, allocations: 16.05 kB / 0.7273 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/1.673, allocations: 16 kB / 0.7273 GB, free: 7.672 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.0002403/1.673, allocations: 120.8 kB / 0.7275 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007142/1.674, allocations: 255.2 kB / 0.7277 GB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/1.674, allocations: 31.72 kB / 0.7277 GB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.612e-05/1.674, allocations: 29.92 kB / 0.7278 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.674, allocations: 4 kB / 0.7278 GB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/1.674, allocations: 3.938 kB / 0.7278 GB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006486/1.674, allocations: 0.5433 MB / 0.7283 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/1.676, allocations: 0.641 MB / 0.7289 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.676, allocations: 0 / 0.7289 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003717/1.676, allocations: 51.91 kB / 0.729 GB, free: 5.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000348/1.676, allocations: 52.7 kB / 0.729 GB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/1.677, allocations: 0 / 0.729 GB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/1.678, allocations: 1.327 MB / 0.7303 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.678, allocations: 7.984 kB / 0.7303 GB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008527/1.679, allocations: 447.6 kB / 0.7308 GB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.421e-05/1.679, allocations: 96.91 kB / 0.7308 GB, free: 3.766 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.302e-05/1.679, allocations: 0 / 0.7308 GB, free: 3.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/1.679, allocations: 15.95 kB / 0.7309 GB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/1.679, allocations: 19.92 kB / 0.7309 GB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/1.679, allocations: 11.98 kB / 0.7309 GB, free: 3.719 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001702/1.679, allocations: 153.6 kB / 0.731 GB, free: 3.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.5e-07/1.679, allocations: 0 / 0.731 GB, free: 3.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007251/1.68, allocations: 92 kB / 0.7311 GB, free: 3.48 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.001289/1.681, allocations: 1.12 MB / 0.7322 GB, free: 2.328 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009191/1.682, allocations: 439.9 kB / 0.7326 GB, free: 1.879 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.682, allocations: 4.188 kB / 0.7326 GB, free: 1.875 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004676/1.683, allocations: 221.6 kB / 0.7329 GB, free: 1.648 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/1.684, allocations: 116.5 kB / 0.733 GB, free: 1.535 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/1.686, allocations: 0.5375 MB / 0.7335 GB, free: 0.957 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/1.686, allocations: 0.7639 MB / 0.7342 GB, free: 172 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004346/1.686, allocations: 47.25 kB / 0.7343 GB, free: 128 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/1.687, allocations: 95.34 kB / 0.7344 GB, free: 32 kB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/1.687, allocations: 0 / 0.7344 GB, free: 32 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3376/2.024, allocations: 7.235 MB / 0.7414 GB, free: 125.4 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002714/2.025, allocations: 162.8 kB / 0.7416 GB, free: 125.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.727/4.752, allocations: 0.9375 kB / 0.7416 GB, free: 125.2 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat