Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.437/2.437, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.96e-05/3.968e-05, allocations: 4 kB / 249.8 MB, free: 14.76 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3844, allocations: 44.5 MB / 294.3 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7803/1.165, allocations: 260.2 MB / 0.5415 GB, free: 13.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003789/1.165, allocations: 89.3 kB / 0.5416 GB, free: 13.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6974/1.863, allocations: 83.59 MB / 0.6232 GB, free: 94.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.294e-06/1.863, allocations: 0 / 0.6232 GB, free: 94.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.074e-05/1.863, allocations: 11.98 kB / 0.6233 GB, free: 94.61 MB / 394.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.00101/1.864, allocations: 0.519 MB / 0.6238 GB, free: 94.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/1.864, allocations: 8.031 kB / 0.6238 GB, free: 94.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004895/1.864, allocations: 35.72 kB / 0.6238 GB, free: 94.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005986/1.865, allocations: 286.5 kB / 0.6241 GB, free: 93.69 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/1.865, allocations: 8 kB / 0.6241 GB, free: 93.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.44e-05/1.865, allocations: 12 kB / 0.6241 GB, free: 93.67 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005057/1.866, allocations: 157 kB / 0.6242 GB, free: 93.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006535/1.866, allocations: 272.6 kB / 0.6245 GB, free: 93.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/1.866, allocations: 4 kB / 0.6245 GB, free: 93.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.987e-05/1.866, allocations: 0 / 0.6245 GB, free: 93.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/1.866, allocations: 8 kB / 0.6245 GB, free: 93.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002925/1.869, allocations: 1.673 MB / 0.6261 GB, free: 91.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/1.87, allocations: 122.6 kB / 0.6263 GB, free: 91.26 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/1.87, allocations: 68.83 kB / 0.6263 GB, free: 91.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/1.87, allocations: 166.2 kB / 0.6265 GB, free: 90.99 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/1.87, allocations: 38.56 kB / 0.6265 GB, free: 90.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 4.569e-06/1.87, allocations: 0 / 0.6265 GB, free: 90.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.002414/1.873, allocations: 0.5942 MB / 0.6271 GB, free: 90.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/1.873, allocations: 51.59 kB / 0.6272 GB, free: 90.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/1.873, allocations: 212.4 kB / 0.6274 GB, free: 90.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.162e-05/1.873, allocations: 25.7 kB / 0.6274 GB, free: 89.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/1.873, allocations: 207.4 kB / 0.6276 GB, free: 89.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.578e-05/1.873, allocations: 67 kB / 0.6276 GB, free: 89.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/1.873, allocations: 4 kB / 0.6276 GB, free: 89.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.533e-05/1.873, allocations: 334.8 kB / 0.628 GB, free: 89.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/1.874, allocations: 55.98 kB / 0.628 GB, free: 89.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/1.874, allocations: 181.4 kB / 0.6282 GB, free: 89.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/1.874, allocations: 98.83 kB / 0.6283 GB, free: 89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/1.874, allocations: 0 / 0.6283 GB, free: 89 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009632/1.875, allocations: 297.7 kB / 0.6286 GB, free: 88.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/1.875, allocations: 8 kB / 0.6286 GB, free: 88.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/1.875, allocations: 4 kB / 0.6286 GB, free: 88.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001939/1.876, allocations: 24.81 kB / 0.6286 GB, free: 88.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007037/1.876, allocations: 88.39 kB / 0.6287 GB, free: 88.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/1.878, allocations: 1.237 MB / 0.6299 GB, free: 87.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/1.878, allocations: 12.16 kB / 0.6299 GB, free: 87.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/1.878, allocations: 20 kB / 0.6299 GB, free: 87.19 MB / 394.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: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000231/1.878, allocations: 116.8 kB / 0.63 GB, free: 87.07 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006989/1.879, allocations: 173.6 kB / 0.6302 GB, free: 86.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.882e-05/1.879, allocations: 27.67 kB / 0.6302 GB, free: 86.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006869/1.88, allocations: 192.2 kB / 0.6304 GB, free: 86.67 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/1.88, allocations: 4 kB / 0.6304 GB, free: 86.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.88, allocations: 3.984 kB / 0.6304 GB, free: 86.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004878/1.88, allocations: 463.7 kB / 0.6309 GB, free: 86.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/1.882, allocations: 0.7064 MB / 0.6316 GB, free: 85.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.882, allocations: 3.938 kB / 0.6316 GB, free: 85.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/1.883, allocations: 47.92 kB / 0.6316 GB, free: 85.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/1.883, allocations: 7.984 kB / 0.6316 GB, free: 85.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/1.883, allocations: 4.281 kB / 0.6316 GB, free: 85.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/1.883, allocations: 15.95 kB / 0.6316 GB, free: 85.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/1.883, allocations: 7.875 kB / 0.6316 GB, free: 85.24 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007988/1.884, allocations: 485.3 kB / 0.6321 GB, free: 84.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/1.884, allocations: 104.8 kB / 0.6322 GB, free: 84.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-05/1.884, allocations: 4 kB / 0.6322 GB, free: 84.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005379/1.885, allocations: 11.98 kB / 0.6322 GB, free: 84.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/1.885, allocations: 20 kB / 0.6322 GB, free: 84.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-05/1.885, allocations: 15.98 kB / 0.6322 GB, free: 84.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002421/1.885, allocations: 160.5 kB / 0.6324 GB, free: 84.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.885, allocations: 0 / 0.6324 GB, free: 84.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001002/1.886, allocations: 103.9 kB / 0.6325 GB, free: 84.24 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001592/1.888, allocations: 1.761 MB / 0.6342 GB, free: 82.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000772/1.888, allocations: 269.5 kB / 0.6345 GB, free: 82.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.888, allocations: 0 / 0.6345 GB, free: 82.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/1.889, allocations: 65.19 kB / 0.6345 GB, free: 82.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/1.89, allocations: 112.5 kB / 0.6346 GB, free: 81.94 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/1.892, allocations: 491 kB / 0.6351 GB, free: 81.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/1.892, allocations: 0.7717 MB / 0.6359 GB, free: 80.6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005624/1.893, allocations: 55.41 kB / 0.6359 GB, free: 80.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/1.893, allocations: 83.41 kB / 0.636 GB, free: 80.47 MB / 394.7 MB Notification: Performance of SimCode: time 1.423e-06/1.893, allocations: 3.938 kB / 0.636 GB, free: 80.46 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06014/1.953, allocations: 7.419 MB / 0.6433 GB, free: 73.07 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002042/1.954, allocations: 185.5 kB / 0.6434 GB, free: 72.87 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.436/5.39, allocations: 0 / 0.6434 GB, free: 72.87 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat