Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.077/2.077, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.895e-05/2.906e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3179, allocations: 44.49 MB / 294.2 MB, free: 14.44 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.051/2.369, allocations: 0.7125 GB / 0.9999 GB, free: 44.24 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/2.369, allocations: 71.47 kB / 0.9999 GB, free: 44.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1162/2.485, allocations: 33.08 MB / 1.032 GB, free: 16.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/2.485, allocations: 0 / 1.032 GB, free: 16.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.268e-05/2.485, allocations: 0 / 1.032 GB, free: 16.98 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.0005611/2.486, allocations: 418.6 kB / 1.033 GB, free: 16.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/2.486, allocations: 8.031 kB / 1.033 GB, free: 16.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002733/2.489, allocations: 187.7 kB / 1.033 GB, free: 16.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/2.489, allocations: 202.9 kB / 1.033 GB, free: 16.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/2.489, allocations: 4 kB / 1.033 GB, free: 16.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/2.489, allocations: 4 kB / 1.033 GB, free: 16.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005568/2.49, allocations: 196.3 kB / 1.033 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/2.49, allocations: 150.8 kB / 1.033 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/2.49, allocations: 0 / 1.033 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/2.49, allocations: 3.953 kB / 1.033 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/2.49, allocations: 0 / 1.033 GB, free: 15.73 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.001965/2.492, allocations: 0.6123 MB / 1.034 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/2.492, allocations: 138.6 kB / 1.034 GB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/2.493, allocations: 76.84 kB / 1.034 GB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002646/2.493, allocations: 89.09 kB / 1.034 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/2.493, allocations: 30.56 kB / 1.034 GB, free: 14.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.336e-06/2.493, allocations: 4 kB / 1.034 GB, free: 14.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.006515/2.499, allocations: 1.006 MB / 1.035 GB, free: 13.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/2.5, allocations: 55.41 kB / 1.035 GB, free: 13.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.832e-05/2.5, allocations: 101 kB / 1.035 GB, free: 13.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/2.5, allocations: 25.7 kB / 1.035 GB, free: 13.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/2.5, allocations: 104.3 kB / 1.036 GB, free: 13.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.171e-05/2.5, allocations: 63.09 kB / 1.036 GB, free: 13.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/2.5, allocations: 0 / 1.036 GB, free: 13.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.204e-05/2.5, allocations: 326.7 kB / 1.036 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/2.5, allocations: 72 kB / 1.036 GB, free: 12.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/2.5, allocations: 95.61 kB / 1.036 GB, free: 12.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/2.501, allocations: 89.09 kB / 1.036 GB, free: 12.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/2.501, allocations: 0 / 1.036 GB, free: 12.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005794/2.501, allocations: 238.1 kB / 1.036 GB, free: 12.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/2.501, allocations: 4 kB / 1.036 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/2.501, allocations: 0 / 1.036 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001453/2.501, allocations: 20.86 kB / 1.036 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000618/2.502, allocations: 55.98 kB / 1.036 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003225/2.502, allocations: 0.5406 MB / 1.037 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/2.503, allocations: 4.031 kB / 1.037 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/2.503, allocations: 8 kB / 1.037 GB, free: 11.74 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.0001167/2.503, allocations: 108.7 kB / 1.037 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005317/2.503, allocations: 214.4 kB / 1.037 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-05/2.503, allocations: 19.83 kB / 1.037 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008025/2.504, allocations: 255 kB / 1.038 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/2.504, allocations: 4 kB / 1.038 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/2.504, allocations: 0 / 1.038 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/2.504, allocations: 0 / 1.038 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/2.506, allocations: 0.5894 MB / 1.038 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/2.506, allocations: 7.953 kB / 1.038 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006124/2.506, allocations: 43.97 kB / 1.038 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/2.506, allocations: 24.78 kB / 1.038 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/2.506, allocations: 7.984 kB / 1.038 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007719/2.507, allocations: 1.217 MB / 1.039 GB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/2.507, allocations: 4.031 kB / 1.039 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007545/2.508, allocations: 426.5 kB / 1.04 GB, free: 8.594 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/2.508, allocations: 88.95 kB / 1.04 GB, free: 8.488 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/2.508, allocations: 4 kB / 1.04 GB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/2.508, allocations: 12.05 kB / 1.04 GB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/2.509, allocations: 15.94 kB / 1.04 GB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.46e-05/2.509, allocations: 11.98 kB / 1.04 GB, free: 8.445 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.477e-05/2.509, allocations: 87.28 kB / 1.04 GB, free: 8.359 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/2.509, allocations: 0 / 1.04 GB, free: 8.359 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008396/2.509, allocations: 155.8 kB / 1.04 GB, free: 8.207 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.002463/2.512, allocations: 1.771 MB / 1.042 GB, free: 6.395 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006068/2.513, allocations: 191.9 kB / 1.042 GB, free: 6.207 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/2.513, allocations: 4.188 kB / 1.042 GB, free: 6.203 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003477/2.513, allocations: 197.7 kB / 1.042 GB, free: 6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/2.514, allocations: 47.5 kB / 1.042 GB, free: 5.957 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/2.515, allocations: 385.9 kB / 1.043 GB, free: 5.535 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/2.515, allocations: 0.7124 MB / 1.043 GB, free: 4.793 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006158/2.516, allocations: 45.17 kB / 1.043 GB, free: 4.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/2.516, allocations: 39.42 kB / 1.043 GB, free: 4.711 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/2.516, allocations: 0 / 1.043 GB, free: 4.711 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3118/2.828, allocations: 9.824 MB / 1.053 GB, free: 134.7 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002518/2.828, allocations: 140.7 kB / 1.053 GB, free: 134.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.873/5.701, allocations: 1.25 kB / 1.053 GB, free: 134.5 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat