Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.82/1.82, allocations: 171.2 MB / 178.4 MB, free: 176 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.318e-05/3.345e-05, allocations: 4 kB / 219.6 MB, free: 6.957 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2817, allocations: 38.77 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.231/2.512, allocations: 0.7003 GB / 0.9526 GB, free: 101 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/2.513, allocations: 73.09 kB / 0.9527 GB, free: 101 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1166/2.629, allocations: 32.89 MB / 0.9848 GB, free: 80.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.944e-06/2.629, allocations: 3.938 kB / 0.9848 GB, free: 80.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/2.629, allocations: 0 / 0.9848 GB, free: 80.79 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.0006394/2.63, allocations: 409.8 kB / 0.9852 GB, free: 80.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/2.63, allocations: 12.19 kB / 0.9852 GB, free: 80.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002737/2.633, allocations: 190.8 kB / 0.9854 GB, free: 80.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/2.633, allocations: 210 kB / 0.9856 GB, free: 79.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/2.633, allocations: 4 kB / 0.9856 GB, free: 79.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.722e-05/2.633, allocations: 4 kB / 0.9856 GB, free: 79.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005559/2.634, allocations: 197.1 kB / 0.9858 GB, free: 79.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/2.634, allocations: 144.9 kB / 0.9859 GB, free: 79.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/2.634, allocations: 4 kB / 0.9859 GB, free: 79.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/2.634, allocations: 0 / 0.9859 GB, free: 79.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/2.634, allocations: 0 / 0.9859 GB, free: 79.69 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.00195/2.636, allocations: 0.5978 MB / 0.9865 GB, free: 79.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/2.637, allocations: 144.1 kB / 0.9867 GB, free: 79.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/2.637, allocations: 75.47 kB / 0.9867 GB, free: 79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/2.637, allocations: 92.97 kB / 0.9868 GB, free: 78.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/2.637, allocations: 34.56 kB / 0.9869 GB, free: 78.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.685e-06/2.637, allocations: 0 / 0.9869 GB, free: 78.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.006373/2.644, allocations: 0.9933 MB / 0.9878 GB, free: 77.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/2.644, allocations: 55.41 kB / 0.9879 GB, free: 77.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.409e-05/2.644, allocations: 108.3 kB / 0.988 GB, free: 77.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/2.644, allocations: 25.7 kB / 0.988 GB, free: 77.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/2.644, allocations: 104.1 kB / 0.9881 GB, free: 77.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.306e-05/2.644, allocations: 62.77 kB / 0.9882 GB, free: 77.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/2.644, allocations: 0 / 0.9882 GB, free: 77.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.44e-05/2.644, allocations: 318.8 kB / 0.9885 GB, free: 77.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/2.644, allocations: 74.55 kB / 0.9885 GB, free: 77.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/2.644, allocations: 98.3 kB / 0.9886 GB, free: 77.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/2.645, allocations: 87.16 kB / 0.9887 GB, free: 77.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/2.645, allocations: 0 / 0.9887 GB, free: 77.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005665/2.645, allocations: 236.9 kB / 0.989 GB, free: 76.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/2.645, allocations: 7.953 kB / 0.989 GB, free: 76.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/2.645, allocations: 0 / 0.989 GB, free: 76.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001421/2.645, allocations: 24.34 kB / 0.989 GB, free: 76.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006105/2.646, allocations: 52 kB / 0.989 GB, free: 76.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003288/2.646, allocations: 0.5354 MB / 0.9896 GB, free: 76.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/2.647, allocations: 7.938 kB / 0.9896 GB, free: 76.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/2.647, allocations: 15.3 kB / 0.9896 GB, free: 76.21 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.0001134/2.647, allocations: 108.9 kB / 0.9897 GB, free: 76.1 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005277/2.647, allocations: 211.2 kB / 0.9899 GB, free: 75.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/2.648, allocations: 11.91 kB / 0.9899 GB, free: 75.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007529/2.648, allocations: 264 kB / 0.9901 GB, free: 75.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/2.648, allocations: 4 kB / 0.9901 GB, free: 75.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/2.648, allocations: 0 / 0.9901 GB, free: 75.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/2.648, allocations: 7.969 kB / 0.9902 GB, free: 75.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/2.649, allocations: 0.5905 MB / 0.9907 GB, free: 75.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/2.65, allocations: 4 kB / 0.9907 GB, free: 75.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006128/2.65, allocations: 43.95 kB / 0.9908 GB, free: 75.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/2.65, allocations: 24.34 kB / 0.9908 GB, free: 75.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/2.65, allocations: 0 / 0.9908 GB, free: 75.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007925/2.651, allocations: 1.226 MB / 0.992 GB, free: 73.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/2.651, allocations: 3.953 kB / 0.992 GB, free: 73.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007351/2.652, allocations: 427.9 kB / 0.9924 GB, free: 73.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/2.652, allocations: 89.03 kB / 0.9925 GB, free: 73.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/2.652, allocations: 4 kB / 0.9925 GB, free: 73.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/2.652, allocations: 4.062 kB / 0.9925 GB, free: 73.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/2.652, allocations: 19.47 kB / 0.9925 GB, free: 73.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/2.653, allocations: 8 kB / 0.9925 GB, free: 73.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.418e-05/2.653, allocations: 91.02 kB / 0.9926 GB, free: 73.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.21e-07/2.653, allocations: 0 / 0.9926 GB, free: 73.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008325/2.653, allocations: 145.7 kB / 0.9928 GB, free: 73.08 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.002534/2.656, allocations: 1.787 MB / 0.9945 GB, free: 71.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005994/2.657, allocations: 175.9 kB / 0.9947 GB, free: 71.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/2.657, allocations: 4.188 kB / 0.9947 GB, free: 71.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003502/2.657, allocations: 202.1 kB / 0.9949 GB, free: 71.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005793/2.658, allocations: 41.95 kB / 0.9949 GB, free: 71.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/2.659, allocations: 395.4 kB / 0.9953 GB, free: 70.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/2.659, allocations: 0.7085 MB / 0.996 GB, free: 69.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006155/2.66, allocations: 45.41 kB / 0.996 GB, free: 69.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/2.66, allocations: 43.72 kB / 0.9961 GB, free: 69.8 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/2.66, allocations: 0 / 0.9961 GB, free: 69.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05013/2.71, allocations: 9.84 MB / 1.006 GB, free: 59.98 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003448/2.71, allocations: 136.4 kB / 1.006 GB, free: 59.78 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.968/5.678, allocations: 4 kB / 1.006 GB, free: 59.78 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat