Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.732/1.732, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.191e-05/2.186e-05, allocations: 0 / 219.5 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2708, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.119/2.39, allocations: 0.7003 GB / 0.9526 GB, free: 101 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/2.39, allocations: 70.8 kB / 0.9527 GB, free: 101 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1122/2.502, allocations: 32.9 MB / 0.9848 GB, free: 80.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/2.502, allocations: 0 / 0.9848 GB, free: 80.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/2.502, allocations: 0 / 0.9848 GB, free: 80.87 MB / 362.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.0005332/2.503, allocations: 414.2 kB / 0.9852 GB, free: 80.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/2.503, allocations: 12.25 kB / 0.9852 GB, free: 80.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/2.506, allocations: 182.3 kB / 0.9854 GB, free: 80.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/2.506, allocations: 210 kB / 0.9856 GB, free: 80.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/2.506, allocations: 4 kB / 0.9856 GB, free: 80.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/2.506, allocations: 7.938 kB / 0.9856 GB, free: 80.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005279/2.507, allocations: 189.4 kB / 0.9858 GB, free: 79.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/2.507, allocations: 145.2 kB / 0.9859 GB, free: 79.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/2.507, allocations: 0 / 0.9859 GB, free: 79.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/2.507, allocations: 4 kB / 0.9859 GB, free: 79.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/2.507, allocations: 4 kB / 0.9859 GB, free: 79.78 MB / 362.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.001834/2.509, allocations: 0.6034 MB / 0.9865 GB, free: 79.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/2.509, allocations: 143.8 kB / 0.9866 GB, free: 79.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/2.509, allocations: 71.91 kB / 0.9867 GB, free: 79.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/2.51, allocations: 93.09 kB / 0.9868 GB, free: 78.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/2.51, allocations: 42.44 kB / 0.9868 GB, free: 78.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.024e-06/2.51, allocations: 0 / 0.9868 GB, free: 78.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.006273/2.516, allocations: 0.991 MB / 0.9878 GB, free: 77.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/2.516, allocations: 59.34 kB / 0.9879 GB, free: 77.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.765e-05/2.516, allocations: 104.8 kB / 0.988 GB, free: 77.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/2.516, allocations: 29.7 kB / 0.988 GB, free: 77.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/2.516, allocations: 162.5 kB / 0.9882 GB, free: 77.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.299e-05/2.516, allocations: 66.81 kB / 0.9882 GB, free: 77.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/2.516, allocations: 0 / 0.9882 GB, free: 77.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.186e-05/2.516, allocations: 318.8 kB / 0.9885 GB, free: 77.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/2.517, allocations: 74.48 kB / 0.9886 GB, free: 77.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/2.517, allocations: 101.9 kB / 0.9887 GB, free: 77.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/2.517, allocations: 76.03 kB / 0.9888 GB, free: 77.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/2.517, allocations: 0 / 0.9888 GB, free: 77.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005489/2.518, allocations: 235.4 kB / 0.989 GB, free: 76.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/2.518, allocations: 11.95 kB / 0.989 GB, free: 76.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/2.518, allocations: 0 / 0.989 GB, free: 76.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/2.518, allocations: 20.81 kB / 0.989 GB, free: 76.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/2.518, allocations: 59.66 kB / 0.9891 GB, free: 76.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003271/2.519, allocations: 0.5364 MB / 0.9896 GB, free: 76.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/2.519, allocations: 3.938 kB / 0.9896 GB, free: 76.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/2.519, allocations: 12.3 kB / 0.9896 GB, free: 76.23 MB / 362.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.0001196/2.519, allocations: 119.9 kB / 0.9897 GB, free: 76.11 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005162/2.52, allocations: 211.6 kB / 0.9899 GB, free: 75.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/2.52, allocations: 11.84 kB / 0.9899 GB, free: 75.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007342/2.521, allocations: 256.4 kB / 0.9902 GB, free: 75.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/2.521, allocations: 0 / 0.9902 GB, free: 75.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/2.521, allocations: 0 / 0.9902 GB, free: 75.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/2.521, allocations: 3.984 kB / 0.9902 GB, free: 75.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/2.522, allocations: 0.5932 MB / 0.9908 GB, free: 75.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/2.522, allocations: 0 / 0.9908 GB, free: 75.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006252/2.523, allocations: 51.52 kB / 0.9908 GB, free: 75.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000103/2.523, allocations: 16.84 kB / 0.9908 GB, free: 75.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/2.523, allocations: 15.5 kB / 0.9908 GB, free: 75.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007744/2.524, allocations: 1.212 MB / 0.992 GB, free: 73.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/2.524, allocations: 7.953 kB / 0.992 GB, free: 73.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000735/2.524, allocations: 438.2 kB / 0.9925 GB, free: 73.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/2.524, allocations: 85.02 kB / 0.9925 GB, free: 73.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.181e-05/2.524, allocations: 4.062 kB / 0.9925 GB, free: 73.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/2.525, allocations: 4 kB / 0.9925 GB, free: 73.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/2.525, allocations: 15.97 kB / 0.9926 GB, free: 73.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/2.525, allocations: 11.06 kB / 0.9926 GB, free: 73.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.388e-05/2.525, allocations: 86.14 kB / 0.9927 GB, free: 73.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.525, allocations: 0 / 0.9927 GB, free: 73.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008763/2.526, allocations: 149.9 kB / 0.9928 GB, free: 73.09 MB / 362.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.002426/2.528, allocations: 1.784 MB / 0.9945 GB, free: 71.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005709/2.529, allocations: 181.3 kB / 0.9947 GB, free: 71.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/2.529, allocations: 0 / 0.9947 GB, free: 71.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003509/2.529, allocations: 212.9 kB / 0.9949 GB, free: 71.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006062/2.53, allocations: 35.53 kB / 0.9949 GB, free: 71.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/2.531, allocations: 421.6 kB / 0.9953 GB, free: 70.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/2.531, allocations: 0.7046 MB / 0.996 GB, free: 69.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/2.531, allocations: 42.53 kB / 0.9961 GB, free: 69.83 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/2.531, allocations: 0 / 0.9961 GB, free: 69.83 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.911/5.443, allocations: 7.92 MB / 1.004 GB, free: 61.93 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat