Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.369/2.369, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.932e-05/3.94e-05, allocations: 4 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.4338, allocations: 54.86 MB / 359.9 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.833/2.266, allocations: 0.6367 GB / 0.9881 GB, free: 93.24 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/2.267, allocations: 92.5 kB / 0.9882 GB, free: 93.19 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.148/3.415, allocations: 229.5 MB / 1.212 GB, free: 67.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.703e-06/3.415, allocations: 0 / 1.212 GB, free: 67.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.292e-05/3.415, allocations: 24.12 kB / 1.212 GB, free: 67.23 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.003749/3.419, allocations: 1.162 MB / 1.213 GB, free: 66.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/3.419, allocations: 8.031 kB / 1.213 GB, free: 66.02 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001859/3.419, allocations: 98.5 kB / 1.214 GB, free: 65.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/3.42, allocations: 135 kB / 1.214 GB, free: 65.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/3.422, allocations: 0.5366 MB / 1.214 GB, free: 65.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/3.422, allocations: 108.4 kB / 1.214 GB, free: 65.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/3.422, allocations: 51.84 kB / 1.214 GB, free: 65.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/3.424, allocations: 0.7934 MB / 1.215 GB, free: 64.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.065e-05/3.424, allocations: 3.953 kB / 1.215 GB, free: 64.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/3.424, allocations: 24 kB / 1.215 GB, free: 64.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.033e-05/3.424, allocations: 40.92 kB / 1.215 GB, free: 64.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/3.426, allocations: 0.5836 MB / 1.216 GB, free: 63.5 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006055/3.432, allocations: 3.906 MB / 1.22 GB, free: 59.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000746/3.432, allocations: 319.1 kB / 1.22 GB, free: 59.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/3.433, allocations: 163.1 kB / 1.22 GB, free: 58.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/3.433, allocations: 33.2 kB / 1.22 GB, free: 58.83 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/3.433, allocations: 38.84 kB / 1.22 GB, free: 58.78 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.657e-06/3.433, allocations: 3.984 kB / 1.22 GB, free: 58.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.008446/3.441, allocations: 1.509 MB / 1.222 GB, free: 57.19 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/3.442, allocations: 132.5 kB / 1.222 GB, free: 57.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009231/3.442, allocations: 0.5188 MB / 1.222 GB, free: 56.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.176e-05/3.443, allocations: 33.7 kB / 1.222 GB, free: 56.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/3.443, allocations: 405.2 kB / 1.223 GB, free: 56.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/3.443, allocations: 153.9 kB / 1.223 GB, free: 55.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/3.443, allocations: 8 kB / 1.223 GB, free: 55.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.351e-05/3.443, allocations: 338.8 kB / 1.223 GB, free: 55.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/3.444, allocations: 197.5 kB / 1.223 GB, free: 55.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000643/3.444, allocations: 0.5122 MB / 1.224 GB, free: 54.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006459/3.445, allocations: 303.9 kB / 1.224 GB, free: 54.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/3.445, allocations: 4 kB / 1.224 GB, free: 54.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001952/3.447, allocations: 0.7986 MB / 1.225 GB, free: 53.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/3.447, allocations: 9.562 kB / 1.225 GB, free: 53.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/3.447, allocations: 12 kB / 1.225 GB, free: 53.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/3.449, allocations: 297.1 kB / 1.225 GB, free: 53.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008259/3.45, allocations: 135.8 kB / 1.225 GB, free: 53.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/3.451, allocations: 0.8943 MB / 1.226 GB, free: 52.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/3.452, allocations: 51.95 kB / 1.226 GB, free: 52.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/3.453, allocations: 75.92 kB / 1.226 GB, free: 52.11 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 (72): * Single equations (assignments): 71 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002365/3.453, allocations: 152.7 kB / 1.226 GB, free: 51.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/3.453, allocations: 67.2 kB / 1.227 GB, free: 51.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/3.455, allocations: 0.6586 MB / 1.227 GB, free: 51.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/3.455, allocations: 4 kB / 1.227 GB, free: 51.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/3.455, allocations: 0 / 1.227 GB, free: 51.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/3.455, allocations: 3.984 kB / 1.227 GB, free: 51.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/3.458, allocations: 1.246 MB / 1.228 GB, free: 49.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/3.458, allocations: 0 / 1.228 GB, free: 49.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001953/3.46, allocations: 219.7 kB / 1.229 GB, free: 49.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/3.46, allocations: 32.89 kB / 1.229 GB, free: 49.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/3.46, allocations: 16 kB / 1.229 GB, free: 49.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/3.462, allocations: 2.669 MB / 1.231 GB, free: 46.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/3.462, allocations: 4.031 kB / 1.231 GB, free: 46.65 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/3.464, allocations: 0.835 MB / 1.232 GB, free: 45.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003859/3.464, allocations: 188.2 kB / 1.232 GB, free: 45.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/3.465, allocations: 8 kB / 1.232 GB, free: 45.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000734/3.465, allocations: 31.98 kB / 1.232 GB, free: 45.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/3.465, allocations: 35.95 kB / 1.232 GB, free: 45.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.83e-05/3.466, allocations: 39.98 kB / 1.232 GB, free: 45.44 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007507/3.466, allocations: 411.2 kB / 1.233 GB, free: 45.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.51e-07/3.466, allocations: 0 / 1.233 GB, free: 45.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00196/3.468, allocations: 379.8 kB / 1.233 GB, free: 44.67 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (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): 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.004295/3.473, allocations: 2.704 MB / 1.236 GB, free: 41.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001768/3.474, allocations: 0.5079 MB / 1.236 GB, free: 41.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/3.474, allocations: 0.75 kB / 1.236 GB, free: 41.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/3.476, allocations: 385.8 kB / 1.237 GB, free: 41.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/3.478, allocations: 313.5 kB / 1.237 GB, free: 40.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/3.49, allocations: 2.649 MB / 1.24 GB, free: 38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/3.49, allocations: 0.9455 MB / 1.24 GB, free: 37.03 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008451/3.491, allocations: 279.3 kB / 1.241 GB, free: 36.76 MB / 490.7 MB Notification: Performance of SimCode: time 1.113e-06/3.491, allocations: 0 / 1.241 GB, free: 36.76 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.281/6.772, allocations: 23.6 MB / 1.264 GB, free: 13.16 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat