Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.334/2.334, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.398e-05/3.417e-05, allocations: 4 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09689/0.09697, allocations: 44.49 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9142/1.011, allocations: 260.9 MB / 0.5477 GB, free: 109.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/1.012, allocations: 86.03 kB / 0.5478 GB, free: 109.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2575/1.269, allocations: 83.96 MB / 0.6298 GB, free: 48.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/1.269, allocations: 0 / 0.6298 GB, free: 48.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.317e-05/1.269, allocations: 8 kB / 0.6298 GB, free: 48.2 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.0008045/1.27, allocations: 0.5264 MB / 0.6303 GB, free: 47.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/1.27, allocations: 8.031 kB / 0.6303 GB, free: 47.62 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.633e-05/1.27, allocations: 66.53 kB / 0.6304 GB, free: 47.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003582/1.271, allocations: 35.72 kB / 0.6304 GB, free: 47.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/1.271, allocations: 282.8 kB / 0.6307 GB, free: 47.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/1.271, allocations: 20.56 kB / 0.6307 GB, free: 47.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.428e-05/1.271, allocations: 24 kB / 0.6308 GB, free: 47.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000616/1.272, allocations: 304.3 kB / 0.631 GB, free: 46.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/1.272, allocations: 0 / 0.631 GB, free: 46.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-05/1.272, allocations: 15.94 kB / 0.6311 GB, free: 46.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/1.272, allocations: 8 kB / 0.6311 GB, free: 46.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004234/1.272, allocations: 172.7 kB / 0.6312 GB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/1.275, allocations: 1.731 MB / 0.6329 GB, free: 44.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/1.275, allocations: 130.6 kB / 0.633 GB, free: 44.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/1.275, allocations: 60.86 kB / 0.6331 GB, free: 44.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/1.275, allocations: 174.2 kB / 0.6333 GB, free: 44.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/1.275, allocations: 34.56 kB / 0.6333 GB, free: 44.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 3.036e-06/1.275, allocations: 0 / 0.6333 GB, free: 44.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.002263/1.278, allocations: 0.6723 MB / 0.634 GB, free: 43.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/1.278, allocations: 55.59 kB / 0.634 GB, free: 43.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/1.278, allocations: 255 kB / 0.6343 GB, free: 43.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/1.278, allocations: 29.7 kB / 0.6343 GB, free: 43.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/1.278, allocations: 191.7 kB / 0.6345 GB, free: 43.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.809e-05/1.278, allocations: 78.94 kB / 0.6345 GB, free: 42.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.901e-05/1.278, allocations: 4 kB / 0.6345 GB, free: 42.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.725e-05/1.279, allocations: 334.8 kB / 0.6349 GB, free: 42.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/1.279, allocations: 60 kB / 0.6349 GB, free: 42.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/1.279, allocations: 189.6 kB / 0.6351 GB, free: 42.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/1.279, allocations: 107 kB / 0.6352 GB, free: 42.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/1.279, allocations: 4 kB / 0.6352 GB, free: 42.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007032/1.28, allocations: 306.2 kB / 0.6355 GB, free: 41.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/1.28, allocations: 4 kB / 0.6355 GB, free: 41.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.28, allocations: 4 kB / 0.6355 GB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001225/1.28, allocations: 28.8 kB / 0.6355 GB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/1.281, allocations: 79.89 kB / 0.6356 GB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/1.282, allocations: 1.3 MB / 0.6369 GB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004177/1.282, allocations: 12 kB / 0.6369 GB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/1.282, allocations: 20 kB / 0.6369 GB, free: 40.32 MB / 410.7 MB 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.0001406/1.282, allocations: 125 kB / 0.637 GB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.889e-05/1.282, allocations: 27.72 kB / 0.6371 GB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004893/1.283, allocations: 203.2 kB / 0.6373 GB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.283, allocations: 7.938 kB / 0.6373 GB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.283, allocations: 7.953 kB / 0.6373 GB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003856/1.283, allocations: 479.7 kB / 0.6377 GB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/1.285, allocations: 0.7604 MB / 0.6385 GB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.285, allocations: 4.281 kB / 0.6385 GB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/1.285, allocations: 55.91 kB / 0.6385 GB, free: 38.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/1.285, allocations: 7.938 kB / 0.6385 GB, free: 38.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/1.285, allocations: 8 kB / 0.6385 GB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/1.285, allocations: 4 kB / 0.6385 GB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.285, allocations: 3.938 kB / 0.6385 GB, free: 38.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006325/1.286, allocations: 0.4904 MB / 0.639 GB, free: 37.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/1.286, allocations: 104.8 kB / 0.6391 GB, free: 37.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.593e-05/1.286, allocations: 7.953 kB / 0.6391 GB, free: 37.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004376/1.287, allocations: 20 kB / 0.6392 GB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/1.287, allocations: 19.97 kB / 0.6392 GB, free: 37.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/1.287, allocations: 12 kB / 0.6392 GB, free: 37.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002565/1.287, allocations: 199.1 kB / 0.6394 GB, free: 37.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.9e-07/1.287, allocations: 0 / 0.6394 GB, free: 37.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007059/1.288, allocations: 115.9 kB / 0.6395 GB, free: 37.37 MB / 410.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.001186/1.289, allocations: 1.779 MB / 0.6412 GB, free: 35.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006353/1.289, allocations: 282.5 kB / 0.6415 GB, free: 35.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.29, allocations: 0 / 0.6415 GB, free: 35.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/1.29, allocations: 72.05 kB / 0.6416 GB, free: 35.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/1.291, allocations: 157.1 kB / 0.6417 GB, free: 34.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/1.293, allocations: 0.5024 MB / 0.6422 GB, free: 34.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/1.293, allocations: 0.768 MB / 0.643 GB, free: 33.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004424/1.293, allocations: 55.53 kB / 0.643 GB, free: 33.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/1.293, allocations: 99.39 kB / 0.6431 GB, free: 33.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/1.294, allocations: 0 / 0.6431 GB, free: 33.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03623/1.33, allocations: 9.955 MB / 0.6528 GB, free: 23.59 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/1.33, allocations: 220.9 kB / 0.653 GB, free: 23.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.1/4.43, allocations: 0 / 0.653 GB, free: 23.35 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat