Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.478/2.478, allocations: 235 MB / 247.6 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.398e-05/5.404e-05, allocations: 4 kB / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.4431, allocations: 54.85 MB / 359.9 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.68/11.12, allocations: 3.667 GB / 4.019 GB, free: 63.23 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/11.13, allocations: 90.88 kB / 4.019 GB, free: 63.18 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.291/13.42, allocations: 431.8 MB / 4.441 GB, free: 20.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.714e-06/13.42, allocations: 0 / 4.441 GB, free: 20.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.981e-05/13.42, allocations: 20 kB / 4.441 GB, free: 20.73 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.01172/13.43, allocations: 2.349 MB / 4.443 GB, free: 18.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/13.43, allocations: 8.031 kB / 4.443 GB, free: 18.32 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003016/13.43, allocations: 126.5 kB / 4.443 GB, free: 18.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008256/13.43, allocations: 110.9 kB / 4.443 GB, free: 18.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/13.43, allocations: 0.6309 MB / 4.444 GB, free: 17.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/13.43, allocations: 121.4 kB / 4.444 GB, free: 17.28 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002606/13.43, allocations: 71.89 kB / 4.444 GB, free: 17.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003506/13.44, allocations: 1.12 MB / 4.445 GB, free: 16.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.547e-05/13.44, allocations: 11.88 kB / 4.445 GB, free: 16.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002299/13.44, allocations: 31.98 kB / 4.445 GB, free: 15.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001381/13.44, allocations: 49.98 kB / 4.445 GB, free: 15.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00367/13.44, allocations: 1.113 MB / 4.446 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01166/13.45, allocations: 4.652 MB / 4.451 GB, free: 9.906 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003144/13.46, allocations: 0.7344 MB / 4.451 GB, free: 9.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/13.46, allocations: 386.4 kB / 4.452 GB, free: 8.781 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001816/13.46, allocations: 1.576 MB / 4.453 GB, free: 6.875 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/13.46, allocations: 43.12 kB / 4.453 GB, free: 6.824 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 4.709e-06/13.46, allocations: 0 / 4.453 GB, free: 6.824 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.02132/13.48, allocations: 3.549 MB / 4.457 GB, free: 3.211 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/13.48, allocations: 111.6 kB / 4.457 GB, free: 3.078 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008714/13.48, allocations: 0.5423 MB / 4.458 GB, free: 2.527 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/13.48, allocations: 41.7 kB / 4.458 GB, free: 2.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/13.48, allocations: 445.5 kB / 4.458 GB, free: 2.039 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/13.48, allocations: 283.9 kB / 4.458 GB, free: 1.758 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.706e-05/13.48, allocations: 20 kB / 4.458 GB, free: 1.738 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.585e-05/13.48, allocations: 350.8 kB / 4.459 GB, free: 1.387 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009931/13.48, allocations: 430.5 kB / 4.459 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/13.48, allocations: 0.7215 MB / 4.46 GB, free: 104 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3738/13.86, allocations: 0.5352 MB / 4.46 GB, free: 51.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.43e-05/13.86, allocations: 3.844 kB / 4.46 GB, free: 51.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.004122/13.86, allocations: 1.463 MB / 4.462 GB, free: 51.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/13.86, allocations: 10.14 kB / 4.462 GB, free: 51.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/13.86, allocations: 17.31 kB / 4.462 GB, free: 51.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01285/13.87, allocations: 1.325 MB / 4.463 GB, free: 51.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/13.88, allocations: 171.1 kB / 4.463 GB, free: 51.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002838/13.88, allocations: 1.369 MB / 4.465 GB, free: 50.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/13.88, allocations: 98.28 kB / 4.465 GB, free: 50.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/13.88, allocations: 66.83 kB / 4.465 GB, free: 50.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (95): * Single equations (assignments): 94 * 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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.0003572/13.88, allocations: 169.2 kB / 4.465 GB, free: 50.67 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/13.88, allocations: 83.36 kB / 4.465 GB, free: 50.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004305/13.89, allocations: 1.467 MB / 4.466 GB, free: 50.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/13.89, allocations: 9.234 kB / 4.466 GB, free: 50.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/13.89, allocations: 0 / 4.466 GB, free: 50.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/13.89, allocations: 5.984 kB / 4.466 GB, free: 50.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005884/13.89, allocations: 2.315 MB / 4.469 GB, free: 50.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/13.89, allocations: 1.562 kB / 4.469 GB, free: 50.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002572/13.89, allocations: 262.4 kB / 4.469 GB, free: 50.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002399/13.9, allocations: 305.4 kB / 4.469 GB, free: 50.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001925/13.9, allocations: 34.55 kB / 4.469 GB, free: 50.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/13.9, allocations: 2.162 MB / 4.471 GB, free: 48.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/13.9, allocations: 2.031 kB / 4.471 GB, free: 48.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004527/13.9, allocations: 1.824 MB / 4.473 GB, free: 48.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008651/13.91, allocations: 278.9 kB / 4.473 GB, free: 47.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/13.91, allocations: 26.66 kB / 4.473 GB, free: 47.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/13.91, allocations: 75.66 kB / 4.473 GB, free: 47.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/13.91, allocations: 58.97 kB / 4.474 GB, free: 47.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/13.91, allocations: 50.58 kB / 4.474 GB, free: 47.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009029/13.91, allocations: 451.9 kB / 4.474 GB, free: 47.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.9e-07/13.91, allocations: 0.9375 kB / 4.474 GB, free: 47.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004224/13.91, allocations: 0.8223 MB / 4.475 GB, free: 47.81 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 77 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01048/13.92, allocations: 4.282 MB / 4.479 GB, free: 46.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003576/13.93, allocations: 1.089 MB / 4.48 GB, free: 46.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/13.93, allocations: 4.219 kB / 4.48 GB, free: 46.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002493/13.93, allocations: 0.6089 MB / 4.481 GB, free: 46.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003893/13.93, allocations: 432 kB / 4.481 GB, free: 46.46 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009261/13.94, allocations: 2.202 MB / 4.483 GB, free: 46.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000712/13.94, allocations: 1.063 MB / 4.484 GB, free: 45.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009933/13.94, allocations: 345.3 kB / 4.485 GB, free: 45.41 MB / 490.7 MB Notification: Performance of SimCode: time 1.192e-06/13.94, allocations: 1.312 kB / 4.485 GB, free: 45.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.553/17.5, allocations: 35.03 MB / 4.519 GB, free: 43.82 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat