Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.023/2.023, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.892e-05/3.906e-05, allocations: 4 kB / 269.4 MB, free: 6.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 47.58 MB / 317 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.388/2.492, allocations: 0.7379 GB / 1.047 GB, free: 93.18 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/2.493, allocations: 67.03 kB / 1.048 GB, free: 93.15 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6551/3.148, allocations: 107.2 MB / 1.152 GB, free: 120.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.733e-06/3.148, allocations: 0 / 1.152 GB, free: 120.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.823e-05/3.148, allocations: 5.219 kB / 1.152 GB, free: 120.4 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00402/3.152, allocations: 0.7703 MB / 1.153 GB, free: 120 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/3.152, allocations: 9.406 kB / 1.153 GB, free: 120 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001509/3.152, allocations: 67.72 kB / 1.153 GB, free: 119.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003369/3.156, allocations: 256.2 kB / 1.153 GB, free: 119.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007196/3.156, allocations: 284.9 kB / 1.154 GB, free: 119.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/3.156, allocations: 24.94 kB / 1.154 GB, free: 119.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/3.157, allocations: 29.75 kB / 1.154 GB, free: 119.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/3.158, allocations: 0.6092 MB / 1.154 GB, free: 119.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/3.158, allocations: 1.281 kB / 1.154 GB, free: 119.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/3.158, allocations: 12.69 kB / 1.154 GB, free: 119.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.027e-05/3.159, allocations: 19.16 kB / 1.154 GB, free: 119.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/3.16, allocations: 0.6508 MB / 1.155 GB, free: 119.7 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.006306/3.167, allocations: 1.814 MB / 1.157 GB, free: 118.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/3.168, allocations: 387.7 kB / 1.157 GB, free: 118.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005315/3.168, allocations: 184.9 kB / 1.157 GB, free: 118.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002429/3.171, allocations: 0.9185 MB / 1.158 GB, free: 118 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/3.171, allocations: 36.75 kB / 1.158 GB, free: 118 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 4.138e-06/3.171, allocations: 3.938 kB / 1.158 GB, free: 118 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: 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.01756/3.188, allocations: 2.776 MB / 1.161 GB, free: 117.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/3.189, allocations: 81.02 kB / 1.161 GB, free: 117 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/3.189, allocations: 166.7 kB / 1.161 GB, free: 116.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.936e-05/3.189, allocations: 34.83 kB / 1.161 GB, free: 116.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/3.189, allocations: 181.2 kB / 1.161 GB, free: 116.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/3.189, allocations: 177.2 kB / 1.161 GB, free: 116.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.849e-05/3.189, allocations: 9.75 kB / 1.161 GB, free: 116.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.17e-05/3.189, allocations: 334.3 kB / 1.162 GB, free: 116.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005706/3.19, allocations: 209.1 kB / 1.162 GB, free: 116.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006773/3.191, allocations: 367.1 kB / 1.162 GB, free: 116.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006555/3.191, allocations: 251.4 kB / 1.163 GB, free: 116.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/3.191, allocations: 3.953 kB / 1.163 GB, free: 116.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001867/3.193, allocations: 0.6578 MB / 1.163 GB, free: 116.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/3.193, allocations: 10.33 kB / 1.163 GB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/3.193, allocations: 4.938 kB / 1.163 GB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/3.194, allocations: 59.91 kB / 1.163 GB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/3.196, allocations: 176.7 kB / 1.163 GB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006958/3.196, allocations: 1.079 MB / 1.164 GB, free: 115 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/3.198, allocations: 52.61 kB / 1.165 GB, free: 115 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/3.198, allocations: 32.53 kB / 1.165 GB, free: 115 MB / 426.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.0003001/3.198, allocations: 144.5 kB / 1.165 GB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/3.198, allocations: 26.75 kB / 1.165 GB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/3.201, allocations: 0.6806 MB / 1.165 GB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/3.201, allocations: 7.344 kB / 1.165 GB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/3.201, allocations: 2.906 kB / 1.165 GB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/3.201, allocations: 3.844 kB / 1.165 GB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003836/3.205, allocations: 1.449 MB / 1.167 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/3.205, allocations: 10.44 kB / 1.167 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00189/3.207, allocations: 147.8 kB / 1.167 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000204/3.207, allocations: 41.5 kB / 1.167 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/3.207, allocations: 29.58 kB / 1.167 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/3.209, allocations: 2.523 MB / 1.17 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/3.209, allocations: 5.656 kB / 1.17 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/3.211, allocations: 1.009 MB / 1.171 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/3.211, allocations: 108.9 kB / 1.171 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/3.211, allocations: 14.52 kB / 1.171 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/3.213, allocations: 37.62 kB / 1.171 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/3.213, allocations: 38.64 kB / 1.171 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/3.213, allocations: 36.59 kB / 1.171 GB, free: 111.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000126/3.213, allocations: 123.6 kB / 1.171 GB, free: 111.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.31e-07/3.213, allocations: 1.688 kB / 1.171 GB, free: 111.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002454/3.216, allocations: 446.1 kB / 1.171 GB, free: 111.1 MB / 426.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.00742/3.223, allocations: 3.163 MB / 1.174 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001878/3.225, allocations: 0.5336 MB / 1.175 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/3.225, allocations: 2.031 kB / 1.175 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/3.226, allocations: 472 kB / 1.175 GB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/3.227, allocations: 97.36 kB / 1.175 GB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/3.231, allocations: 0.9256 MB / 1.176 GB, free: 109 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/3.231, allocations: 0.7923 MB / 1.177 GB, free: 108.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002019/3.233, allocations: 191.1 kB / 1.177 GB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006554/3.234, allocations: 123.5 kB / 1.177 GB, free: 108.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/3.234, allocations: 3.594 kB / 1.177 GB, free: 108.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07449/3.309, allocations: 30.04 MB / 1.207 GB, free: 99.34 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/3.309, allocations: 171.4 kB / 1.207 GB, free: 99.12 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.13/7.439, allocations: 3.938 kB / 1.207 GB, free: 99.11 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat does not exist to compare? outputFormat=mat