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 2.019/2.019, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.587e-05/3.596e-05, allocations: 3.984 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1029, allocations: 44.51 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.326/2.429, allocations: 0.7338 GB / 1.027 GB, free: 103.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/2.43, allocations: 64.72 kB / 1.027 GB, free: 103.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3706/2.8, allocations: 107.1 MB / 1.131 GB, free: 8.238 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.923e-06/2.8, allocations: 0 / 1.131 GB, free: 8.238 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/2.8, allocations: 4 kB / 1.131 GB, free: 8.234 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.00372/2.804, allocations: 0.7625 MB / 1.132 GB, free: 7.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/2.804, allocations: 16.03 kB / 1.132 GB, free: 7.414 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001223/2.804, allocations: 66.53 kB / 1.132 GB, free: 7.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/2.807, allocations: 251.9 kB / 1.132 GB, free: 7.094 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006643/2.808, allocations: 294.5 kB / 1.133 GB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/2.808, allocations: 20.56 kB / 1.133 GB, free: 6.746 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/2.808, allocations: 28 kB / 1.133 GB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/2.81, allocations: 0.6131 MB / 1.133 GB, free: 6.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/2.81, allocations: 4 kB / 1.133 GB, free: 6.086 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/2.81, allocations: 12 kB / 1.133 GB, free: 6.074 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-05/2.81, allocations: 16.44 kB / 1.133 GB, free: 6.059 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/2.812, allocations: 0.6533 MB / 1.134 GB, free: 5.406 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.006046/2.818, allocations: 1.8 MB / 1.136 GB, free: 3.512 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009736/2.819, allocations: 389 kB / 1.136 GB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004726/2.819, allocations: 191.5 kB / 1.136 GB, free: 2.922 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002257/2.822, allocations: 0.9126 MB / 1.137 GB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/2.822, allocations: 42.55 kB / 1.137 GB, free: 1.809 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.397e-06/2.822, allocations: 0 / 1.137 GB, free: 1.809 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.2909/3.113, allocations: 2.77 MB / 1.14 GB, free: 114.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/3.113, allocations: 84.73 kB / 1.14 GB, free: 114.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/3.113, allocations: 163.2 kB / 1.14 GB, free: 114 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/3.113, allocations: 34.45 kB / 1.14 GB, free: 113.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/3.113, allocations: 177.9 kB / 1.14 GB, free: 113.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/3.113, allocations: 178.4 kB / 1.141 GB, free: 113.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.93e-05/3.113, allocations: 10.81 kB / 1.141 GB, free: 113.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.582e-05/3.114, allocations: 334.8 kB / 1.141 GB, free: 113.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000627/3.114, allocations: 212.6 kB / 1.141 GB, free: 113.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007525/3.115, allocations: 371.6 kB / 1.142 GB, free: 113.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007036/3.116, allocations: 248.8 kB / 1.142 GB, free: 113.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/3.116, allocations: 7.562 kB / 1.142 GB, free: 113.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002267/3.118, allocations: 0.6523 MB / 1.142 GB, free: 113.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/3.118, allocations: 7.531 kB / 1.142 GB, free: 113.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/3.118, allocations: 6.172 kB / 1.142 GB, free: 113.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003146/3.118, allocations: 60.27 kB / 1.142 GB, free: 113.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/3.12, allocations: 181.1 kB / 1.143 GB, free: 113.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000706/3.121, allocations: 1.081 MB / 1.144 GB, free: 112.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/3.123, allocations: 41.88 kB / 1.144 GB, free: 112.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/3.123, allocations: 41.62 kB / 1.144 GB, free: 112.1 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.0002777/3.123, allocations: 142.9 kB / 1.144 GB, free: 112 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/3.123, allocations: 26.12 kB / 1.144 GB, free: 112 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/3.126, allocations: 0.6823 MB / 1.145 GB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/3.126, allocations: 8.156 kB / 1.145 GB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/3.126, allocations: 3.797 kB / 1.145 GB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/3.126, allocations: 2.719 kB / 1.145 GB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004301/3.13, allocations: 1.46 MB / 1.146 GB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/3.13, allocations: 2.062 kB / 1.146 GB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001958/3.132, allocations: 148.7 kB / 1.146 GB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002288/3.133, allocations: 43.94 kB / 1.146 GB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/3.133, allocations: 26.61 kB / 1.146 GB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/3.134, allocations: 2.527 MB / 1.149 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/3.135, allocations: 4.719 kB / 1.149 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/3.137, allocations: 1.011 MB / 1.15 GB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/3.137, allocations: 102.2 kB / 1.15 GB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/3.137, allocations: 12.03 kB / 1.15 GB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/3.139, allocations: 36.92 kB / 1.15 GB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/3.139, allocations: 47.42 kB / 1.15 GB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/3.139, allocations: 34.22 kB / 1.15 GB, free: 108.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001632/3.139, allocations: 126.5 kB / 1.15 GB, free: 108.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/3.139, allocations: 0 / 1.15 GB, free: 108.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002477/3.142, allocations: 438.3 kB / 1.15 GB, free: 108.2 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.007732/3.15, allocations: 3.152 MB / 1.154 GB, free: 106.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002039/3.152, allocations: 0.5387 MB / 1.154 GB, free: 106.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/3.152, allocations: 1.406 kB / 1.154 GB, free: 106.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/3.153, allocations: 476 kB / 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.001127/3.154, allocations: 95.94 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.003909/3.158, allocations: 0.9269 MB / 1.156 GB, free: 106.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/3.158, allocations: 0.7906 MB / 1.156 GB, free: 105.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002096/3.16, allocations: 188.4 kB / 1.156 GB, free: 105.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006929/3.161, allocations: 129.5 kB / 1.157 GB, free: 105.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.603e-06/3.161, allocations: 0 / 1.157 GB, free: 105.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07619/3.237, allocations: 30.04 MB / 1.186 GB, free: 103.2 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/3.238, allocations: 170.6 kB / 1.186 GB, free: 103 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.939/7.176, 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