Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.119/2.119, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.594e-05/3.597e-05, allocations: 0 / 255.5 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1029, allocations: 44.51 MB / 300 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.815/8.918, allocations: 2.901 GB / 3.194 GB, free: 95.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/8.918, allocations: 87.12 kB / 3.194 GB, free: 95.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.425/13.34, allocations: 0.98 GB / 4.174 GB, free: 53.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.714e-06/13.34, allocations: 0 / 4.174 GB, free: 53.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.581e-05/13.34, allocations: 10.28 kB / 4.174 GB, free: 53.69 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.005142/13.35, allocations: 1.201 MB / 4.175 GB, free: 53.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/13.35, allocations: 11.19 kB / 4.175 GB, free: 53.04 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.315e-05/13.35, allocations: 57.62 kB / 4.175 GB, free: 53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003736/13.35, allocations: 46.03 kB / 4.176 GB, free: 52.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/13.35, allocations: 270.3 kB / 4.176 GB, free: 52.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/13.35, allocations: 18.81 kB / 4.176 GB, free: 52.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-05/13.35, allocations: 25.17 kB / 4.176 GB, free: 52.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006373/13.35, allocations: 291.7 kB / 4.176 GB, free: 52.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/13.35, allocations: 7.344 kB / 4.176 GB, free: 52.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.038e-05/13.35, allocations: 11.39 kB / 4.176 GB, free: 52.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/13.35, allocations: 10.8 kB / 4.176 GB, free: 52.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/13.35, allocations: 189.2 kB / 4.176 GB, free: 52.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00267/13.35, allocations: 1.43 MB / 4.178 GB, free: 51.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006428/13.35, allocations: 172.6 kB / 4.178 GB, free: 51.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/13.35, allocations: 85.05 kB / 4.178 GB, free: 51.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.044e-05/13.36, allocations: 7.344 kB / 4.178 GB, free: 51.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/13.36, allocations: 33.44 kB / 4.178 GB, free: 51.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.346e-06/13.36, allocations: 0 / 4.178 GB, free: 51.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.003426/13.36, allocations: 0.8688 MB / 4.179 GB, free: 51.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/13.36, allocations: 51.41 kB / 4.179 GB, free: 51.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/13.36, allocations: 229 kB / 4.179 GB, free: 51.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/13.36, allocations: 29.64 kB / 4.179 GB, free: 51.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.839e-05/13.36, allocations: 236.2 kB / 4.179 GB, free: 50.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/13.36, allocations: 92.08 kB / 4.179 GB, free: 50.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/13.36, allocations: 7.688 kB / 4.179 GB, free: 50.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.982e-05/13.36, allocations: 331.4 kB / 4.18 GB, free: 50.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/13.36, allocations: 79.19 kB / 4.18 GB, free: 50.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/13.36, allocations: 167.5 kB / 4.18 GB, free: 50.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004145/13.36, allocations: 110.9 kB / 4.18 GB, free: 50.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/13.36, allocations: 3 kB / 4.18 GB, free: 50.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009808/13.36, allocations: 359.4 kB / 4.18 GB, free: 50.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/13.36, allocations: 8.656 kB / 4.18 GB, free: 50.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/13.36, allocations: 3.969 kB / 4.18 GB, free: 50.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003579/13.36, allocations: 64.34 kB / 4.181 GB, free: 50.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/13.36, allocations: 70.2 kB / 4.181 GB, free: 50.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/13.36, allocations: 2.661 MB / 4.183 GB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007037/13.37, allocations: 15.53 kB / 4.183 GB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/13.37, allocations: 23.5 kB / 4.183 GB, free: 47.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001523/13.37, allocations: 129.2 kB / 4.183 GB, free: 47.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.214e-05/13.37, allocations: 27.12 kB / 4.183 GB, free: 47.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/13.37, allocations: 38.34 kB / 4.183 GB, free: 47.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/13.37, allocations: 0 / 4.183 GB, free: 47.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/13.37, allocations: 3.625 kB / 4.183 GB, free: 47.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007983/13.37, allocations: 0.5675 MB / 4.184 GB, free: 47.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/13.37, allocations: 0.6821 MB / 4.185 GB, free: 46.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/13.37, allocations: 3.562 kB / 4.185 GB, free: 46.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/13.37, allocations: 48.34 kB / 4.185 GB, free: 46.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003757/13.37, allocations: 54.39 kB / 4.185 GB, free: 46.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/13.37, allocations: 11.5 kB / 4.185 GB, free: 46.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/13.37, allocations: 1.379 MB / 4.186 GB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/13.37, allocations: 0 / 4.186 GB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/13.37, allocations: 476.3 kB / 4.187 GB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/13.37, allocations: 100.1 kB / 4.187 GB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.082e-05/13.37, allocations: 7.25 kB / 4.187 GB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/13.37, allocations: 21.36 kB / 4.187 GB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/13.37, allocations: 18.39 kB / 4.187 GB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/13.37, allocations: 7.375 kB / 4.187 GB, free: 45.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002476/13.37, allocations: 182.7 kB / 4.187 GB, free: 45.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/13.37, allocations: 0 / 4.187 GB, free: 45.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000883/13.37, allocations: 119 kB / 4.187 GB, free: 45.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002226/13.38, allocations: 1.271 MB / 4.188 GB, free: 44.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001116/13.38, allocations: 458.3 kB / 4.189 GB, free: 44.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/13.38, allocations: 0 / 4.189 GB, free: 44.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005296/13.38, allocations: 218.6 kB / 4.189 GB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/13.38, allocations: 163.6 kB / 4.189 GB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/13.38, allocations: 0.5868 MB / 4.19 GB, free: 43.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/13.38, allocations: 0.7673 MB / 4.19 GB, free: 43.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/13.38, allocations: 88.19 kB / 4.19 GB, free: 43.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.734e-06/13.38, allocations: 0 / 4.19 GB, free: 43.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.815/16.2, allocations: 8.451 MB / 4.199 GB, free: 42.58 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat