Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.016/2.016, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.644e-05/3.652e-05, allocations: 4 kB / 292.2 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 50.41 MB / 342.6 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.296/2.415, allocations: 0.707 GB / 1.042 GB, free: 11.64 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/2.415, allocations: 69.97 kB / 1.042 GB, free: 11.61 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6907/3.106, allocations: 109.6 MB / 1.149 GB, free: 95.53 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.164e-06/3.106, allocations: 4 kB / 1.149 GB, free: 95.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.577e-05/3.106, allocations: 8 kB / 1.149 GB, free: 95.52 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.003829/3.11, allocations: 0.7556 MB / 1.149 GB, free: 94.71 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/3.11, allocations: 12.03 kB / 1.149 GB, free: 94.7 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/3.11, allocations: 66.53 kB / 1.15 GB, free: 94.63 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003227/3.113, allocations: 259.4 kB / 1.15 GB, free: 94.38 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006436/3.114, allocations: 290.5 kB / 1.15 GB, free: 94.05 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/3.114, allocations: 24.56 kB / 1.15 GB, free: 94.03 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/3.114, allocations: 24 kB / 1.15 GB, free: 94 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/3.116, allocations: 0.617 MB / 1.151 GB, free: 93.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/3.116, allocations: 0 / 1.151 GB, free: 93.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/3.116, allocations: 12 kB / 1.151 GB, free: 93.36 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.776e-05/3.116, allocations: 16.44 kB / 1.151 GB, free: 93.35 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/3.117, allocations: 0.6572 MB / 1.151 GB, free: 92.69 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.005912/3.123, allocations: 1.807 MB / 1.153 GB, free: 90.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000978/3.124, allocations: 385 kB / 1.153 GB, free: 90.39 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004634/3.125, allocations: 185.7 kB / 1.154 GB, free: 90.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002217/3.127, allocations: 0.9162 MB / 1.155 GB, free: 89.14 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/3.127, allocations: 42.56 kB / 1.155 GB, free: 89.09 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 3.637e-06/3.127, allocations: 0 / 1.155 GB, free: 89.09 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.01694/3.144, allocations: 2.775 MB / 1.157 GB, free: 86.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/3.144, allocations: 85.11 kB / 1.157 GB, free: 86.04 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/3.144, allocations: 162.8 kB / 1.158 GB, free: 85.88 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.599e-05/3.144, allocations: 37.64 kB / 1.158 GB, free: 85.83 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.721e-05/3.145, allocations: 180.1 kB / 1.158 GB, free: 85.65 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/3.145, allocations: 173.5 kB / 1.158 GB, free: 85.48 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.719e-05/3.145, allocations: 8 kB / 1.158 GB, free: 85.47 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.773e-05/3.145, allocations: 346.7 kB / 1.158 GB, free: 85.12 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/3.146, allocations: 209.5 kB / 1.158 GB, free: 84.92 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006439/3.146, allocations: 368.6 kB / 1.159 GB, free: 84.49 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006457/3.147, allocations: 248.8 kB / 1.159 GB, free: 84.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/3.147, allocations: 8 kB / 1.159 GB, free: 84.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001823/3.149, allocations: 0.6606 MB / 1.16 GB, free: 83.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/3.149, allocations: 4 kB / 1.16 GB, free: 83.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/3.149, allocations: 8 kB / 1.16 GB, free: 83.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002923/3.149, allocations: 53.62 kB / 1.16 GB, free: 83.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/3.151, allocations: 175.7 kB / 1.16 GB, free: 83.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006656/3.152, allocations: 1.085 MB / 1.161 GB, free: 82.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/3.153, allocations: 48.14 kB / 1.161 GB, free: 82.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/3.153, allocations: 35.98 kB / 1.161 GB, free: 82.11 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.0002599/3.154, allocations: 140.8 kB / 1.161 GB, free: 81.97 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/3.154, allocations: 31.67 kB / 1.161 GB, free: 81.94 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/3.156, allocations: 0.6775 MB / 1.162 GB, free: 81.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/3.156, allocations: 8 kB / 1.162 GB, free: 81.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/3.156, allocations: 4 kB / 1.162 GB, free: 81.24 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/3.156, allocations: 3.984 kB / 1.162 GB, free: 81.24 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003832/3.16, allocations: 1.462 MB / 1.163 GB, free: 79.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/3.16, allocations: 0 / 1.163 GB, free: 79.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001926/3.162, allocations: 155.9 kB / 1.163 GB, free: 79.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002037/3.162, allocations: 37.7 kB / 1.164 GB, free: 79.49 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/3.162, allocations: 23.97 kB / 1.164 GB, free: 79.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/3.164, allocations: 2.529 MB / 1.166 GB, free: 76.67 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/3.164, allocations: 3.953 kB / 1.166 GB, free: 76.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/3.166, allocations: 1.017 MB / 1.167 GB, free: 75.55 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.918e-05/3.167, allocations: 96.83 kB / 1.167 GB, free: 75.44 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/3.167, allocations: 12 kB / 1.167 GB, free: 75.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/3.168, allocations: 40 kB / 1.167 GB, free: 75.39 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-05/3.168, allocations: 47.84 kB / 1.167 GB, free: 75.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/3.168, allocations: 39.95 kB / 1.167 GB, free: 75.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001228/3.168, allocations: 115.3 kB / 1.167 GB, free: 75.19 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.41e-07/3.168, allocations: 0 / 1.167 GB, free: 75.19 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002301/3.171, allocations: 443.6 kB / 1.168 GB, free: 74.76 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.00719/3.178, allocations: 3.162 MB / 1.171 GB, free: 71.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001814/3.18, allocations: 0.5352 MB / 1.171 GB, free: 70.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/3.18, allocations: 0 / 1.171 GB, free: 70.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/3.181, allocations: 467.5 kB / 1.172 GB, free: 70.51 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/3.182, allocations: 100.5 kB / 1.172 GB, free: 70.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/3.186, allocations: 0.9239 MB / 1.173 GB, free: 69.42 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/3.186, allocations: 0.7893 MB / 1.174 GB, free: 68.61 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001949/3.188, allocations: 187.1 kB / 1.174 GB, free: 68.42 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006657/3.189, allocations: 131.3 kB / 1.174 GB, free: 68.29 MB / 458.7 MB Notification: Performance of SimCode: time 1.723e-06/3.189, allocations: 0 / 1.174 GB, free: 68.29 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0863/3.275, allocations: 30.06 MB / 1.203 GB, free: 38.39 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/3.275, allocations: 173 kB / 1.203 GB, free: 38.16 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.182/7.457, allocations: 7.922 kB / 1.203 GB, free: 38.16 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.MixtureGases_res.mat does not exist to compare? outputFormat=mat