Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.478/2.478, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.145e-05/4.164e-05, allocations: 4 kB / 323.5 MB, free: 4.211 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4216, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.662/10.08, allocations: 3.12 GB / 3.493 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/10.08, allocations: 90.56 kB / 3.493 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.472/15.56, allocations: 1.137 GB / 4.631 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.705e-06/15.56, allocations: 0 / 4.631 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001079/15.56, allocations: 18.58 kB / 4.631 GB, free: 76.86 MB / 0.5105 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.009864/15.57, allocations: 1.583 MB / 4.632 GB, free: 75.42 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.297e-05/15.57, allocations: 11.97 kB / 4.632 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003649/15.57, allocations: 100.4 kB / 4.632 GB, free: 75.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008466/15.57, allocations: 87 kB / 4.632 GB, free: 75.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002208/15.57, allocations: 0.5281 MB / 4.633 GB, free: 74.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/15.57, allocations: 103.3 kB / 4.633 GB, free: 74.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/15.57, allocations: 48 kB / 4.633 GB, free: 74.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002551/15.57, allocations: 0.8037 MB / 4.634 GB, free: 73.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/15.57, allocations: 10.75 kB / 4.634 GB, free: 73.81 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/15.57, allocations: 25.31 kB / 4.634 GB, free: 73.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/15.57, allocations: 36.38 kB / 4.634 GB, free: 73.76 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/15.58, allocations: 0.604 MB / 4.634 GB, free: 73.22 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009412/15.58, allocations: 3.936 MB / 4.638 GB, free: 69.51 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/15.59, allocations: 380.2 kB / 4.639 GB, free: 69.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/15.59, allocations: 204.7 kB / 4.639 GB, free: 68.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005106/15.59, allocations: 0.5002 MB / 4.639 GB, free: 68.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/15.59, allocations: 38.89 kB / 4.639 GB, free: 68.33 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 3.606e-06/15.59, allocations: 0 / 4.639 GB, free: 68.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.004039/15.59, allocations: 1.333 MB / 4.641 GB, free: 67.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/15.59, allocations: 148.5 kB / 4.641 GB, free: 66.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008364/15.59, allocations: 0.489 MB / 4.641 GB, free: 66.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.593e-05/15.59, allocations: 33.7 kB / 4.641 GB, free: 66.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/15.59, allocations: 357.4 kB / 4.642 GB, free: 66.08 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/15.59, allocations: 160.3 kB / 4.642 GB, free: 65.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/15.59, allocations: 19.94 kB / 4.642 GB, free: 65.92 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001204/15.59, allocations: 371.4 kB / 4.642 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005193/15.59, allocations: 212.2 kB / 4.642 GB, free: 65.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007325/15.59, allocations: 0.5028 MB / 4.643 GB, free: 64.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006698/15.59, allocations: 309.2 kB / 4.643 GB, free: 64.51 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/15.59, allocations: 0 / 4.643 GB, free: 64.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00248/15.6, allocations: 0.8799 MB / 4.644 GB, free: 63.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/15.6, allocations: 16.84 kB / 4.644 GB, free: 63.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/15.6, allocations: 8 kB / 4.644 GB, free: 63.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/15.6, allocations: 255.1 kB / 4.644 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000797/15.6, allocations: 125.4 kB / 4.644 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/15.6, allocations: 0.8616 MB / 4.645 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/15.6, allocations: 43.94 kB / 4.645 GB, free: 62.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-05/15.6, allocations: 39.33 kB / 4.645 GB, free: 62.48 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (73): * Single equations (assignments): 72 * 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.0002148/15.6, allocations: 148.7 kB / 4.645 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/15.6, allocations: 70.97 kB / 4.646 GB, free: 62.26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/15.6, allocations: 0.6944 MB / 4.646 GB, free: 61.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/15.6, allocations: 8 kB / 4.646 GB, free: 61.65 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/15.6, allocations: 3.797 kB / 4.646 GB, free: 61.65 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.078e-06/15.6, allocations: 2.625 kB / 4.646 GB, free: 61.65 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003061/15.61, allocations: 1.371 MB / 4.648 GB, free: 60.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/15.61, allocations: 0 / 4.648 GB, free: 60.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001849/15.61, allocations: 192.7 kB / 4.648 GB, free: 60.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003984/15.61, allocations: 59.17 kB / 4.648 GB, free: 60.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.11e-05/15.61, allocations: 19.7 kB / 4.648 GB, free: 60.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002438/15.61, allocations: 2.773 MB / 4.651 GB, free: 57.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/15.61, allocations: 4.031 kB / 4.651 GB, free: 57.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/15.61, allocations: 1.042 MB / 4.652 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005092/15.62, allocations: 202.8 kB / 4.652 GB, free: 56.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/15.62, allocations: 12 kB / 4.652 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007717/15.62, allocations: 27.88 kB / 4.652 GB, free: 56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/15.62, allocations: 54.78 kB / 4.652 GB, free: 55.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.75e-05/15.62, allocations: 15.66 kB / 4.652 GB, free: 55.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007041/15.62, allocations: 389.7 kB / 4.652 GB, free: 55.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/15.62, allocations: 0 / 4.652 GB, free: 55.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001611/15.62, allocations: 239.3 kB / 4.652 GB, free: 55.38 MB / 0.5105 GB 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.003297/15.62, allocations: 2.357 MB / 4.655 GB, free: 53.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001708/15.62, allocations: 0.5701 MB / 4.655 GB, free: 52.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/15.62, allocations: 0 / 4.655 GB, free: 52.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001781/15.63, allocations: 453.9 kB / 4.656 GB, free: 52.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002786/15.63, allocations: 330.8 kB / 4.656 GB, free: 51.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/15.63, allocations: 1.179 MB / 4.657 GB, free: 50.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/15.63, allocations: 0.9467 MB / 4.658 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001309/15.63, allocations: 205.1 kB / 4.658 GB, free: 49.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005182/15.63, allocations: 234.2 kB / 4.659 GB, free: 49.67 MB / 0.5105 GB Notification: Performance of SimCode: time 1.843e-06/15.63, allocations: 4 kB / 4.659 GB, free: 49.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08373/15.72, allocations: 23.32 MB / 4.681 GB, free: 30.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002828/15.72, allocations: 263.9 kB / 4.682 GB, free: 29.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.38/19.1, allocations: 0 / 4.682 GB, free: 29.95 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat