Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.011/2.011, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.522e-05/3.529e-05, allocations: 2.031 kB / 292.7 MB, free: 8.289 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 50.42 MB / 343.1 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.205/2.32, allocations: 0.707 GB / 1.042 GB, free: 11.65 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/2.32, allocations: 66.16 kB / 1.042 GB, free: 11.62 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6729/2.993, allocations: 109.6 MB / 1.149 GB, free: 95.59 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.673e-06/2.993, allocations: 0 / 1.149 GB, free: 95.59 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/2.993, allocations: 4 kB / 1.149 GB, free: 95.59 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00374/2.997, allocations: 0.7594 MB / 1.15 GB, free: 94.78 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.838e-05/2.997, allocations: 12.03 kB / 1.15 GB, free: 94.77 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/2.997, allocations: 70.53 kB / 1.15 GB, free: 94.69 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003256/3.001, allocations: 251.4 kB / 1.15 GB, free: 94.45 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007208/3.001, allocations: 286.6 kB / 1.151 GB, free: 94.12 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/3.001, allocations: 24.56 kB / 1.151 GB, free: 94.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/3.001, allocations: 31.98 kB / 1.151 GB, free: 94.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/3.003, allocations: 0.6093 MB / 1.151 GB, free: 93.45 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/3.003, allocations: 0 / 1.151 GB, free: 93.45 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/3.003, allocations: 19.94 kB / 1.151 GB, free: 93.43 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.783e-05/3.003, allocations: 12.44 kB / 1.151 GB, free: 93.41 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/3.005, allocations: 0.661 MB / 1.152 GB, free: 92.75 MB / 458.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.005761/3.011, allocations: 1.807 MB / 1.154 GB, free: 90.85 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009576/3.012, allocations: 389 kB / 1.154 GB, free: 90.45 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/3.012, allocations: 189.7 kB / 1.154 GB, free: 90.26 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002229/3.014, allocations: 0.9084 MB / 1.155 GB, free: 89.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/3.014, allocations: 42.55 kB / 1.155 GB, free: 89.15 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 2.745e-06/3.014, allocations: 0 / 1.155 GB, free: 89.15 MB / 458.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium1.T Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01647/3.031, allocations: 2.784 MB / 1.158 GB, free: 86.19 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/3.031, allocations: 81.11 kB / 1.158 GB, free: 86.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/3.031, allocations: 158.9 kB / 1.158 GB, free: 85.94 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.191e-05/3.031, allocations: 33.7 kB / 1.158 GB, free: 85.9 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.679e-05/3.031, allocations: 188 kB / 1.158 GB, free: 85.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/3.032, allocations: 173.5 kB / 1.158 GB, free: 85.54 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.606e-05/3.032, allocations: 8 kB / 1.158 GB, free: 85.53 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.302e-05/3.032, allocations: 342.8 kB / 1.159 GB, free: 85.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005568/3.032, allocations: 213.5 kB / 1.159 GB, free: 84.98 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006482/3.033, allocations: 369.8 kB / 1.159 GB, free: 84.55 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000642/3.034, allocations: 252.8 kB / 1.16 GB, free: 84.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/3.034, allocations: 0 / 1.16 GB, free: 84.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001778/3.035, allocations: 0.6682 MB / 1.16 GB, free: 83.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/3.035, allocations: 8 kB / 1.16 GB, free: 83.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/3.035, allocations: 4 kB / 1.16 GB, free: 83.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000285/3.036, allocations: 49.69 kB / 1.16 GB, free: 83.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001931/3.038, allocations: 183.8 kB / 1.16 GB, free: 83.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006586/3.038, allocations: 1.081 MB / 1.162 GB, free: 82.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/3.04, allocations: 44.14 kB / 1.162 GB, free: 82.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/3.04, allocations: 35.98 kB / 1.162 GB, free: 82.17 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002477/3.04, allocations: 136.8 kB / 1.162 GB, free: 82.03 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/3.04, allocations: 31.67 kB / 1.162 GB, free: 82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/3.043, allocations: 0.6853 MB / 1.162 GB, free: 81.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/3.043, allocations: 8 kB / 1.162 GB, free: 81.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/3.043, allocations: 0 / 1.162 GB, free: 81.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/3.043, allocations: 0 / 1.162 GB, free: 81.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003679/3.046, allocations: 1.462 MB / 1.164 GB, free: 79.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/3.046, allocations: 4 kB / 1.164 GB, free: 79.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001835/3.048, allocations: 144 kB / 1.164 GB, free: 79.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002216/3.049, allocations: 45.62 kB / 1.164 GB, free: 79.55 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/3.049, allocations: 23.97 kB / 1.164 GB, free: 79.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/3.05, allocations: 2.533 MB / 1.167 GB, free: 76.72 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/3.05, allocations: 0 / 1.167 GB, free: 76.72 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/3.053, allocations: 1.013 MB / 1.168 GB, free: 75.61 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.531e-05/3.053, allocations: 100.9 kB / 1.168 GB, free: 75.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/3.053, allocations: 16 kB / 1.168 GB, free: 75.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/3.054, allocations: 39.95 kB / 1.168 GB, free: 75.44 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/3.054, allocations: 39.89 kB / 1.168 GB, free: 75.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/3.054, allocations: 39.92 kB / 1.168 GB, free: 75.36 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001189/3.054, allocations: 126.5 kB / 1.168 GB, free: 75.24 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.61e-07/3.054, allocations: 0 / 1.168 GB, free: 75.24 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002208/3.057, allocations: 435.7 kB / 1.168 GB, free: 74.82 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006852/3.064, allocations: 3.151 MB / 1.171 GB, free: 71.59 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001755/3.065, allocations: 0.539 MB / 1.172 GB, free: 71.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/3.065, allocations: 8.109 kB / 1.172 GB, free: 71.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009392/3.066, allocations: 470.8 kB / 1.172 GB, free: 70.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/3.067, allocations: 96.3 kB / 1.172 GB, free: 70.47 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/3.071, allocations: 0.9316 MB / 1.173 GB, free: 69.48 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/3.071, allocations: 0.7893 MB / 1.174 GB, free: 68.66 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001971/3.073, allocations: 187.1 kB / 1.174 GB, free: 68.48 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006094/3.074, allocations: 123.4 kB / 1.174 GB, free: 68.36 MB / 458.7 MB Notification: Performance of SimCode: time 1.172e-06/3.074, allocations: 0 / 1.174 GB, free: 68.36 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09621/3.17, allocations: 30.06 MB / 1.204 GB, free: 38.45 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/3.17, allocations: 175 kB / 1.204 GB, free: 38.22 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.048/7.218, allocations: 0 / 1.204 GB, free: 38.22 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.mat does not exist to compare? outputFormat=mat