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.982/1.982, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.583e-05/3.588e-05, allocations: 4 kB / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09419/0.09427, allocations: 44.5 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.234/2.328, allocations: 0.7338 GB / 1.027 GB, free: 103.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/2.329, allocations: 63.55 kB / 1.027 GB, free: 103.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3628/2.691, allocations: 107.1 MB / 1.131 GB, free: 8.676 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/2.691, allocations: 0 / 1.131 GB, free: 8.676 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.54e-05/2.691, allocations: 8 kB / 1.131 GB, free: 8.668 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.003599/2.695, allocations: 0.7594 MB / 1.132 GB, free: 7.863 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/2.695, allocations: 12.03 kB / 1.132 GB, free: 7.852 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/2.695, allocations: 70.53 kB / 1.132 GB, free: 7.773 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003091/2.698, allocations: 251.9 kB / 1.132 GB, free: 7.527 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005881/2.699, allocations: 298.5 kB / 1.133 GB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/2.699, allocations: 20.56 kB / 1.133 GB, free: 7.176 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/2.699, allocations: 24 kB / 1.133 GB, free: 7.152 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/2.701, allocations: 0.6092 MB / 1.133 GB, free: 6.527 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/2.701, allocations: 8 kB / 1.133 GB, free: 6.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/2.701, allocations: 12 kB / 1.133 GB, free: 6.508 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.503e-05/2.701, allocations: 16.44 kB / 1.133 GB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/2.702, allocations: 0.6533 MB / 1.134 GB, free: 5.84 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.005649/2.708, allocations: 1.8 MB / 1.136 GB, free: 3.945 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009476/2.709, allocations: 388.1 kB / 1.136 GB, free: 3.551 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004566/2.709, allocations: 186.1 kB / 1.136 GB, free: 3.363 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002178/2.712, allocations: 0.9204 MB / 1.137 GB, free: 2.293 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/2.712, allocations: 38.56 kB / 1.137 GB, free: 2.246 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.036e-06/2.712, allocations: 0 / 1.137 GB, free: 2.246 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.2957/3.007, allocations: 2.775 MB / 1.14 GB, free: 114.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/3.007, allocations: 80.48 kB / 1.14 GB, free: 114.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/3.008, allocations: 162.2 kB / 1.14 GB, free: 114.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001233/3.008, allocations: 34.45 kB / 1.14 GB, free: 114.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/3.008, allocations: 248.7 kB / 1.14 GB, free: 114 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/3.008, allocations: 168.7 kB / 1.141 GB, free: 114 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/3.008, allocations: 11 kB / 1.141 GB, free: 114 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/3.009, allocations: 343.5 kB / 1.141 GB, free: 113.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000874/3.009, allocations: 204.9 kB / 1.141 GB, free: 113.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/3.011, allocations: 370.2 kB / 1.142 GB, free: 113.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/3.012, allocations: 250.1 kB / 1.142 GB, free: 113.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/3.012, allocations: 5.5 kB / 1.142 GB, free: 113.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003019/3.015, allocations: 0.6583 MB / 1.142 GB, free: 113.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/3.015, allocations: 8.562 kB / 1.142 GB, free: 113.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/3.015, allocations: 5.984 kB / 1.142 GB, free: 113.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000394/3.015, allocations: 58.66 kB / 1.142 GB, free: 113.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002709/3.018, allocations: 176.2 kB / 1.143 GB, free: 113.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003129/3.021, allocations: 1.077 MB / 1.144 GB, free: 112.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/3.023, allocations: 43.38 kB / 1.144 GB, free: 112.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/3.023, allocations: 40.17 kB / 1.144 GB, free: 112.4 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.0003352/3.024, allocations: 142.7 kB / 1.144 GB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002384/3.024, allocations: 31.8 kB / 1.144 GB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009029/3.033, allocations: 0.676 MB / 1.145 GB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/3.033, allocations: 5.938 kB / 1.145 GB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/3.033, allocations: 1.062 kB / 1.145 GB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/3.033, allocations: 7.281 kB / 1.145 GB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005816/3.039, allocations: 1.466 MB / 1.146 GB, free: 111.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/3.039, allocations: 2.5 kB / 1.146 GB, free: 111.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002433/3.041, allocations: 148.2 kB / 1.146 GB, free: 111.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002747/3.042, allocations: 42.72 kB / 1.146 GB, free: 111.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001642/3.042, allocations: 25.72 kB / 1.146 GB, free: 111.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00232/3.044, allocations: 2.522 MB / 1.149 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/3.044, allocations: 8.203 kB / 1.149 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003427/3.048, allocations: 1.009 MB / 1.15 GB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/3.048, allocations: 104 kB / 1.15 GB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/3.048, allocations: 11.39 kB / 1.15 GB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/3.05, allocations: 40.45 kB / 1.15 GB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/3.05, allocations: 45.45 kB / 1.15 GB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/3.05, allocations: 34.25 kB / 1.15 GB, free: 108.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001738/3.05, allocations: 125.8 kB / 1.15 GB, free: 108.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.21e-07/3.05, allocations: 2.656 kB / 1.15 GB, free: 108.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003308/3.054, allocations: 441.1 kB / 1.15 GB, free: 108.4 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.01023/3.064, allocations: 3.158 MB / 1.154 GB, free: 106.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00261/3.067, allocations: 0.5393 MB / 1.154 GB, free: 106.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/3.067, allocations: 2.516 kB / 1.154 GB, free: 106.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00145/3.068, allocations: 474.1 kB / 1.155 GB, free: 106.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/3.07, allocations: 88.17 kB / 1.155 GB, free: 106.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00483/3.074, allocations: 0.9579 MB / 1.156 GB, free: 106.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005247/3.075, allocations: 0.7928 MB / 1.156 GB, free: 105.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/3.076, allocations: 146.1 kB / 1.156 GB, free: 105.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.433e-06/3.076, allocations: 0 / 1.156 GB, free: 105.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.47/6.546, allocations: 19.08 MB / 1.175 GB, free: 104.5 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