Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.371/2.371, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.341e-05/4.352e-05, allocations: 8 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1504, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.71/10.87, allocations: 3.126 GB / 3.527 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/10.87, allocations: 93.28 kB / 3.527 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.161/16.03, allocations: 1.141 GB / 4.669 GB, free: 476 kB / 0.5261 GB Notification: Performance of FrontEnd: time 3.076e-06/16.03, allocations: 4 kB / 4.669 GB, free: 472 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.336e-05/16.03, allocations: 16 kB / 4.669 GB, free: 456 kB / 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.4415/16.47, allocations: 1.563 MB / 4.67 GB, free: 67.18 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/16.47, allocations: 14.5 kB / 4.67 GB, free: 67.18 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003583/16.47, allocations: 99.45 kB / 4.67 GB, free: 67.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006366/16.47, allocations: 92.05 kB / 4.67 GB, free: 67.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/16.47, allocations: 0.5322 MB / 4.671 GB, free: 66.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/16.47, allocations: 104.4 kB / 4.671 GB, free: 66.78 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/16.47, allocations: 48 kB / 4.671 GB, free: 66.78 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/16.47, allocations: 0.8009 MB / 4.672 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/16.47, allocations: 2.906 kB / 4.672 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/16.47, allocations: 25.53 kB / 4.672 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/16.47, allocations: 41.45 kB / 4.672 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/16.48, allocations: 0.606 MB / 4.673 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007919/16.48, allocations: 3.94 MB / 4.676 GB, free: 64.11 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/16.49, allocations: 380.7 kB / 4.677 GB, free: 64.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005315/16.49, allocations: 197.6 kB / 4.677 GB, free: 64.08 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005505/16.49, allocations: 0.4996 MB / 4.677 GB, free: 63.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/16.49, allocations: 46.55 kB / 4.677 GB, free: 63.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 3.988e-06/16.49, allocations: 0 / 4.677 GB, free: 63.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.005157/16.49, allocations: 1.332 MB / 4.679 GB, free: 63.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/16.49, allocations: 134.7 kB / 4.679 GB, free: 62.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/16.49, allocations: 0.4938 MB / 4.679 GB, free: 62.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001507/16.49, allocations: 33.45 kB / 4.679 GB, free: 62.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/16.49, allocations: 362.2 kB / 4.68 GB, free: 62.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/16.49, allocations: 159.8 kB / 4.68 GB, free: 62.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/16.49, allocations: 16.03 kB / 4.68 GB, free: 62.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001394/16.49, allocations: 374.2 kB / 4.68 GB, free: 62.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000598/16.5, allocations: 210.3 kB / 4.68 GB, free: 62.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007662/16.5, allocations: 0.4967 MB / 4.681 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007752/16.5, allocations: 309.5 kB / 4.681 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/16.5, allocations: 6.625 kB / 4.681 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003066/16.5, allocations: 0.8795 MB / 4.682 GB, free: 61.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/16.5, allocations: 12.3 kB / 4.682 GB, free: 61.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/16.5, allocations: 9.688 kB / 4.682 GB, free: 61.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/16.5, allocations: 260.9 kB / 4.682 GB, free: 61.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009486/16.5, allocations: 127.9 kB / 4.683 GB, free: 61.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/16.5, allocations: 0.8443 MB / 4.683 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/16.51, allocations: 52.58 kB / 4.683 GB, free: 61.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/16.51, allocations: 37.06 kB / 4.683 GB, free: 61.17 MB / 0.5261 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.0002633/16.51, allocations: 152.9 kB / 4.684 GB, free: 61.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/16.51, allocations: 68.3 kB / 4.684 GB, free: 61.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/16.51, allocations: 0.6957 MB / 4.684 GB, free: 60.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/16.51, allocations: 8.766 kB / 4.684 GB, free: 60.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/16.51, allocations: 0.75 kB / 4.684 GB, free: 60.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/16.51, allocations: 3.484 kB / 4.684 GB, free: 60.93 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003669/16.51, allocations: 1.368 MB / 4.686 GB, free: 60.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/16.51, allocations: 1.812 kB / 4.686 GB, free: 60.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002024/16.51, allocations: 193.3 kB / 4.686 GB, free: 60.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004187/16.51, allocations: 59.34 kB / 4.686 GB, free: 60.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/16.51, allocations: 14.36 kB / 4.686 GB, free: 60.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002667/16.52, allocations: 2.779 MB / 4.689 GB, free: 57.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/16.52, allocations: 2.219 kB / 4.689 GB, free: 57.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/16.52, allocations: 1.047 MB / 4.69 GB, free: 57.62 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000635/16.52, allocations: 207.7 kB / 4.69 GB, free: 57.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/16.52, allocations: 12.16 kB / 4.69 GB, free: 57.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008306/16.52, allocations: 34.36 kB / 4.69 GB, free: 57.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/16.52, allocations: 32.66 kB / 4.69 GB, free: 57.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.142e-05/16.52, allocations: 23.8 kB / 4.69 GB, free: 57.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007754/16.52, allocations: 391.1 kB / 4.69 GB, free: 57.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.71e-07/16.52, allocations: 0 / 4.69 GB, free: 57.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001705/16.52, allocations: 245.7 kB / 4.691 GB, free: 57.39 MB / 0.5261 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.003755/16.53, allocations: 2.371 MB / 4.693 GB, free: 56.01 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002009/16.53, allocations: 0.5631 MB / 4.693 GB, free: 56 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/16.53, allocations: 2.312 kB / 4.693 GB, free: 56 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001996/16.53, allocations: 456.1 kB / 4.694 GB, free: 55.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/16.54, allocations: 327.4 kB / 4.694 GB, free: 55.89 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004228/16.54, allocations: 1.171 MB / 4.695 GB, free: 55.55 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006382/16.54, allocations: 0.949 MB / 4.696 GB, free: 54.86 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001487/16.54, allocations: 203.2 kB / 4.696 GB, free: 54.84 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005767/16.54, allocations: 241.8 kB / 4.697 GB, free: 54.84 MB / 0.5261 GB Notification: Performance of SimCode: time 1.322e-06/16.54, allocations: 0 / 4.697 GB, free: 54.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1091/16.65, allocations: 23.35 MB / 4.719 GB, free: 54.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/16.65, allocations: 260 kB / 4.72 GB, free: 53.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.674/20.33, allocations: 0 / 4.72 GB, free: 53.9 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat