Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.419/2.419, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.259e-05/4.258e-05, allocations: 6.188 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4015, allocations: 54.85 MB / 359.9 MB, free: 3.207 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.254/1.655, allocations: 414.8 MB / 0.7566 GB, free: 129.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/1.655, allocations: 91.16 kB / 0.7566 GB, free: 129.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4293/2.085, allocations: 117.6 MB / 0.8714 GB, free: 28.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.775e-06/2.085, allocations: 0 / 0.8714 GB, free: 28.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.234e-05/2.085, allocations: 19.98 kB / 0.8715 GB, free: 28.27 MB / 490.7 MB 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.003893/2.089, allocations: 0.975 MB / 0.8724 GB, free: 27.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/2.089, allocations: 8.031 kB / 0.8724 GB, free: 27.24 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002741/2.089, allocations: 94.52 kB / 0.8725 GB, free: 27.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007695/2.09, allocations: 91.27 kB / 0.8726 GB, free: 27.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/2.092, allocations: 0.5404 MB / 0.8731 GB, free: 26.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/2.092, allocations: 100.4 kB / 0.8732 GB, free: 26.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/2.093, allocations: 59.83 kB / 0.8733 GB, free: 26.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/2.095, allocations: 0.7954 MB / 0.8741 GB, free: 25.42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.801e-05/2.095, allocations: 4 kB / 0.8741 GB, free: 25.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/2.095, allocations: 27.98 kB / 0.8741 GB, free: 25.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/2.095, allocations: 40.91 kB / 0.8741 GB, free: 25.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/2.098, allocations: 0.6031 MB / 0.8747 GB, free: 24.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009031/2.107, allocations: 3.9 MB / 0.8785 GB, free: 20.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/2.109, allocations: 383.4 kB / 0.8789 GB, free: 20.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000656/2.109, allocations: 201.4 kB / 0.8791 GB, free: 20.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007217/2.11, allocations: 0.4951 MB / 0.8796 GB, free: 19.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/2.11, allocations: 46.88 kB / 0.8796 GB, free: 19.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 4.548e-06/2.11, allocations: 0 / 0.8796 GB, free: 19.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.005643/2.116, allocations: 1.307 MB / 0.8809 GB, free: 18.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/2.116, allocations: 140.5 kB / 0.881 GB, free: 17.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/2.117, allocations: 492.8 kB / 0.8815 GB, free: 17.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001191/2.117, allocations: 33.7 kB / 0.8815 GB, free: 17.33 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003605/2.118, allocations: 363.4 kB / 0.8819 GB, free: 16.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/2.118, allocations: 161.7 kB / 0.882 GB, free: 16.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-05/2.118, allocations: 16 kB / 0.882 GB, free: 16.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001813/2.118, allocations: 378.8 kB / 0.8824 GB, free: 16.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007787/2.119, allocations: 209.5 kB / 0.8826 GB, free: 16.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/2.12, allocations: 0.5219 MB / 0.8831 GB, free: 15.53 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/2.121, allocations: 317.3 kB / 0.8834 GB, free: 15.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/2.121, allocations: 4 kB / 0.8834 GB, free: 15.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004029/2.125, allocations: 0.9219 MB / 0.8843 GB, free: 14.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/2.125, allocations: 10.97 kB / 0.8843 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/2.125, allocations: 12 kB / 0.8843 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002266/2.127, allocations: 261.9 kB / 0.8846 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/2.129, allocations: 131.8 kB / 0.8847 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001574/2.13, allocations: 0.8489 MB / 0.8855 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/2.132, allocations: 43.89 kB / 0.8856 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/2.132, allocations: 39.98 kB / 0.8856 GB, free: 12.93 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (77): * Single equations (assignments): 76 * 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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002962/2.132, allocations: 168.6 kB / 0.8858 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/2.132, allocations: 63.25 kB / 0.8858 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002737/2.135, allocations: 0.6725 MB / 0.8865 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/2.135, allocations: 4 kB / 0.8865 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/2.135, allocations: 0 / 0.8865 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/2.135, allocations: 7.938 kB / 0.8865 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004474/2.14, allocations: 1.352 MB / 0.8878 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/2.14, allocations: 7.984 kB / 0.8878 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002645/2.143, allocations: 199.9 kB / 0.888 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005176/2.143, allocations: 56.73 kB / 0.8881 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/2.143, allocations: 16.03 kB / 0.8881 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003423/2.147, allocations: 2.777 MB / 0.8908 GB, free: 7.234 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/2.147, allocations: 4.031 kB / 0.8908 GB, free: 7.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003094/2.15, allocations: 1.038 MB / 0.8918 GB, free: 6.105 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006989/2.151, allocations: 200.2 kB / 0.892 GB, free: 5.891 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002509/2.151, allocations: 15.98 kB / 0.892 GB, free: 5.875 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/2.152, allocations: 31.95 kB / 0.8921 GB, free: 5.844 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/2.152, allocations: 39.89 kB / 0.8921 GB, free: 5.805 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-05/2.152, allocations: 20.12 kB / 0.8921 GB, free: 5.785 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009574/2.153, allocations: 377.5 kB / 0.8925 GB, free: 5.418 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.91e-07/2.153, allocations: 0 / 0.8925 GB, free: 5.418 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00208/2.156, allocations: 215.9 kB / 0.8927 GB, free: 5.207 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.004274/2.16, allocations: 2.227 MB / 0.8949 GB, free: 2.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002313/2.162, allocations: 0.5718 MB / 0.8954 GB, free: 2.336 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/2.162, allocations: 0 / 0.8954 GB, free: 2.336 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001895/2.164, allocations: 455.2 kB / 0.8959 GB, free: 1.883 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/2.167, allocations: 306.2 kB / 0.8961 GB, free: 1.582 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003654/2.171, allocations: 1.173 MB / 0.8973 GB, free: 356 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3116/2.482, allocations: 0.9444 MB / 0.8982 GB, free: 118.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001341/2.484, allocations: 199.1 kB / 0.8984 GB, free: 118.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005016/2.484, allocations: 231.8 kB / 0.8986 GB, free: 118.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.563e-06/2.484, allocations: 0 / 0.8986 GB, free: 118.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06945/2.554, allocations: 19.73 MB / 0.9179 GB, free: 117.9 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/2.554, allocations: 253.2 kB / 0.9181 GB, free: 117.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.194/5.748, allocations: 0 / 0.9181 GB, free: 117.5 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat