Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.137/2.137, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.341e-05/2.353e-05, allocations: 4 kB / 249.7 MB, free: 15.21 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3011, allocations: 44.5 MB / 294.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.968/2.269, allocations: 0.7331 GB / 1.02 GB, free: 23.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/2.269, allocations: 67.91 kB / 1.021 GB, free: 23.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6084/2.877, allocations: 105.4 MB / 1.123 GB, free: 94.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.774e-06/2.877, allocations: 0 / 1.123 GB, free: 94.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.598e-05/2.877, allocations: 11.98 kB / 1.123 GB, free: 94.68 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003416/2.881, allocations: 0.7673 MB / 1.124 GB, free: 93.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/2.881, allocations: 8.031 kB / 1.124 GB, free: 93.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002955/2.884, allocations: 251.4 kB / 1.124 GB, free: 93.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005718/2.885, allocations: 286.6 kB / 1.125 GB, free: 93.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/2.885, allocations: 15.88 kB / 1.125 GB, free: 93.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/2.885, allocations: 16 kB / 1.125 GB, free: 93.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001329/2.886, allocations: 0.6026 MB / 1.125 GB, free: 92.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/2.887, allocations: 0.5741 MB / 1.126 GB, free: 92.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/2.887, allocations: 4 kB / 1.126 GB, free: 92.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-05/2.887, allocations: 0 / 1.126 GB, free: 92.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/2.887, allocations: 16.42 kB / 1.126 GB, free: 92.05 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.005353/2.893, allocations: 1.734 MB / 1.128 GB, free: 90.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000795/2.894, allocations: 373.3 kB / 1.128 GB, free: 89.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003717/2.894, allocations: 186 kB / 1.128 GB, free: 89.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002074/2.896, allocations: 0.9168 MB / 1.129 GB, free: 88.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/2.896, allocations: 46.45 kB / 1.129 GB, free: 88.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.657e-06/2.896, allocations: 0 / 1.129 GB, free: 88.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.0148/2.911, allocations: 2.201 MB / 1.131 GB, free: 86.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/2.911, allocations: 93.06 kB / 1.131 GB, free: 86.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/2.911, allocations: 150.4 kB / 1.131 GB, free: 85.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001193/2.911, allocations: 29.64 kB / 1.131 GB, free: 85.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/2.912, allocations: 250.5 kB / 1.132 GB, free: 85.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/2.912, allocations: 169.5 kB / 1.132 GB, free: 85.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/2.912, allocations: 0 / 1.132 GB, free: 85.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.219e-05/2.912, allocations: 342.8 kB / 1.132 GB, free: 85.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006739/2.913, allocations: 197.5 kB / 1.132 GB, free: 84.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007821/2.914, allocations: 353.9 kB / 1.133 GB, free: 84.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008794/2.915, allocations: 232.4 kB / 1.133 GB, free: 84.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/2.915, allocations: 8 kB / 1.133 GB, free: 84.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002347/2.917, allocations: 0.6254 MB / 1.134 GB, free: 83.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/2.917, allocations: 4 kB / 1.134 GB, free: 83.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/2.917, allocations: 8 kB / 1.134 GB, free: 83.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002923/2.917, allocations: 45.69 kB / 1.134 GB, free: 83.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002519/2.92, allocations: 175.7 kB / 1.134 GB, free: 83.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008598/2.921, allocations: 1.089 MB / 1.135 GB, free: 82.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/2.923, allocations: 32.16 kB / 1.135 GB, free: 82.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/2.923, allocations: 39.97 kB / 1.135 GB, free: 82.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003391/2.923, allocations: 124.5 kB / 1.135 GB, free: 82.06 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002071/2.925, allocations: 0.4918 MB / 1.136 GB, free: 81.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/2.926, allocations: 27.72 kB / 1.136 GB, free: 81.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003033/2.929, allocations: 0.6423 MB / 1.136 GB, free: 80.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/2.929, allocations: 7.953 kB / 1.136 GB, free: 80.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/2.929, allocations: 4 kB / 1.136 GB, free: 80.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/2.929, allocations: 3.938 kB / 1.136 GB, free: 80.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004781/2.933, allocations: 1.365 MB / 1.138 GB, free: 79.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/2.934, allocations: 0 / 1.138 GB, free: 79.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002395/2.936, allocations: 155.9 kB / 1.138 GB, free: 79.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002293/2.936, allocations: 33.7 kB / 1.138 GB, free: 79.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/2.936, allocations: 27.92 kB / 1.138 GB, free: 79.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/2.938, allocations: 2.431 MB / 1.14 GB, free: 76.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/2.938, allocations: 4 kB / 1.14 GB, free: 76.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002929/2.941, allocations: 0.9693 MB / 1.141 GB, free: 75.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/2.942, allocations: 100.7 kB / 1.141 GB, free: 75.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/2.942, allocations: 12 kB / 1.141 GB, free: 75.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/2.944, allocations: 36 kB / 1.141 GB, free: 75.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/2.944, allocations: 43.84 kB / 1.141 GB, free: 75.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/2.944, allocations: 35.95 kB / 1.141 GB, free: 75.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001465/2.944, allocations: 116.4 kB / 1.141 GB, free: 75.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.02e-07/2.944, allocations: 0 / 1.141 GB, free: 75.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002065/2.946, allocations: 411.6 kB / 1.142 GB, free: 74.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006391/2.953, allocations: 3.234 MB / 1.145 GB, free: 71.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001478/2.954, allocations: 0.5153 MB / 1.145 GB, free: 70.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/2.954, allocations: 4 kB / 1.145 GB, free: 70.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007856/2.955, allocations: 467.2 kB / 1.146 GB, free: 70.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009898/2.956, allocations: 89.12 kB / 1.146 GB, free: 70.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/2.959, allocations: 0.9332 MB / 1.147 GB, free: 69.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/2.959, allocations: 0.7893 MB / 1.148 GB, free: 68.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008232/2.96, allocations: 143.3 kB / 1.148 GB, free: 68.36 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/2.96, allocations: 0 / 1.148 GB, free: 68.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.4/6.36, allocations: 19.02 MB / 1.166 GB, free: 49.3 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.MixtureGases_res.mat does not exist to compare? outputFormat=mat