Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.123/2.123, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.31e-05/4.324e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 47.58 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.466/2.58, allocations: 0.7178 GB / 1.027 GB, free: 112.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/2.58, allocations: 78.08 kB / 1.028 GB, free: 112.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1158/2.696, allocations: 33.69 MB / 1.06 GB, free: 84.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.935e-06/2.696, allocations: 4 kB / 1.06 GB, free: 84.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.275e-05/2.696, allocations: 4.656 kB / 1.06 GB, free: 84.29 MB / 426.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.0005548/2.697, allocations: 409.9 kB / 1.061 GB, free: 83.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/2.697, allocations: 12.03 kB / 1.061 GB, free: 83.83 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.034e-05/2.697, allocations: 34.44 kB / 1.061 GB, free: 83.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002725/2.699, allocations: 192.7 kB / 1.061 GB, free: 83.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/2.7, allocations: 208.9 kB / 1.061 GB, free: 83.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/2.7, allocations: 8.219 kB / 1.061 GB, free: 83.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.41e-05/2.7, allocations: 15.23 kB / 1.061 GB, free: 83.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/2.7, allocations: 188.1 kB / 1.061 GB, free: 83.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/2.7, allocations: 0 / 1.061 GB, free: 83.24 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.272e-05/2.7, allocations: 7.875 kB / 1.061 GB, free: 83.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/2.7, allocations: 0 / 1.061 GB, free: 83.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005558/2.701, allocations: 199.8 kB / 1.062 GB, free: 83.11 MB / 426.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.001959/2.703, allocations: 0.6165 MB / 1.062 GB, free: 82.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/2.703, allocations: 147.6 kB / 1.062 GB, free: 82.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/2.704, allocations: 85.02 kB / 1.062 GB, free: 82.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002627/2.704, allocations: 100.8 kB / 1.063 GB, free: 82.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/2.704, allocations: 30.56 kB / 1.063 GB, free: 82.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.575e-06/2.704, allocations: 3.938 kB / 1.063 GB, free: 82.23 MB / 426.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.007455/2.711, allocations: 1.203 MB / 1.064 GB, free: 81.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/2.711, allocations: 51.41 kB / 1.064 GB, free: 81.06 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.321e-05/2.711, allocations: 108.8 kB / 1.064 GB, free: 80.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/2.711, allocations: 29.58 kB / 1.064 GB, free: 80.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/2.712, allocations: 103.2 kB / 1.064 GB, free: 80.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.769e-05/2.712, allocations: 70.06 kB / 1.064 GB, free: 80.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/2.712, allocations: 0 / 1.064 GB, free: 80.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.194e-05/2.712, allocations: 325.9 kB / 1.064 GB, free: 80.44 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/2.712, allocations: 72.88 kB / 1.064 GB, free: 80.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/2.712, allocations: 102.8 kB / 1.065 GB, free: 80.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/2.712, allocations: 85.92 kB / 1.065 GB, free: 80.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/2.712, allocations: 4 kB / 1.065 GB, free: 80.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000621/2.713, allocations: 245.8 kB / 1.065 GB, free: 80.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/2.713, allocations: 7.984 kB / 1.065 GB, free: 80.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/2.713, allocations: 3.938 kB / 1.065 GB, free: 80.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/2.713, allocations: 24.66 kB / 1.065 GB, free: 80.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006279/2.714, allocations: 51.91 kB / 1.065 GB, free: 79.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003221/2.714, allocations: 0.5395 MB / 1.066 GB, free: 79.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/2.715, allocations: 11.48 kB / 1.066 GB, free: 79.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/2.715, allocations: 11.25 kB / 1.066 GB, free: 79.42 MB / 426.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.0001085/2.715, allocations: 116.2 kB / 1.066 GB, free: 79.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-05/2.715, allocations: 7.906 kB / 1.066 GB, free: 79.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007963/2.716, allocations: 279.4 kB / 1.066 GB, free: 79.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/2.716, allocations: 4 kB / 1.066 GB, free: 79.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/2.716, allocations: 4 kB / 1.066 GB, free: 79.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/2.716, allocations: 3.938 kB / 1.066 GB, free: 79.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/2.717, allocations: 0.6384 MB / 1.067 GB, free: 78.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/2.717, allocations: 7.938 kB / 1.067 GB, free: 78.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000633/2.718, allocations: 47.41 kB / 1.067 GB, free: 78.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.729e-05/2.718, allocations: 24.75 kB / 1.067 GB, free: 78.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/2.718, allocations: 7.984 kB / 1.067 GB, free: 78.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007892/2.719, allocations: 1.263 MB / 1.068 GB, free: 77.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/2.719, allocations: 0 / 1.068 GB, free: 77.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008096/2.719, allocations: 455.4 kB / 1.068 GB, free: 76.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/2.72, allocations: 81.02 kB / 1.068 GB, free: 76.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/2.72, allocations: 7 kB / 1.068 GB, free: 76.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/2.72, allocations: 11.67 kB / 1.068 GB, free: 76.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/2.72, allocations: 15.94 kB / 1.068 GB, free: 76.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/2.72, allocations: 15.86 kB / 1.068 GB, free: 76.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.342e-05/2.72, allocations: 87.58 kB / 1.069 GB, free: 76.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.72, allocations: 4.062 kB / 1.069 GB, free: 76.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009037/2.721, allocations: 160.5 kB / 1.069 GB, free: 76.29 MB / 426.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.002325/2.723, allocations: 1.708 MB / 1.07 GB, free: 74.63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006092/2.724, allocations: 192.3 kB / 1.071 GB, free: 74.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/2.724, allocations: 3.938 kB / 1.071 GB, free: 74.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003966/2.724, allocations: 205.4 kB / 1.071 GB, free: 74.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005534/2.725, allocations: 47.16 kB / 1.071 GB, free: 74.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/2.726, allocations: 402.2 kB / 1.071 GB, free: 73.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/2.726, allocations: 0.7049 MB / 1.072 GB, free: 73.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005758/2.727, allocations: 49.17 kB / 1.072 GB, free: 73.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/2.727, allocations: 45.16 kB / 1.072 GB, free: 73.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.253e-06/2.727, allocations: 3.938 kB / 1.072 GB, free: 73.07 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04285/2.77, allocations: 16.1 MB / 1.088 GB, free: 57.04 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003199/2.77, allocations: 181.2 kB / 1.088 GB, free: 56.81 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.315/6.086, allocations: 0 / 1.088 GB, free: 56.81 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat