Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.951/1.951, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.452e-05/4.462e-05, allocations: 11.09 kB / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1045, allocations: 44.49 MB / 299.9 MB, free: 6.559 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.417/2.521, allocations: 0.725 GB / 1.018 GB, free: 105.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/2.522, allocations: 73.16 kB / 1.018 GB, free: 105.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2056/2.727, allocations: 39.89 MB / 1.057 GB, free: 83.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.475e-06/2.727, allocations: 0 / 1.057 GB, free: 83.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.802e-05/2.728, allocations: 4 kB / 1.057 GB, free: 83.29 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001447/2.729, allocations: 0.5092 MB / 1.057 GB, free: 82.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.25e-05/2.729, allocations: 12.03 kB / 1.057 GB, free: 82.74 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/2.729, allocations: 50.17 kB / 1.058 GB, free: 82.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00751/2.737, allocations: 367.7 kB / 1.058 GB, free: 82.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007744/2.738, allocations: 266 kB / 1.058 GB, free: 82.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/2.738, allocations: 12.06 kB / 1.058 GB, free: 82.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/2.738, allocations: 30.67 kB / 1.058 GB, free: 82.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/2.74, allocations: 461.4 kB / 1.059 GB, free: 81.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/2.74, allocations: 0 / 1.059 GB, free: 81.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/2.74, allocations: 10.94 kB / 1.059 GB, free: 81.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/2.74, allocations: 4 kB / 1.059 GB, free: 81.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/2.742, allocations: 485.2 kB / 1.059 GB, free: 81.43 MB / 410.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.004723/2.747, allocations: 0.9924 MB / 1.06 GB, free: 80.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/2.748, allocations: 265.9 kB / 1.06 GB, free: 80.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004632/2.748, allocations: 143.8 kB / 1.06 GB, free: 80.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002344/2.75, allocations: 0.6532 MB / 1.061 GB, free: 79.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/2.751, allocations: 49.61 kB / 1.061 GB, free: 79.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 5.24e-06/2.751, allocations: 0 / 1.061 GB, free: 79.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001348/2.752, allocations: 265.2 kB / 1.061 GB, free: 79.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/2.752, allocations: 89.05 kB / 1.061 GB, free: 79.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/2.752, allocations: 103.7 kB / 1.062 GB, free: 79.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.185e-05/2.752, allocations: 33.45 kB / 1.062 GB, free: 79.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/2.752, allocations: 186.8 kB / 1.062 GB, free: 78.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/2.752, allocations: 104.7 kB / 1.062 GB, free: 78.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/2.753, allocations: 3.438 kB / 1.062 GB, free: 78.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.412e-05/2.753, allocations: 329.9 kB / 1.062 GB, free: 78.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/2.753, allocations: 104.3 kB / 1.062 GB, free: 78.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/2.754, allocations: 189.5 kB / 1.062 GB, free: 78.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004871/2.754, allocations: 134.3 kB / 1.063 GB, free: 78.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/2.754, allocations: 7.938 kB / 1.063 GB, free: 78.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001362/2.756, allocations: 350.3 kB / 1.063 GB, free: 77.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/2.756, allocations: 4 kB / 1.063 GB, free: 77.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/2.756, allocations: 4.312 kB / 1.063 GB, free: 77.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.343e-05/2.756, allocations: 11.94 kB / 1.063 GB, free: 77.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/2.757, allocations: 71.89 kB / 1.063 GB, free: 77.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/2.757, allocations: 7.938 kB / 1.063 GB, free: 77.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006957/2.757, allocations: 39.14 kB / 1.063 GB, free: 77.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.833e-05/2.758, allocations: 19.98 kB / 1.063 GB, free: 77.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002183/2.758, allocations: 119.7 kB / 1.063 GB, free: 77.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/2.758, allocations: 11.91 kB / 1.063 GB, free: 77.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/2.76, allocations: 359.4 kB / 1.064 GB, free: 77.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/2.76, allocations: 4 kB / 1.064 GB, free: 77.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/2.76, allocations: 3.984 kB / 1.064 GB, free: 77.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/2.76, allocations: 4 kB / 1.064 GB, free: 77.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/2.761, allocations: 362.5 kB / 1.064 GB, free: 76.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/2.761, allocations: 0 / 1.064 GB, free: 76.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009871/2.762, allocations: 59.91 kB / 1.064 GB, free: 76.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/2.762, allocations: 4 kB / 1.064 GB, free: 76.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.868e-05/2.762, allocations: 15.23 kB / 1.064 GB, free: 76.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/2.762, allocations: 0 / 1.064 GB, free: 76.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/2.762, allocations: 4 kB / 1.064 GB, free: 76.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/2.764, allocations: 0.5362 MB / 1.065 GB, free: 76.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.351e-05/2.764, allocations: 100.9 kB / 1.065 GB, free: 76.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.812e-05/2.764, allocations: 7.609 kB / 1.065 GB, free: 76.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008755/2.765, allocations: 15.38 kB / 1.065 GB, free: 76.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.293e-05/2.765, allocations: 31.42 kB / 1.065 GB, free: 76.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.923e-05/2.765, allocations: 15.98 kB / 1.065 GB, free: 76.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.019e-05/2.765, allocations: 90.94 kB / 1.065 GB, free: 76.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.51e-07/2.765, allocations: 0 / 1.065 GB, free: 76.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002042/2.767, allocations: 259.8 kB / 1.065 GB, free: 75.94 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004776/2.772, allocations: 1.819 MB / 1.067 GB, free: 74.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/2.773, allocations: 272.5 kB / 1.067 GB, free: 74.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/2.773, allocations: 0 / 1.067 GB, free: 74.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004727/2.774, allocations: 140.2 kB / 1.067 GB, free: 73.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/2.775, allocations: 82.44 kB / 1.067 GB, free: 73.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/2.779, allocations: 0.7824 MB / 1.068 GB, free: 73.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/2.779, allocations: 0.7365 MB / 1.069 GB, free: 72.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004923/2.78, allocations: 72.14 kB / 1.069 GB, free: 72.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.713e-06/2.78, allocations: 0 / 1.069 GB, free: 72.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.905/5.684, allocations: 9.966 MB / 1.079 GB, free: 62.32 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat