Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.016/2.016, allocations: 209.3 MB / 221.5 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.938e-05/3.941e-05, allocations: 0 / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.408/2.526, allocations: 0.7091 GB / 1.023 GB, free: 108.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/2.526, allocations: 65.47 kB / 1.023 GB, free: 108.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.12/2.646, allocations: 33.19 MB / 1.056 GB, free: 78.92 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.013e-06/2.646, allocations: 0 / 1.056 GB, free: 78.92 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/2.646, allocations: 4 kB / 1.056 GB, free: 78.91 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.0005804/2.647, allocations: 414.6 kB / 1.056 GB, free: 78.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/2.647, allocations: 12.03 kB / 1.056 GB, free: 78.45 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.836e-05/2.647, allocations: 42.55 kB / 1.056 GB, free: 78.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002798/2.65, allocations: 188.2 kB / 1.057 GB, free: 78.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/2.65, allocations: 202.9 kB / 1.057 GB, free: 77.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/2.65, allocations: 4.188 kB / 1.057 GB, free: 77.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/2.65, allocations: 12 kB / 1.057 GB, free: 77.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000535/2.651, allocations: 194.2 kB / 1.057 GB, free: 77.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/2.651, allocations: 0 / 1.057 GB, free: 77.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.812e-05/2.651, allocations: 7.953 kB / 1.057 GB, free: 77.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/2.651, allocations: 4 kB / 1.057 GB, free: 77.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005656/2.651, allocations: 192.3 kB / 1.057 GB, free: 77.57 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.002041/2.653, allocations: 0.6132 MB / 1.058 GB, free: 76.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/2.654, allocations: 146.5 kB / 1.058 GB, free: 76.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/2.654, allocations: 72.86 kB / 1.058 GB, free: 76.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002923/2.654, allocations: 101.1 kB / 1.058 GB, free: 76.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/2.654, allocations: 34.72 kB / 1.058 GB, free: 76.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.636e-06/2.654, allocations: 0 / 1.058 GB, free: 76.51 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.007754/2.662, allocations: 1.202 MB / 1.059 GB, free: 75.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/2.662, allocations: 55.41 kB / 1.059 GB, free: 75.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.182e-05/2.662, allocations: 105 kB / 1.059 GB, free: 75.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/2.662, allocations: 33.7 kB / 1.059 GB, free: 75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/2.662, allocations: 100.2 kB / 1.059 GB, free: 74.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.423e-05/2.663, allocations: 67.09 kB / 1.06 GB, free: 74.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/2.663, allocations: 7.938 kB / 1.06 GB, free: 74.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.391e-05/2.663, allocations: 322.8 kB / 1.06 GB, free: 74.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/2.663, allocations: 72 kB / 1.06 GB, free: 74.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/2.663, allocations: 105.4 kB / 1.06 GB, free: 74.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/2.663, allocations: 84.47 kB / 1.06 GB, free: 74.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/2.663, allocations: 0 / 1.06 GB, free: 74.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006483/2.664, allocations: 242.3 kB / 1.06 GB, free: 73.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/2.664, allocations: 8 kB / 1.06 GB, free: 73.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/2.664, allocations: 0 / 1.06 GB, free: 73.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001898/2.664, allocations: 28.94 kB / 1.06 GB, free: 73.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006304/2.665, allocations: 51.91 kB / 1.06 GB, free: 73.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003408/2.665, allocations: 0.5405 MB / 1.061 GB, free: 73.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/2.666, allocations: 8.031 kB / 1.061 GB, free: 73.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/2.666, allocations: 8 kB / 1.061 GB, free: 73.31 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.0001551/2.666, allocations: 121 kB / 1.061 GB, free: 73.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-05/2.666, allocations: 11.91 kB / 1.061 GB, free: 73.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008393/2.667, allocations: 271 kB / 1.061 GB, free: 72.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/2.667, allocations: 0 / 1.061 GB, free: 72.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/2.667, allocations: 7.953 kB / 1.061 GB, free: 72.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/2.667, allocations: 4 kB / 1.061 GB, free: 72.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/2.668, allocations: 0.6403 MB / 1.062 GB, free: 72.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/2.668, allocations: 4 kB / 1.062 GB, free: 72.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006392/2.669, allocations: 47.91 kB / 1.062 GB, free: 72.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/2.669, allocations: 20.84 kB / 1.062 GB, free: 72.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/2.669, allocations: 11.98 kB / 1.062 GB, free: 72.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000894/2.67, allocations: 1.26 MB / 1.063 GB, free: 70.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/2.67, allocations: 0 / 1.063 GB, free: 70.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008785/2.671, allocations: 453.6 kB / 1.064 GB, free: 70.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/2.671, allocations: 92.94 kB / 1.064 GB, free: 70.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/2.671, allocations: 8 kB / 1.064 GB, free: 70.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/2.671, allocations: 19.98 kB / 1.064 GB, free: 70.08 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/2.671, allocations: 11.98 kB / 1.064 GB, free: 70.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.485e-05/2.672, allocations: 15.98 kB / 1.064 GB, free: 70.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.104e-05/2.672, allocations: 79.28 kB / 1.064 GB, free: 69.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.51e-07/2.672, allocations: 0 / 1.064 GB, free: 69.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009311/2.673, allocations: 163.9 kB / 1.064 GB, free: 69.81 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.002639/2.675, allocations: 1.699 MB / 1.066 GB, free: 68.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006754/2.676, allocations: 199.7 kB / 1.066 GB, free: 67.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/2.676, allocations: 0 / 1.066 GB, free: 67.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003785/2.676, allocations: 206.1 kB / 1.066 GB, free: 67.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005858/2.677, allocations: 43.89 kB / 1.066 GB, free: 67.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/2.678, allocations: 406.9 kB / 1.067 GB, free: 67.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/2.678, allocations: 0.7243 MB / 1.067 GB, free: 66.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006114/2.679, allocations: 49.16 kB / 1.067 GB, free: 66.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/2.679, allocations: 39.42 kB / 1.067 GB, free: 66.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/2.679, allocations: 0 / 1.067 GB, free: 66.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04864/2.728, allocations: 16.07 MB / 1.083 GB, free: 50.36 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002548/2.728, allocations: 191.2 kB / 1.083 GB, free: 50.12 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.413/6.142, allocations: 0 / 1.083 GB, free: 50.12 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat