Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.985/1.985, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.698e-05/3.726e-05, allocations: 4 kB / 255.4 MB, free: 3.133 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09659/0.09667, allocations: 44.51 MB / 299.9 MB, free: 6.562 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.42/2.517, allocations: 0.7338 GB / 1.027 GB, free: 104.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/2.517, allocations: 65.64 kB / 1.027 GB, free: 104.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.358/2.876, allocations: 107.1 MB / 1.131 GB, free: 10.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.783e-06/2.876, allocations: 4 kB / 1.131 GB, free: 10.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.651e-05/2.876, allocations: 4 kB / 1.131 GB, free: 10.75 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.003883/2.879, allocations: 0.7595 MB / 1.132 GB, free: 9.945 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/2.88, allocations: 12.03 kB / 1.132 GB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/2.88, allocations: 66.47 kB / 1.132 GB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003068/2.883, allocations: 251.9 kB / 1.132 GB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005605/2.883, allocations: 290.5 kB / 1.133 GB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/2.883, allocations: 20.56 kB / 1.133 GB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/2.884, allocations: 28 kB / 1.133 GB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/2.885, allocations: 0.6182 MB / 1.133 GB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/2.885, allocations: 0 / 1.133 GB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/2.885, allocations: 15.98 kB / 1.133 GB, free: 8.594 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/2.885, allocations: 16.44 kB / 1.133 GB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/2.887, allocations: 0.6581 MB / 1.134 GB, free: 7.918 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.005426/2.892, allocations: 1.796 MB / 1.136 GB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009727/2.893, allocations: 403.9 kB / 1.136 GB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004707/2.894, allocations: 189.7 kB / 1.136 GB, free: 5.422 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002193/2.896, allocations: 0.9128 MB / 1.137 GB, free: 4.359 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/2.896, allocations: 34.56 kB / 1.137 GB, free: 4.316 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.795e-06/2.896, allocations: 4 kB / 1.137 GB, free: 4.312 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.01609/2.912, allocations: 2.78 MB / 1.14 GB, free: 1.359 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/2.912, allocations: 81.11 kB / 1.14 GB, free: 1.262 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/2.912, allocations: 170.3 kB / 1.14 GB, free: 1.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.255e-05/2.912, allocations: 29.7 kB / 1.14 GB, free: 1.055 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.609e-05/2.912, allocations: 242.6 kB / 1.14 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/2.913, allocations: 177.5 kB / 1.141 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.768e-05/2.913, allocations: 12 kB / 1.141 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.043e-05/2.913, allocations: 334.8 kB / 1.141 GB, free: 300 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005808/2.913, allocations: 209.5 kB / 1.141 GB, free: 92 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2799/3.193, allocations: 370.8 kB / 1.142 GB, free: 115.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008225/3.194, allocations: 252 kB / 1.142 GB, free: 115.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/3.194, allocations: 3.875 kB / 1.142 GB, free: 115.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002124/3.196, allocations: 0.6665 MB / 1.142 GB, free: 115 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/3.196, allocations: 9.156 kB / 1.142 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/3.196, allocations: 8.406 kB / 1.142 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003546/3.197, allocations: 54.66 kB / 1.142 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/3.199, allocations: 180 kB / 1.143 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008112/3.2, allocations: 1.077 MB / 1.144 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/3.201, allocations: 47.38 kB / 1.144 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/3.201, allocations: 37.62 kB / 1.144 GB, free: 114 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.0002844/3.202, allocations: 144.2 kB / 1.144 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/3.202, allocations: 26.5 kB / 1.144 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002654/3.204, allocations: 0.6777 MB / 1.145 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/3.205, allocations: 7.719 kB / 1.145 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/3.205, allocations: 4 kB / 1.145 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/3.205, allocations: 5.625 kB / 1.145 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004277/3.209, allocations: 1.47 MB / 1.146 GB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/3.209, allocations: 1.594 kB / 1.146 GB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001945/3.211, allocations: 150.5 kB / 1.146 GB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002163/3.211, allocations: 40.5 kB / 1.146 GB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/3.211, allocations: 26.02 kB / 1.146 GB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/3.213, allocations: 2.533 MB / 1.149 GB, free: 110.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/3.213, allocations: 3.188 kB / 1.149 GB, free: 110.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002644/3.216, allocations: 1.009 MB / 1.15 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/3.216, allocations: 103.7 kB / 1.15 GB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/3.216, allocations: 17.11 kB / 1.15 GB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/3.217, allocations: 38.09 kB / 1.15 GB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/3.218, allocations: 43.7 kB / 1.15 GB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/3.218, allocations: 34.27 kB / 1.15 GB, free: 110.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001511/3.218, allocations: 122.4 kB / 1.15 GB, free: 110.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/3.218, allocations: 2.156 kB / 1.15 GB, free: 110.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002489/3.22, allocations: 442.3 kB / 1.151 GB, free: 110.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.007934/3.228, allocations: 3.157 MB / 1.154 GB, free: 108.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002107/3.23, allocations: 0.5405 MB / 1.154 GB, free: 108.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/3.231, allocations: 0 / 1.154 GB, free: 108.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/3.232, allocations: 499 kB / 1.155 GB, free: 108.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/3.233, allocations: 84.5 kB / 1.155 GB, free: 108.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00383/3.237, allocations: 0.9693 MB / 1.156 GB, free: 108.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/3.237, allocations: 0.7963 MB / 1.156 GB, free: 107.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009042/3.238, allocations: 137.9 kB / 1.157 GB, free: 107.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.633e-06/3.238, allocations: 3.281 kB / 1.157 GB, free: 107.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.352/6.59, allocations: 19.03 MB / 1.175 GB, free: 106.3 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.MixtureGases_res.mat does not exist to compare? outputFormat=mat