Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.877/1.877, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.508e-05/4.52e-05, allocations: 0 / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2946, allocations: 38.77 MB / 263.9 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.877/2.171, allocations: 0.5803 GB / 0.838 GB, free: 72.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/2.172, allocations: 91.56 kB / 0.8381 GB, free: 72.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7528/2.924, allocations: 153.2 MB / 0.9877 GB, free: 70.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/2.925, allocations: 4 kB / 0.9877 GB, free: 70.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.518e-05/2.925, allocations: 4 kB / 0.9877 GB, free: 70.62 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001251/2.926, allocations: 0.5931 MB / 0.9883 GB, free: 69.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/2.926, allocations: 8.031 kB / 0.9883 GB, free: 69.98 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.326e-05/2.926, allocations: 62.53 kB / 0.9883 GB, free: 69.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003603/2.926, allocations: 39.62 kB / 0.9884 GB, free: 69.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/2.927, allocations: 290.5 kB / 0.9886 GB, free: 69.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/2.927, allocations: 16.56 kB / 0.9887 GB, free: 69.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.561e-05/2.927, allocations: 24 kB / 0.9887 GB, free: 69.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006591/2.928, allocations: 319.6 kB / 0.989 GB, free: 69.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/2.928, allocations: 0 / 0.989 GB, free: 69.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/2.928, allocations: 16 kB / 0.989 GB, free: 69.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/2.928, allocations: 11.94 kB / 0.989 GB, free: 69.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004545/2.928, allocations: 197.6 kB / 0.9892 GB, free: 68.94 MB / 362.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.002235/2.93, allocations: 1.574 MB / 0.9907 GB, free: 67.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/2.931, allocations: 163.1 kB / 0.9909 GB, free: 67.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/2.931, allocations: 97.2 kB / 0.991 GB, free: 66.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.548e-05/2.931, allocations: 4.188 kB / 0.991 GB, free: 66.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/2.931, allocations: 34.75 kB / 0.991 GB, free: 66.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.695e-06/2.931, allocations: 3.938 kB / 0.991 GB, free: 66.89 MB / 362.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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.008062/2.939, allocations: 1.247 MB / 0.9922 GB, free: 65.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/2.939, allocations: 59.39 kB / 0.9923 GB, free: 65.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/2.94, allocations: 225 kB / 0.9925 GB, free: 65.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/2.94, allocations: 29.7 kB / 0.9925 GB, free: 65.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.281e-05/2.94, allocations: 176 kB / 0.9927 GB, free: 65.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.833e-05/2.94, allocations: 98.55 kB / 0.9928 GB, free: 64.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/2.94, allocations: 8 kB / 0.9928 GB, free: 64.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.636e-05/2.94, allocations: 338.8 kB / 0.9931 GB, free: 64.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/2.94, allocations: 87.78 kB / 0.9932 GB, free: 64.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/2.941, allocations: 183.8 kB / 0.9934 GB, free: 64.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/2.941, allocations: 119.9 kB / 0.9935 GB, free: 64.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/2.941, allocations: 4 kB / 0.9935 GB, free: 64.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009455/2.942, allocations: 387 kB / 0.9939 GB, free: 63.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/2.942, allocations: 8 kB / 0.9939 GB, free: 63.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/2.942, allocations: 4 kB / 0.9939 GB, free: 63.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003342/2.942, allocations: 77.67 kB / 0.994 GB, free: 63.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/2.943, allocations: 83.83 kB / 0.994 GB, free: 63.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/2.944, allocations: 1.844 MB / 0.9958 GB, free: 61.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/2.945, allocations: 32.12 kB / 0.9959 GB, free: 61.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/2.945, allocations: 40 kB / 0.9959 GB, free: 61.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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.0001482/2.945, allocations: 124.8 kB / 0.996 GB, free: 61.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.805e-05/2.945, allocations: 31.7 kB / 0.9961 GB, free: 61.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/2.947, allocations: 435.9 kB / 0.9965 GB, free: 60.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/2.947, allocations: 4 kB / 0.9965 GB, free: 60.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/2.947, allocations: 7.875 kB / 0.9965 GB, free: 60.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006029/2.947, allocations: 0.5553 MB / 0.997 GB, free: 60.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/2.948, allocations: 0.7197 MB / 0.9977 GB, free: 59.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/2.948, allocations: 0 / 0.9977 GB, free: 59.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005563/2.949, allocations: 75.95 kB / 0.9978 GB, free: 59.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/2.949, allocations: 24.78 kB / 0.9978 GB, free: 59.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/2.949, allocations: 12 kB / 0.9978 GB, free: 59.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008498/2.95, allocations: 1.284 MB / 0.9991 GB, free: 57.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/2.95, allocations: 7.875 kB / 0.9991 GB, free: 57.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009462/2.951, allocations: 496.9 kB / 0.9996 GB, free: 57.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/2.951, allocations: 108.8 kB / 0.9997 GB, free: 57.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.527e-05/2.951, allocations: 4 kB / 0.9997 GB, free: 57.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/2.952, allocations: 20.05 kB / 0.9997 GB, free: 57.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-05/2.952, allocations: 27.91 kB / 0.9997 GB, free: 57.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.489e-05/2.952, allocations: 31.98 kB / 0.9998 GB, free: 57.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002512/2.952, allocations: 179.1 kB / 0.9999 GB, free: 57.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.21e-07/2.952, allocations: 0 / 0.9999 GB, free: 57.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001027/2.953, allocations: 187.9 kB / 1 GB, free: 56.88 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.002513/2.956, allocations: 1.849 MB / 1.002 GB, free: 54.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009359/2.957, allocations: 363.7 kB / 1.002 GB, free: 54.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/2.957, allocations: 0 / 1.002 GB, free: 54.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003643/2.957, allocations: 238.5 kB / 1.002 GB, free: 54.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/2.959, allocations: 159.2 kB / 1.003 GB, free: 54.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/2.96, allocations: 0.5821 MB / 1.003 GB, free: 53.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/2.961, allocations: 0.7726 MB / 1.004 GB, free: 52.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009527/2.962, allocations: 114.9 kB / 1.004 GB, free: 52.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004135/2.962, allocations: 131.3 kB / 1.004 GB, free: 52.56 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/2.962, allocations: 0 / 1.004 GB, free: 52.56 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08123/3.043, allocations: 25.44 MB / 1.029 GB, free: 27.15 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/3.044, allocations: 205.1 kB / 1.029 GB, free: 26.91 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.69/6.734, allocations: 0 / 1.029 GB, free: 26.91 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat