Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.33/2.33, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.032e-05, allocations: 3.734 kB / 249.8 MB, free: 5.266 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.116, allocations: 44.5 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.86/2.976, allocations: 0.7125 GB / 0.9999 GB, free: 116 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/2.977, allocations: 70.55 kB / 1 GB, free: 116 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.18/3.157, allocations: 33.09 MB / 1.032 GB, free: 97.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/3.157, allocations: 0 / 1.032 GB, free: 97.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/3.157, allocations: 0 / 1.032 GB, free: 97.91 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.0006476/3.157, allocations: 418.1 kB / 1.033 GB, free: 97.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/3.157, allocations: 8.031 kB / 1.033 GB, free: 97.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003506/3.161, allocations: 182.4 kB / 1.033 GB, free: 97.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/3.161, allocations: 205.2 kB / 1.033 GB, free: 97.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/3.161, allocations: 7.984 kB / 1.033 GB, free: 97.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.651e-05/3.161, allocations: 8 kB / 1.033 GB, free: 97.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006937/3.162, allocations: 188.2 kB / 1.033 GB, free: 96.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/3.163, allocations: 152.6 kB / 1.033 GB, free: 96.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/3.163, allocations: 0 / 1.033 GB, free: 96.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.806e-05/3.163, allocations: 3.953 kB / 1.033 GB, free: 96.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/3.163, allocations: 4 kB / 1.033 GB, free: 96.82 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.002502/3.165, allocations: 0.598 MB / 1.034 GB, free: 96.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/3.166, allocations: 141.2 kB / 1.034 GB, free: 96.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/3.166, allocations: 73.66 kB / 1.034 GB, free: 96.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003412/3.166, allocations: 93.03 kB / 1.034 GB, free: 96.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/3.166, allocations: 34.12 kB / 1.034 GB, free: 95.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.297e-06/3.166, allocations: 0 / 1.034 GB, free: 95.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.008394/3.175, allocations: 1.008 MB / 1.035 GB, free: 95.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/3.175, allocations: 55.41 kB / 1.035 GB, free: 94.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/3.175, allocations: 100.9 kB / 1.035 GB, free: 94.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/3.175, allocations: 25.7 kB / 1.035 GB, free: 94.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/3.175, allocations: 99.64 kB / 1.036 GB, free: 94.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.719e-05/3.175, allocations: 66.19 kB / 1.036 GB, free: 94.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/3.175, allocations: 4 kB / 1.036 GB, free: 94.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.97e-05/3.175, allocations: 330.7 kB / 1.036 GB, free: 94.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/3.175, allocations: 65 kB / 1.036 GB, free: 94.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/3.176, allocations: 99.23 kB / 1.036 GB, free: 94.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/3.176, allocations: 85.41 kB / 1.036 GB, free: 94.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/3.176, allocations: 4 kB / 1.036 GB, free: 94.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007786/3.177, allocations: 227.8 kB / 1.036 GB, free: 93.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/3.177, allocations: 4 kB / 1.036 GB, free: 93.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/3.177, allocations: 7.938 kB / 1.036 GB, free: 93.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001885/3.177, allocations: 24.03 kB / 1.036 GB, free: 93.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007923/3.178, allocations: 55.77 kB / 1.037 GB, free: 93.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003953/3.178, allocations: 0.5434 MB / 1.037 GB, free: 93.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004371/3.179, allocations: 8.016 kB / 1.037 GB, free: 93.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.405e-05/3.179, allocations: 8 kB / 1.037 GB, free: 93.33 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.0001401/3.179, allocations: 104.8 kB / 1.037 GB, free: 93.22 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006858/3.18, allocations: 218.2 kB / 1.037 GB, free: 93.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.329e-05/3.18, allocations: 8 kB / 1.037 GB, free: 93.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/3.181, allocations: 265.9 kB / 1.038 GB, free: 92.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/3.181, allocations: 4 kB / 1.038 GB, free: 92.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/3.181, allocations: 0 / 1.038 GB, free: 92.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/3.181, allocations: 3.938 kB / 1.038 GB, free: 92.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/3.182, allocations: 0.5874 MB / 1.038 GB, free: 92.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/3.182, allocations: 3.953 kB / 1.038 GB, free: 92.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007976/3.183, allocations: 51.22 kB / 1.038 GB, free: 92.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001277/3.183, allocations: 16.84 kB / 1.038 GB, free: 92.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.677e-05/3.183, allocations: 11.42 kB / 1.038 GB, free: 92.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009586/3.184, allocations: 1.211 MB / 1.039 GB, free: 90.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/3.184, allocations: 7.969 kB / 1.039 GB, free: 90.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009681/3.185, allocations: 423.2 kB / 1.04 GB, free: 90.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/3.185, allocations: 88.95 kB / 1.04 GB, free: 90.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.978e-05/3.186, allocations: 4 kB / 1.04 GB, free: 90.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005307/3.186, allocations: 7.984 kB / 1.04 GB, free: 90.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/3.186, allocations: 23.94 kB / 1.04 GB, free: 90.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.483e-05/3.186, allocations: 15.61 kB / 1.04 GB, free: 90.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.201e-05/3.186, allocations: 86.91 kB / 1.04 GB, free: 90.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.41e-07/3.186, allocations: 0 / 1.04 GB, free: 90.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001056/3.187, allocations: 153.1 kB / 1.04 GB, free: 90.18 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.003171/3.191, allocations: 1.774 MB / 1.042 GB, free: 88.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007219/3.191, allocations: 193.5 kB / 1.042 GB, free: 88.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/3.191, allocations: 0 / 1.042 GB, free: 88.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004258/3.192, allocations: 202.6 kB / 1.042 GB, free: 88.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007479/3.193, allocations: 39.84 kB / 1.042 GB, free: 88.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/3.194, allocations: 386.3 kB / 1.043 GB, free: 87.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/3.194, allocations: 0.7199 MB / 1.043 GB, free: 86.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007847/3.195, allocations: 45.17 kB / 1.044 GB, free: 86.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/3.195, allocations: 37.98 kB / 1.044 GB, free: 86.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/3.195, allocations: 0 / 1.044 GB, free: 86.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07454/3.27, allocations: 9.834 MB / 1.053 GB, free: 77.11 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002653/3.27, allocations: 141.3 kB / 1.053 GB, free: 76.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.697/6.968, allocations: 0 / 1.053 GB, free: 76.91 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat