Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.98/1.98, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.848e-05/1.864e-05, allocations: 0 / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3088, allocations: 44.49 MB / 294.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.063/2.372, allocations: 0.7125 GB / 0.9998 GB, free: 44.07 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/2.372, allocations: 76.89 kB / 0.9999 GB, free: 44.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1344/2.506, allocations: 33.08 MB / 1.032 GB, free: 16.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/2.506, allocations: 0 / 1.032 GB, free: 16.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/2.506, allocations: 3.984 kB / 1.032 GB, free: 16.8 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006392/2.507, allocations: 414.6 kB / 1.033 GB, free: 16.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/2.507, allocations: 8.031 kB / 1.033 GB, free: 16.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002774/2.51, allocations: 187.7 kB / 1.033 GB, free: 16.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/2.51, allocations: 202.9 kB / 1.033 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/2.51, allocations: 4 kB / 1.033 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.147e-05/2.51, allocations: 4 kB / 1.033 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005618/2.511, allocations: 192.3 kB / 1.033 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/2.511, allocations: 154.8 kB / 1.033 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/2.511, allocations: 4 kB / 1.033 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/2.511, allocations: 3.953 kB / 1.033 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/2.511, allocations: 0 / 1.033 GB, free: 15.56 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.001953/2.513, allocations: 0.6046 MB / 1.034 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/2.514, allocations: 146.5 kB / 1.034 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/2.514, allocations: 72.86 kB / 1.034 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/2.514, allocations: 89.09 kB / 1.034 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/2.514, allocations: 38.5 kB / 1.034 GB, free: 14.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.785e-06/2.514, allocations: 3.938 kB / 1.034 GB, free: 14.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.006484/2.521, allocations: 0.9906 MB / 1.035 GB, free: 13.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/2.521, allocations: 59.39 kB / 1.035 GB, free: 13.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.046e-05/2.521, allocations: 104.9 kB / 1.035 GB, free: 13.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/2.521, allocations: 29.7 kB / 1.035 GB, free: 13.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/2.521, allocations: 174.7 kB / 1.036 GB, free: 13.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/2.521, allocations: 59.11 kB / 1.036 GB, free: 13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/2.521, allocations: 0 / 1.036 GB, free: 13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.435e-05/2.521, allocations: 322.8 kB / 1.036 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/2.521, allocations: 68 kB / 1.036 GB, free: 12.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/2.522, allocations: 99.61 kB / 1.036 GB, free: 12.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/2.522, allocations: 81.09 kB / 1.036 GB, free: 12.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/2.522, allocations: 0 / 1.036 GB, free: 12.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005883/2.522, allocations: 234.3 kB / 1.036 GB, free: 12.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/2.522, allocations: 8 kB / 1.036 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/2.522, allocations: 0 / 1.036 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001526/2.523, allocations: 16.86 kB / 1.036 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/2.523, allocations: 63.98 kB / 1.036 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003472/2.524, allocations: 0.5405 MB / 1.037 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/2.524, allocations: 4 kB / 1.037 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/2.524, allocations: 8 kB / 1.037 GB, free: 11.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001261/2.524, allocations: 112.9 kB / 1.037 GB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005629/2.525, allocations: 211.2 kB / 1.037 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.358e-05/2.525, allocations: 11.89 kB / 1.037 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007784/2.526, allocations: 262.4 kB / 1.038 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/2.526, allocations: 0 / 1.038 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/2.526, allocations: 0 / 1.038 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/2.526, allocations: 4 kB / 1.038 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/2.527, allocations: 0.5971 MB / 1.038 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/2.527, allocations: 3.953 kB / 1.038 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006162/2.528, allocations: 55.89 kB / 1.038 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/2.528, allocations: 16.86 kB / 1.038 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/2.528, allocations: 7.984 kB / 1.038 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008415/2.529, allocations: 1.221 MB / 1.039 GB, free: 8.824 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/2.529, allocations: 0 / 1.039 GB, free: 8.824 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007891/2.529, allocations: 428 kB / 1.04 GB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/2.529, allocations: 89.05 kB / 1.04 GB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/2.529, allocations: 4.062 kB / 1.04 GB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/2.53, allocations: 7.984 kB / 1.04 GB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/2.53, allocations: 19.84 kB / 1.04 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/2.53, allocations: 15.98 kB / 1.04 GB, free: 8.207 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.718e-05/2.53, allocations: 83.22 kB / 1.04 GB, free: 8.125 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.4e-07/2.53, allocations: 0 / 1.04 GB, free: 8.125 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008748/2.531, allocations: 155.9 kB / 1.04 GB, free: 7.973 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002607/2.534, allocations: 1.756 MB / 1.042 GB, free: 6.172 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006314/2.534, allocations: 200.1 kB / 1.042 GB, free: 5.977 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/2.534, allocations: 0 / 1.042 GB, free: 5.977 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003457/2.535, allocations: 201.7 kB / 1.042 GB, free: 5.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/2.535, allocations: 47.47 kB / 1.042 GB, free: 5.727 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/2.537, allocations: 417.7 kB / 1.043 GB, free: 5.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/2.537, allocations: 0.7124 MB / 1.043 GB, free: 4.527 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/2.537, allocations: 39.42 kB / 1.044 GB, free: 4.488 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/2.537, allocations: 0 / 1.044 GB, free: 4.488 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.111/5.648, allocations: 7.893 MB / 1.051 GB, free: 135.4 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat