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.995/1.995, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.382e-05/2.384e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3106, allocations: 44.49 MB / 294.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.987/2.297, allocations: 0.7244 GB / 1.012 GB, free: 32.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/2.298, allocations: 72.16 kB / 1.012 GB, free: 31.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4214/2.719, allocations: 39.16 MB / 1.05 GB, free: 140 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.624e-06/2.719, allocations: 0 / 1.05 GB, free: 140 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/2.719, allocations: 5.344 kB / 1.05 GB, free: 140 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.001025/2.72, allocations: 0.5078 MB / 1.05 GB, free: 139.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/2.72, allocations: 14.16 kB / 1.051 GB, free: 139.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004977/2.725, allocations: 364.9 kB / 1.051 GB, free: 139.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/2.726, allocations: 256.4 kB / 1.051 GB, free: 139.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/2.726, allocations: 11.91 kB / 1.051 GB, free: 139.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/2.726, allocations: 10.66 kB / 1.051 GB, free: 139.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001285/2.727, allocations: 474.5 kB / 1.052 GB, free: 139.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007072/2.728, allocations: 310.9 kB / 1.052 GB, free: 139.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/2.728, allocations: 2.625 kB / 1.052 GB, free: 139.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.954e-05/2.728, allocations: 9.609 kB / 1.052 GB, free: 139.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/2.728, allocations: 5.016 kB / 1.052 GB, free: 139.3 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.003108/2.731, allocations: 0.9483 MB / 1.053 GB, free: 138.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006191/2.732, allocations: 265.8 kB / 1.053 GB, free: 138.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/2.732, allocations: 125.9 kB / 1.053 GB, free: 138.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001708/2.734, allocations: 0.6569 MB / 1.054 GB, free: 138.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/2.734, allocations: 42.62 kB / 1.054 GB, free: 138.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.727e-06/2.734, allocations: 1.188 kB / 1.054 GB, free: 138.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009333/2.735, allocations: 258 kB / 1.054 GB, free: 138.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/2.735, allocations: 82.39 kB / 1.054 GB, free: 138.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.691e-05/2.735, allocations: 114.2 kB / 1.054 GB, free: 138 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.429e-05/2.735, allocations: 25.7 kB / 1.054 GB, free: 138 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/2.735, allocations: 180.5 kB / 1.055 GB, free: 137.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.604e-05/2.735, allocations: 102.5 kB / 1.055 GB, free: 137.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/2.735, allocations: 2.438 kB / 1.055 GB, free: 137.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.645e-05/2.735, allocations: 325.3 kB / 1.055 GB, free: 137.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/2.735, allocations: 97.39 kB / 1.055 GB, free: 137.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/2.736, allocations: 188.1 kB / 1.055 GB, free: 137.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/2.736, allocations: 122.1 kB / 1.055 GB, free: 137.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/2.736, allocations: 3.938 kB / 1.055 GB, free: 137.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008808/2.737, allocations: 322.8 kB / 1.056 GB, free: 137.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/2.737, allocations: 9.281 kB / 1.056 GB, free: 137.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/2.737, allocations: 3.625 kB / 1.056 GB, free: 137.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/2.737, allocations: 5.781 kB / 1.056 GB, free: 137.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007044/2.738, allocations: 74.42 kB / 1.056 GB, free: 137.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/2.738, allocations: 7.312 kB / 1.056 GB, free: 137.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004547/2.738, allocations: 26.98 kB / 1.056 GB, free: 137.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/2.738, allocations: 21.11 kB / 1.056 GB, free: 137.3 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.0001333/2.739, allocations: 120.9 kB / 1.056 GB, free: 137.2 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007777/2.739, allocations: 262 kB / 1.056 GB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/2.74, allocations: 19.62 kB / 1.056 GB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/2.741, allocations: 338.5 kB / 1.056 GB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/2.741, allocations: 6.688 kB / 1.056 GB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/2.741, allocations: 3.953 kB / 1.056 GB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/2.741, allocations: 4.984 kB / 1.056 GB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008725/2.742, allocations: 319 kB / 1.057 GB, free: 136.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/2.742, allocations: 0 / 1.057 GB, free: 136.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007075/2.742, allocations: 58.92 kB / 1.057 GB, free: 136.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/2.742, allocations: 3.531 kB / 1.057 GB, free: 136.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/2.742, allocations: 10.48 kB / 1.057 GB, free: 136.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/2.742, allocations: 1.094 kB / 1.057 GB, free: 136.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/2.742, allocations: 1 kB / 1.057 GB, free: 136.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009762/2.743, allocations: 0.5188 MB / 1.057 GB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/2.743, allocations: 92.28 kB / 1.057 GB, free: 136.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.85e-05/2.744, allocations: 10.47 kB / 1.057 GB, free: 136.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005616/2.744, allocations: 13.58 kB / 1.057 GB, free: 136.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/2.744, allocations: 21.64 kB / 1.057 GB, free: 136.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.009e-05/2.744, allocations: 22.2 kB / 1.058 GB, free: 136.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.531e-05/2.744, allocations: 87.41 kB / 1.058 GB, free: 136.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/2.744, allocations: 1.156 kB / 1.058 GB, free: 136.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001449/2.746, allocations: 247.2 kB / 1.058 GB, free: 136.4 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.003357/2.749, allocations: 1.881 MB / 1.06 GB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007235/2.75, allocations: 259.8 kB / 1.06 GB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/2.75, allocations: 1.031 kB / 1.06 GB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002922/2.75, allocations: 129.8 kB / 1.06 GB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009128/2.751, allocations: 74.31 kB / 1.06 GB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/2.753, allocations: 0.7504 MB / 1.061 GB, free: 135.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/2.753, allocations: 0.7415 MB / 1.062 GB, free: 134.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/2.754, allocations: 67.89 kB / 1.062 GB, free: 134.5 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/2.754, allocations: 0 / 1.062 GB, free: 134.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.804/5.558, allocations: 9.974 MB / 1.071 GB, free: 133.5 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