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.991/1.991, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.642e-05/3.657e-05, allocations: 4 kB / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 44.5 MB / 299.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.373/2.482, allocations: 0.725 GB / 1.018 GB, free: 105.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/2.483, allocations: 70.02 kB / 1.018 GB, free: 105.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1469/2.63, allocations: 39.89 MB / 1.057 GB, free: 83.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/2.63, allocations: 0 / 1.057 GB, free: 83.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/2.63, allocations: 7.938 kB / 1.057 GB, free: 83.53 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.001084/2.631, allocations: 0.5083 MB / 1.057 GB, free: 82.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/2.631, allocations: 12.03 kB / 1.057 GB, free: 82.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.642e-05/2.631, allocations: 49.23 kB / 1.058 GB, free: 82.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005178/2.636, allocations: 371.7 kB / 1.058 GB, free: 82.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005685/2.637, allocations: 254.5 kB / 1.058 GB, free: 82.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/2.637, allocations: 11.94 kB / 1.058 GB, free: 82.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/2.637, allocations: 30.78 kB / 1.058 GB, free: 82.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/2.638, allocations: 460.8 kB / 1.059 GB, free: 82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/2.638, allocations: 0 / 1.059 GB, free: 82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-05/2.638, allocations: 14.75 kB / 1.059 GB, free: 81.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/2.638, allocations: 4 kB / 1.059 GB, free: 81.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/2.64, allocations: 483.3 kB / 1.059 GB, free: 81.68 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.003357/2.643, allocations: 0.9952 MB / 1.06 GB, free: 80.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006726/2.644, allocations: 259.9 kB / 1.06 GB, free: 80.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/2.644, allocations: 135.7 kB / 1.06 GB, free: 80.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001707/2.646, allocations: 0.6563 MB / 1.061 GB, free: 79.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/2.646, allocations: 38.44 kB / 1.061 GB, free: 79.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.467e-06/2.646, allocations: 0 / 1.061 GB, free: 79.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009203/2.647, allocations: 284.3 kB / 1.061 GB, free: 79.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/2.647, allocations: 85.06 kB / 1.061 GB, free: 79.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.311e-05/2.647, allocations: 104.3 kB / 1.062 GB, free: 79.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/2.647, allocations: 33.39 kB / 1.062 GB, free: 79.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/2.647, allocations: 182.4 kB / 1.062 GB, free: 79.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.506e-05/2.647, allocations: 101.3 kB / 1.062 GB, free: 79.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/2.647, allocations: 7 kB / 1.062 GB, free: 79.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.82e-05/2.647, allocations: 322.3 kB / 1.062 GB, free: 78.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/2.648, allocations: 110.1 kB / 1.062 GB, free: 78.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/2.648, allocations: 187.3 kB / 1.062 GB, free: 78.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/2.648, allocations: 133.7 kB / 1.063 GB, free: 78.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/2.648, allocations: 0 / 1.063 GB, free: 78.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008708/2.649, allocations: 347.2 kB / 1.063 GB, free: 78.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/2.649, allocations: 7.938 kB / 1.063 GB, free: 78.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/2.649, allocations: 4 kB / 1.063 GB, free: 78.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/2.649, allocations: 4 kB / 1.063 GB, free: 78.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007234/2.65, allocations: 75.83 kB / 1.063 GB, free: 78.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/2.65, allocations: 11.98 kB / 1.063 GB, free: 78.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004827/2.65, allocations: 43.19 kB / 1.063 GB, free: 77.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.06e-05/2.651, allocations: 19.98 kB / 1.063 GB, free: 77.96 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.0001515/2.651, allocations: 122.6 kB / 1.063 GB, free: 77.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/2.651, allocations: 11.91 kB / 1.063 GB, free: 77.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/2.652, allocations: 360.1 kB / 1.064 GB, free: 77.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/2.652, allocations: 4 kB / 1.064 GB, free: 77.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/2.652, allocations: 0 / 1.064 GB, free: 77.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/2.652, allocations: 7.984 kB / 1.064 GB, free: 77.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009111/2.653, allocations: 357.6 kB / 1.064 GB, free: 77.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/2.653, allocations: 0 / 1.064 GB, free: 77.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006994/2.654, allocations: 59.89 kB / 1.064 GB, free: 77.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/2.654, allocations: 4 kB / 1.064 GB, free: 77.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.339e-05/2.654, allocations: 19.42 kB / 1.064 GB, free: 77.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/2.654, allocations: 3.984 kB / 1.064 GB, free: 77.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/2.654, allocations: 0 / 1.064 GB, free: 77.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009954/2.655, allocations: 0.5378 MB / 1.065 GB, free: 76.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/2.655, allocations: 92.86 kB / 1.065 GB, free: 76.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.07e-05/2.655, allocations: 7.875 kB / 1.065 GB, free: 76.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005741/2.655, allocations: 19.8 kB / 1.065 GB, free: 76.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/2.656, allocations: 35.73 kB / 1.065 GB, free: 76.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.435e-05/2.656, allocations: 15.86 kB / 1.065 GB, free: 76.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.916e-05/2.656, allocations: 83.28 kB / 1.065 GB, free: 76.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.656, allocations: 0 / 1.065 GB, free: 76.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001409/2.657, allocations: 267.5 kB / 1.065 GB, free: 76.2 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.003169/2.66, allocations: 1.822 MB / 1.067 GB, free: 74.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000767/2.661, allocations: 274.7 kB / 1.067 GB, free: 74.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/2.661, allocations: 0.625 kB / 1.067 GB, free: 74.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003/2.661, allocations: 146.1 kB / 1.067 GB, free: 74.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009198/2.662, allocations: 78.62 kB / 1.067 GB, free: 74.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/2.664, allocations: 0.7741 MB / 1.068 GB, free: 73.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/2.665, allocations: 0.7326 MB / 1.069 GB, free: 72.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/2.665, allocations: 67.22 kB / 1.069 GB, free: 72.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/2.665, allocations: 4 kB / 1.069 GB, free: 72.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.803/5.468, allocations: 9.99 MB / 1.079 GB, free: 62.56 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