Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.862/1.862, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.177e-05/3.199e-05, allocations: 1.406 kB / 255.4 MB, free: 2.641 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09453/0.09458, allocations: 44.51 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.284/2.379, allocations: 0.7338 GB / 1.027 GB, free: 103.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/2.379, allocations: 67.75 kB / 1.027 GB, free: 103.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.399/2.778, allocations: 107.1 MB / 1.131 GB, free: 8.344 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.535e-06/2.778, allocations: 4 kB / 1.131 GB, free: 8.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.087e-05/2.778, allocations: 4 kB / 1.131 GB, free: 8.336 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.005224/2.783, allocations: 0.7625 MB / 1.132 GB, free: 7.531 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/2.784, allocations: 12.03 kB / 1.132 GB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000148/2.784, allocations: 66.47 kB / 1.132 GB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004794/2.789, allocations: 251.9 kB / 1.132 GB, free: 7.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009439/2.79, allocations: 294.5 kB / 1.133 GB, free: 6.871 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/2.79, allocations: 20.56 kB / 1.133 GB, free: 6.852 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/2.79, allocations: 31.98 kB / 1.133 GB, free: 6.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002334/2.792, allocations: 0.6104 MB / 1.133 GB, free: 6.195 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/2.792, allocations: 0 / 1.133 GB, free: 6.195 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/2.792, allocations: 16 kB / 1.133 GB, free: 6.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.415e-05/2.793, allocations: 20.42 kB / 1.133 GB, free: 6.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002475/2.795, allocations: 0.6581 MB / 1.134 GB, free: 5.5 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.008966/2.804, allocations: 1.796 MB / 1.136 GB, free: 3.605 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/2.806, allocations: 396.8 kB / 1.136 GB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000742/2.806, allocations: 189.7 kB / 1.136 GB, free: 3.008 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00333/2.81, allocations: 0.9166 MB / 1.137 GB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/2.81, allocations: 34.56 kB / 1.137 GB, free: 1.898 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 5.821e-06/2.81, allocations: 4 kB / 1.137 GB, free: 1.895 MB / 410.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.296/3.106, allocations: 2.768 MB / 1.14 GB, free: 114.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/3.106, allocations: 79.48 kB / 1.14 GB, free: 114 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/3.106, allocations: 166.6 kB / 1.14 GB, free: 113.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.39e-05/3.106, allocations: 38.27 kB / 1.14 GB, free: 113.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.49e-05/3.106, allocations: 174.5 kB / 1.14 GB, free: 113.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/3.107, allocations: 179 kB / 1.141 GB, free: 113.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.8e-05/3.107, allocations: 12.78 kB / 1.141 GB, free: 113.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.546e-05/3.107, allocations: 337.9 kB / 1.141 GB, free: 113.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006781/3.107, allocations: 205.2 kB / 1.141 GB, free: 113.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007839/3.108, allocations: 372.5 kB / 1.141 GB, free: 113.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000748/3.109, allocations: 251.4 kB / 1.142 GB, free: 113.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/3.109, allocations: 1.312 kB / 1.142 GB, free: 113.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002232/3.111, allocations: 0.674 MB / 1.142 GB, free: 113.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/3.111, allocations: 13 kB / 1.142 GB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/3.111, allocations: 5.625 kB / 1.142 GB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000318/3.112, allocations: 54.44 kB / 1.142 GB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/3.114, allocations: 178.9 kB / 1.143 GB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007322/3.115, allocations: 1.084 MB / 1.144 GB, free: 112 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/3.116, allocations: 42.81 kB / 1.144 GB, free: 112 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/3.116, allocations: 35.56 kB / 1.144 GB, free: 112 MB / 410.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.0003028/3.116, allocations: 143.2 kB / 1.144 GB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/3.117, allocations: 33.45 kB / 1.144 GB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/3.119, allocations: 0.6812 MB / 1.145 GB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/3.119, allocations: 5.562 kB / 1.145 GB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/3.119, allocations: 2.438 kB / 1.145 GB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/3.119, allocations: 2.391 kB / 1.145 GB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004241/3.123, allocations: 1.471 MB / 1.146 GB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/3.124, allocations: 2.531 kB / 1.146 GB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/3.125, allocations: 144 kB / 1.146 GB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00022/3.126, allocations: 45 kB / 1.146 GB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/3.126, allocations: 24.83 kB / 1.146 GB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/3.128, allocations: 2.54 MB / 1.149 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/3.128, allocations: 2.281 kB / 1.149 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/3.13, allocations: 1.014 MB / 1.15 GB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/3.13, allocations: 99.66 kB / 1.15 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/3.131, allocations: 15.58 kB / 1.15 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/3.132, allocations: 39.05 kB / 1.15 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/3.132, allocations: 44.06 kB / 1.15 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/3.132, allocations: 33.91 kB / 1.15 GB, free: 108.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001397/3.132, allocations: 130.2 kB / 1.15 GB, free: 108.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/3.132, allocations: 0 / 1.15 GB, free: 108.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002246/3.135, allocations: 440.8 kB / 1.15 GB, free: 108.1 MB / 410.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.007461/3.142, allocations: 3.144 MB / 1.154 GB, free: 106.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002031/3.144, allocations: 0.545 MB / 1.154 GB, free: 106.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/3.144, allocations: 1.156 kB / 1.154 GB, free: 106.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/3.145, allocations: 0.4893 MB / 1.155 GB, free: 106.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/3.146, allocations: 92.56 kB / 1.155 GB, free: 106.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/3.15, allocations: 0.9317 MB / 1.156 GB, free: 106.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/3.15, allocations: 0.7996 MB / 1.156 GB, free: 105.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002098/3.153, allocations: 181.3 kB / 1.157 GB, free: 105.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006832/3.153, allocations: 127.7 kB / 1.157 GB, free: 105.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/3.153, allocations: 0 / 1.157 GB, free: 105.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07295/3.226, allocations: 30 MB / 1.186 GB, free: 103.2 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/3.227, allocations: 172.6 kB / 1.186 GB, free: 103 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.224/7.45, allocations: 0 / 1.186 GB, free: 103 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.MixtureGases_res.mat does not exist to compare? outputFormat=mat