Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.448/2.448, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.202e-05/4.218e-05, allocations: 4 kB / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.42, allocations: 54.85 MB / 359.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.266/1.686, allocations: 424.5 MB / 0.766 GB, free: 124.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003374/1.687, allocations: 92.16 kB / 0.7661 GB, free: 124.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4408/2.128, allocations: 132.1 MB / 0.8951 GB, free: 2.398 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.314e-06/2.128, allocations: 0 / 0.8951 GB, free: 2.398 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.726e-05/2.128, allocations: 12 kB / 0.8951 GB, free: 2.387 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.002786/2.13, allocations: 0.9029 MB / 0.896 GB, free: 1.441 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/2.131, allocations: 8.25 kB / 0.896 GB, free: 1.434 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00027/2.131, allocations: 102.4 kB / 0.8961 GB, free: 1.324 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005477/2.131, allocations: 98.98 kB / 0.8962 GB, free: 1.227 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/2.133, allocations: 0.5405 MB / 0.8967 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/2.133, allocations: 104.4 kB / 0.8968 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/2.133, allocations: 44 kB / 0.8969 GB, free: 500 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3376/2.471, allocations: 0.7849 MB / 0.8976 GB, free: 112.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/2.471, allocations: 6.312 kB / 0.8976 GB, free: 112.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/2.471, allocations: 25.02 kB / 0.8977 GB, free: 112.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/2.471, allocations: 38.64 kB / 0.8977 GB, free: 112.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/2.473, allocations: 0.6062 MB / 0.8983 GB, free: 112.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006842/2.48, allocations: 3.641 MB / 0.9019 GB, free: 110.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/2.481, allocations: 384.1 kB / 0.9022 GB, free: 110.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/2.482, allocations: 198.5 kB / 0.9024 GB, free: 110.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003024/2.485, allocations: 1.643 MB / 0.904 GB, free: 109.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/2.485, allocations: 37.66 kB / 0.9041 GB, free: 109.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 4.899e-06/2.485, allocations: 4.609 kB / 0.9041 GB, free: 109.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.004382/2.489, allocations: 1.283 MB / 0.9053 GB, free: 108.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/2.489, allocations: 134.3 kB / 0.9054 GB, free: 108.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009691/2.49, allocations: 0.4895 MB / 0.9059 GB, free: 108.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/2.491, allocations: 36.77 kB / 0.9059 GB, free: 108.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/2.491, allocations: 405.7 kB / 0.9063 GB, free: 108.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/2.491, allocations: 155.2 kB / 0.9065 GB, free: 108.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/2.491, allocations: 13.97 kB / 0.9065 GB, free: 108.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.082e-05/2.491, allocations: 342.5 kB / 0.9068 GB, free: 107.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005487/2.492, allocations: 205.2 kB / 0.907 GB, free: 107.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007229/2.492, allocations: 0.5226 MB / 0.9075 GB, free: 107.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007331/2.493, allocations: 305.2 kB / 0.9078 GB, free: 107.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/2.493, allocations: 2.906 kB / 0.9078 GB, free: 107.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002371/2.496, allocations: 0.8133 MB / 0.9086 GB, free: 107.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/2.496, allocations: 14.58 kB / 0.9086 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/2.496, allocations: 9.781 kB / 0.9086 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002146/2.498, allocations: 253.5 kB / 0.9089 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009009/2.499, allocations: 137.2 kB / 0.909 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/2.5, allocations: 0.8415 MB / 0.9098 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/2.501, allocations: 45.95 kB / 0.9099 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-05/2.501, allocations: 40.34 kB / 0.9099 GB, free: 106.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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.0002431/2.502, allocations: 163.3 kB / 0.9101 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/2.502, allocations: 65.05 kB / 0.9101 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/2.504, allocations: 0.7043 MB / 0.9108 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/2.504, allocations: 12.11 kB / 0.9108 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/2.504, allocations: 1.75 kB / 0.9108 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/2.504, allocations: 2.484 kB / 0.9108 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/2.507, allocations: 1.329 MB / 0.9121 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/2.507, allocations: 2.719 kB / 0.9121 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002069/2.509, allocations: 200.1 kB / 0.9123 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001408/2.509, allocations: 27.44 kB / 0.9124 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.74e-05/2.509, allocations: 11.2 kB / 0.9124 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/2.512, allocations: 2.669 MB / 0.915 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/2.512, allocations: 4.766 kB / 0.915 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/2.514, allocations: 1.002 MB / 0.916 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005146/2.514, allocations: 196.6 kB / 0.9161 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/2.514, allocations: 16.12 kB / 0.9162 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008132/2.515, allocations: 27.53 kB / 0.9162 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/2.515, allocations: 35.2 kB / 0.9162 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.16e-05/2.516, allocations: 21.86 kB / 0.9162 GB, free: 102.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007784/2.516, allocations: 398.3 kB / 0.9166 GB, free: 102.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.91e-07/2.516, allocations: 0 / 0.9166 GB, free: 102.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001576/2.518, allocations: 233.5 kB / 0.9168 GB, free: 102.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (44): * Single equations (assignments): 40 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003212/2.521, allocations: 2.212 MB / 0.919 GB, free: 101.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002006/2.523, allocations: 0.549 MB / 0.9195 GB, free: 101.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/2.523, allocations: 0.8438 kB / 0.9195 GB, free: 101.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001546/2.525, allocations: 405.3 kB / 0.9199 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/2.528, allocations: 293.4 kB / 0.9202 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/2.531, allocations: 1.189 MB / 0.9214 GB, free: 101 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006132/2.532, allocations: 0.95 MB / 0.9223 GB, free: 100.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005673/2.533, allocations: 238.5 kB / 0.9225 GB, free: 100.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.313e-06/2.533, allocations: 0 / 0.9225 GB, free: 100.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.374/5.906, allocations: 18.28 MB / 0.9404 GB, free: 99.68 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.SimpleAir_res.mat does not exist to compare? outputFormat=mat