Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.964/1.964, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.601e-05, allocations: 0 / 273.1 MB, free: 0.6602 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1101, allocations: 48.71 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.332/2.443, allocations: 0.7091 GB / 1.023 GB, free: 110 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/2.443, allocations: 73.89 kB / 1.023 GB, free: 110 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1243/2.567, allocations: 33.2 MB / 1.056 GB, free: 80.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.953e-06/2.567, allocations: 0 / 1.056 GB, free: 80.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.318e-05/2.567, allocations: 0 / 1.056 GB, free: 80.17 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006051/2.568, allocations: 430.6 kB / 1.056 GB, free: 79.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/2.568, allocations: 8.031 kB / 1.056 GB, free: 79.69 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.687e-05/2.568, allocations: 38.56 kB / 1.056 GB, free: 79.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002849/2.571, allocations: 188.2 kB / 1.056 GB, free: 79.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/2.571, allocations: 202.9 kB / 1.057 GB, free: 79.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/2.571, allocations: 4.188 kB / 1.057 GB, free: 79.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.329e-05/2.571, allocations: 12 kB / 1.057 GB, free: 79.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005581/2.572, allocations: 191 kB / 1.057 GB, free: 79.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/2.572, allocations: 0 / 1.057 GB, free: 79.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.882e-05/2.572, allocations: 7.953 kB / 1.057 GB, free: 79.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/2.572, allocations: 4 kB / 1.057 GB, free: 79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005911/2.573, allocations: 199.9 kB / 1.057 GB, free: 78.81 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.002197/2.575, allocations: 0.6093 MB / 1.058 GB, free: 78.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/2.575, allocations: 146.6 kB / 1.058 GB, free: 77.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/2.576, allocations: 72.86 kB / 1.058 GB, free: 77.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003075/2.576, allocations: 105.3 kB / 1.058 GB, free: 77.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/2.576, allocations: 30.56 kB / 1.058 GB, free: 77.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.386e-06/2.576, allocations: 3.938 kB / 1.058 GB, free: 77.75 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.007973/2.584, allocations: 1.209 MB / 1.059 GB, free: 76.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/2.584, allocations: 51.41 kB / 1.059 GB, free: 76.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.929e-05/2.584, allocations: 105 kB / 1.059 GB, free: 76.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/2.584, allocations: 33.7 kB / 1.059 GB, free: 76.24 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/2.584, allocations: 166.7 kB / 1.06 GB, free: 76.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.576e-05/2.584, allocations: 63.09 kB / 1.06 GB, free: 76.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/2.584, allocations: 11.94 kB / 1.06 GB, free: 76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.403e-05/2.584, allocations: 322.8 kB / 1.06 GB, free: 75.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/2.585, allocations: 72 kB / 1.06 GB, free: 75.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/2.585, allocations: 105.6 kB / 1.06 GB, free: 75.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/2.585, allocations: 87.89 kB / 1.06 GB, free: 75.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/2.585, allocations: 4 kB / 1.06 GB, free: 75.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006905/2.586, allocations: 242.3 kB / 1.06 GB, free: 75.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/2.586, allocations: 4 kB / 1.06 GB, free: 75.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/2.586, allocations: 7.875 kB / 1.06 GB, free: 75.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001962/2.586, allocations: 28.94 kB / 1.06 GB, free: 75.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006389/2.587, allocations: 47.97 kB / 1.06 GB, free: 75.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003622/2.587, allocations: 0.5406 MB / 1.061 GB, free: 74.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/2.588, allocations: 15.94 kB / 1.061 GB, free: 74.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/2.588, allocations: 11.98 kB / 1.061 GB, free: 74.47 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001267/2.588, allocations: 121 kB / 1.061 GB, free: 74.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.61e-05/2.588, allocations: 7.906 kB / 1.061 GB, free: 74.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008647/2.589, allocations: 271.1 kB / 1.061 GB, free: 74.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/2.589, allocations: 4 kB / 1.061 GB, free: 74.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/2.589, allocations: 3.953 kB / 1.061 GB, free: 74.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/2.589, allocations: 0 / 1.061 GB, free: 74.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/2.59, allocations: 0.6402 MB / 1.062 GB, free: 73.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/2.59, allocations: 0 / 1.062 GB, free: 73.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006483/2.591, allocations: 51.89 kB / 1.062 GB, free: 73.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/2.591, allocations: 16.86 kB / 1.062 GB, free: 73.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/2.591, allocations: 11.92 kB / 1.062 GB, free: 73.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009282/2.592, allocations: 1.26 MB / 1.063 GB, free: 71.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/2.592, allocations: 8.016 kB / 1.063 GB, free: 71.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009194/2.593, allocations: 439 kB / 1.064 GB, free: 71.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/2.593, allocations: 92.94 kB / 1.064 GB, free: 71.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/2.593, allocations: 11.98 kB / 1.064 GB, free: 71.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/2.593, allocations: 11.97 kB / 1.064 GB, free: 71.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/2.594, allocations: 15.98 kB / 1.064 GB, free: 71.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.211e-05/2.594, allocations: 7.984 kB / 1.064 GB, free: 71.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.415e-05/2.594, allocations: 87.28 kB / 1.064 GB, free: 71.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.594, allocations: 0 / 1.064 GB, free: 71.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008797/2.595, allocations: 163.9 kB / 1.064 GB, free: 70.99 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002722/2.597, allocations: 1.707 MB / 1.066 GB, free: 69.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007198/2.598, allocations: 204 kB / 1.066 GB, free: 69.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/2.598, allocations: 4 kB / 1.066 GB, free: 69.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004055/2.598, allocations: 214.5 kB / 1.066 GB, free: 68.81 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005776/2.599, allocations: 39.27 kB / 1.066 GB, free: 68.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/2.6, allocations: 444.5 kB / 1.067 GB, free: 68.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/2.601, allocations: 0.7126 MB / 1.067 GB, free: 67.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/2.601, allocations: 43.41 kB / 1.067 GB, free: 67.51 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/2.601, allocations: 0 / 1.067 GB, free: 67.51 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.912/5.513, allocations: 7.88 MB / 1.075 GB, free: 59.62 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat