Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.4/2.4, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.553e-05, allocations: 0 / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1395, allocations: 61.88 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.178/1.318, allocations: 353.7 MB / 0.7461 GB, free: 51.73 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003594/1.318, allocations: 93.75 kB / 0.7462 GB, free: 51.68 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8403/2.159, allocations: 133.3 MB / 0.8764 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.492e-06/2.159, allocations: 0 / 0.8764 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.806e-05/2.159, allocations: 22.52 kB / 0.8764 GB, free: 146.2 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002194/2.161, allocations: 0.8865 MB / 0.8773 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/2.161, allocations: 7.688 kB / 0.8773 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001479/2.161, allocations: 101 kB / 0.8774 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004273/2.162, allocations: 91.02 kB / 0.8775 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/2.163, allocations: 0.5397 MB / 0.878 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/2.163, allocations: 105.6 kB / 0.8781 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/2.163, allocations: 55.05 kB / 0.8782 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/2.165, allocations: 0.7964 MB / 0.8789 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/2.165, allocations: 7.562 kB / 0.879 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/2.165, allocations: 26.47 kB / 0.879 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.498e-05/2.165, allocations: 36.98 kB / 0.879 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/2.166, allocations: 0.6008 MB / 0.8796 GB, free: 144 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005568/2.172, allocations: 4.034 MB / 0.8835 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00077/2.173, allocations: 328.9 kB / 0.8839 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000362/2.173, allocations: 165.1 kB / 0.884 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002392/2.176, allocations: 1.749 MB / 0.8857 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/2.176, allocations: 38.55 kB / 0.8858 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 2.665e-06/2.176, allocations: 2.812 kB / 0.8858 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.004794/2.18, allocations: 1.257 MB / 0.887 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/2.181, allocations: 135.9 kB / 0.8871 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008934/2.181, allocations: 0.5466 MB / 0.8876 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/2.181, allocations: 37.39 kB / 0.8877 GB, free: 137 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/2.182, allocations: 398 kB / 0.8881 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/2.182, allocations: 141.6 kB / 0.8882 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.344e-05/2.182, allocations: 12 kB / 0.8882 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001189/2.182, allocations: 374.5 kB / 0.8886 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/2.183, allocations: 175.1 kB / 0.8887 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006069/2.183, allocations: 0.5343 MB / 0.8893 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006002/2.184, allocations: 293.9 kB / 0.8895 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/2.184, allocations: 3.844 kB / 0.8895 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001819/2.186, allocations: 0.7713 MB / 0.8903 GB, free: 135 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/2.186, allocations: 16.02 kB / 0.8903 GB, free: 135 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/2.186, allocations: 13.22 kB / 0.8903 GB, free: 135 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005271/2.186, allocations: 93.62 kB / 0.8904 GB, free: 135 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/2.187, allocations: 186.6 kB / 0.8906 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005832/2.188, allocations: 0.6526 MB / 0.8912 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009392/2.189, allocations: 47.55 kB / 0.8913 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.779e-05/2.189, allocations: 47.42 kB / 0.8913 GB, free: 134.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002049/2.189, allocations: 168.3 kB / 0.8915 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/2.189, allocations: 65.38 kB / 0.8915 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/2.191, allocations: 0.4908 MB / 0.892 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/2.191, allocations: 3.031 kB / 0.892 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/2.191, allocations: 0 / 0.892 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/2.191, allocations: 3.984 kB / 0.892 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/2.193, allocations: 1.189 MB / 0.8932 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/2.193, allocations: 4.344 kB / 0.8932 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/2.194, allocations: 81.81 kB / 0.8933 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002454/2.194, allocations: 34.22 kB / 0.8933 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/2.194, allocations: 15.67 kB / 0.8933 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003342/2.194, allocations: 0.5616 MB / 0.8939 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/2.194, allocations: 3 kB / 0.8939 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/2.196, allocations: 0.8435 MB / 0.8947 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005046/2.196, allocations: 190 kB / 0.8949 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/2.196, allocations: 18.52 kB / 0.8949 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007684/2.197, allocations: 30.33 kB / 0.8949 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/2.197, allocations: 35.52 kB / 0.895 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.985e-05/2.197, allocations: 24.83 kB / 0.895 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000784/2.198, allocations: 441.9 kB / 0.8954 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/2.198, allocations: 4 kB / 0.8954 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001298/2.2, allocations: 223.4 kB / 0.8956 GB, free: 130.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (36): * Single equations (assignments): 35 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002432/2.202, allocations: 2.445 MB / 0.898 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00142/2.203, allocations: 469 kB / 0.8984 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/2.203, allocations: 4 kB / 0.8985 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004655/2.204, allocations: 165.7 kB / 0.8986 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00264/2.207, allocations: 320.1 kB / 0.8989 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/2.21, allocations: 1.073 MB / 0.9 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006396/2.211, allocations: 0.9493 MB / 0.9009 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001507/2.213, allocations: 202.1 kB / 0.9011 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005383/2.213, allocations: 235.3 kB / 0.9013 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.332e-06/2.213, allocations: 0 / 0.9013 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1072/2.32, allocations: 20.26 MB / 0.9211 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/2.321, allocations: 272 kB / 0.9213 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.325/5.645, allocations: 0 / 0.9213 GB, free: 104.6 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat