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 1.962/1.962, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.723e-05/3.733e-05, allocations: 8 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09633/0.09641, allocations: 44.51 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9385/1.035, allocations: 260.9 MB / 0.5477 GB, free: 110.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/1.035, allocations: 87.56 kB / 0.5478 GB, free: 110.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2527/1.288, allocations: 83.96 MB / 0.6298 GB, free: 48.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.314e-06/1.288, allocations: 0 / 0.6298 GB, free: 48.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.27e-05/1.288, allocations: 4 kB / 0.6298 GB, free: 48.63 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.0007957/1.289, allocations: 0.5268 MB / 0.6303 GB, free: 48.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/1.289, allocations: 16.03 kB / 0.6303 GB, free: 48.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.258e-05/1.289, allocations: 62.53 kB / 0.6304 GB, free: 47.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003368/1.289, allocations: 35.7 kB / 0.6304 GB, free: 47.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/1.29, allocations: 282.5 kB / 0.6307 GB, free: 47.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/1.29, allocations: 20.56 kB / 0.6307 GB, free: 47.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/1.29, allocations: 23.94 kB / 0.6307 GB, free: 47.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/1.291, allocations: 305.5 kB / 0.631 GB, free: 47.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/1.291, allocations: 0 / 0.631 GB, free: 47.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.058e-05/1.291, allocations: 15.94 kB / 0.631 GB, free: 47.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/1.291, allocations: 8 kB / 0.631 GB, free: 47.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/1.291, allocations: 181.6 kB / 0.6312 GB, free: 47.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/1.293, allocations: 1.728 MB / 0.6329 GB, free: 45.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/1.294, allocations: 130.5 kB / 0.633 GB, free: 45.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/1.294, allocations: 68.89 kB / 0.6331 GB, free: 44.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/1.294, allocations: 166.2 kB / 0.6332 GB, free: 44.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/1.294, allocations: 38.5 kB / 0.6333 GB, free: 44.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 3.186e-06/1.294, allocations: 0 / 0.6333 GB, free: 44.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.002302/1.297, allocations: 0.6816 MB / 0.634 GB, free: 43.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/1.297, allocations: 55.59 kB / 0.634 GB, free: 43.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/1.297, allocations: 247 kB / 0.6342 GB, free: 43.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/1.297, allocations: 33.7 kB / 0.6343 GB, free: 43.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/1.297, allocations: 195.7 kB / 0.6345 GB, free: 43.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.519e-05/1.297, allocations: 70.94 kB / 0.6345 GB, free: 43.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/1.297, allocations: 8 kB / 0.6345 GB, free: 43.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.679e-05/1.297, allocations: 334.8 kB / 0.6349 GB, free: 43.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/1.297, allocations: 67.94 kB / 0.6349 GB, free: 42.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/1.298, allocations: 179.6 kB / 0.6351 GB, free: 42.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/1.298, allocations: 104 kB / 0.6352 GB, free: 42.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.298, allocations: 0 / 0.6352 GB, free: 42.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006961/1.299, allocations: 328.3 kB / 0.6355 GB, free: 42.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.299, allocations: 11.95 kB / 0.6355 GB, free: 42.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.299, allocations: 4 kB / 0.6355 GB, free: 42.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/1.299, allocations: 20.86 kB / 0.6355 GB, free: 42.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000571/1.299, allocations: 87.83 kB / 0.6356 GB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009761/1.3, allocations: 1.292 MB / 0.6369 GB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/1.301, allocations: 12 kB / 0.6369 GB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/1.301, allocations: 24.16 kB / 0.6369 GB, free: 40.71 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.000121/1.301, allocations: 120.9 kB / 0.637 GB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.721e-05/1.301, allocations: 31.67 kB / 0.6371 GB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005124/1.302, allocations: 204.2 kB / 0.6373 GB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.302, allocations: 7.938 kB / 0.6373 GB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/1.302, allocations: 4 kB / 0.6373 GB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003742/1.302, allocations: 486.3 kB / 0.6377 GB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/1.303, allocations: 0.7763 MB / 0.6385 GB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.303, allocations: 7.938 kB / 0.6385 GB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/1.304, allocations: 39.98 kB / 0.6385 GB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/1.304, allocations: 4 kB / 0.6385 GB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/1.304, allocations: 11.94 kB / 0.6386 GB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/1.304, allocations: 11.92 kB / 0.6386 GB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.304, allocations: 3.953 kB / 0.6386 GB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005815/1.304, allocations: 0.4904 MB / 0.639 GB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.831e-05/1.305, allocations: 100.8 kB / 0.6391 GB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-05/1.305, allocations: 8 kB / 0.6391 GB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/1.305, allocations: 23.98 kB / 0.6392 GB, free: 38.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/1.305, allocations: 15.94 kB / 0.6392 GB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/1.305, allocations: 19.98 kB / 0.6392 GB, free: 38.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002449/1.305, allocations: 195.1 kB / 0.6394 GB, free: 37.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.305, allocations: 0 / 0.6394 GB, free: 37.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006578/1.306, allocations: 115.9 kB / 0.6395 GB, free: 37.74 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.307, allocations: 1.782 MB / 0.6412 GB, free: 35.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006316/1.308, allocations: 298.4 kB / 0.6415 GB, free: 35.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.308, allocations: 0 / 0.6415 GB, free: 35.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/1.308, allocations: 67.88 kB / 0.6416 GB, free: 35.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/1.31, allocations: 154.4 kB / 0.6417 GB, free: 35.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/1.311, allocations: 0.5008 MB / 0.6422 GB, free: 34.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/1.311, allocations: 0.7679 MB / 0.643 GB, free: 33.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004371/1.312, allocations: 67.25 kB / 0.643 GB, free: 33.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/1.312, allocations: 87.41 kB / 0.6431 GB, free: 33.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/1.312, allocations: 0 / 0.6431 GB, free: 33.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03674/1.349, allocations: 9.993 MB / 0.6529 GB, free: 23.91 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002543/1.349, allocations: 222.2 kB / 0.6531 GB, free: 23.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.997/4.346, allocations: 0 / 0.6531 GB, free: 23.68 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