Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.009/2.009, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.941e-05/4.957e-05, allocations: 4 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 44.49 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.083/2.189, allocations: 0.586 GB / 0.879 GB, free: 103.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003506/2.19, allocations: 85.61 kB / 0.8791 GB, free: 103.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7901/2.98, allocations: 153.2 MB / 1.029 GB, free: 98.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/2.98, allocations: 1.125 kB / 1.029 GB, free: 98.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.425e-05/2.98, allocations: 7.188 kB / 1.029 GB, free: 98.01 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001243/2.981, allocations: 0.5995 MB / 1.029 GB, free: 97.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/2.981, allocations: 7.625 kB / 1.029 GB, free: 97.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.7e-05/2.981, allocations: 67.62 kB / 1.029 GB, free: 97.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003649/2.982, allocations: 37.98 kB / 1.029 GB, free: 97.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000495/2.982, allocations: 282.9 kB / 1.03 GB, free: 97.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/2.982, allocations: 17.66 kB / 1.03 GB, free: 97.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.95e-05/2.982, allocations: 29.19 kB / 1.03 GB, free: 97.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/2.983, allocations: 299.2 kB / 1.03 GB, free: 97.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/2.983, allocations: 7.297 kB / 1.03 GB, free: 97.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.684e-05/2.983, allocations: 10.28 kB / 1.03 GB, free: 97.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/2.983, allocations: 7.375 kB / 1.03 GB, free: 97.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004755/2.984, allocations: 193 kB / 1.03 GB, free: 97.24 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.002406/2.986, allocations: 1.576 MB / 1.032 GB, free: 96.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/2.986, allocations: 162.5 kB / 1.032 GB, free: 96.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/2.987, allocations: 96.38 kB / 1.032 GB, free: 96.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.93e-05/2.987, allocations: 10.98 kB / 1.032 GB, free: 96.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/2.987, allocations: 35.59 kB / 1.032 GB, free: 95.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.066e-06/2.987, allocations: 0 / 1.032 GB, free: 95.98 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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.009067/2.996, allocations: 1.242 MB / 1.033 GB, free: 95.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/2.996, allocations: 58.98 kB / 1.033 GB, free: 95.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005661/2.997, allocations: 223.7 kB / 1.033 GB, free: 95.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/2.997, allocations: 38.83 kB / 1.034 GB, free: 95.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/2.997, allocations: 172.4 kB / 1.034 GB, free: 95.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000164/2.997, allocations: 96.83 kB / 1.034 GB, free: 95.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/2.997, allocations: 3.688 kB / 1.034 GB, free: 95.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/2.997, allocations: 344.1 kB / 1.034 GB, free: 94.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003855/2.998, allocations: 78.56 kB / 1.034 GB, free: 94.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005215/2.998, allocations: 182.7 kB / 1.034 GB, free: 94.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000606/2.999, allocations: 112.5 kB / 1.034 GB, free: 94.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/2.999, allocations: 3.656 kB / 1.034 GB, free: 94.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002072/3.001, allocations: 389.3 kB / 1.035 GB, free: 94.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/3.001, allocations: 4.469 kB / 1.035 GB, free: 94.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/3.001, allocations: 5.781 kB / 1.035 GB, free: 94.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000554/3.002, allocations: 74.53 kB / 1.035 GB, free: 94.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/3.003, allocations: 83.73 kB / 1.035 GB, free: 94.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/3.006, allocations: 1.848 MB / 1.037 GB, free: 92.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006981/3.006, allocations: 22.7 kB / 1.037 GB, free: 92.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/3.006, allocations: 40.23 kB / 1.037 GB, free: 92.93 MB / 410.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.0003033/3.007, allocations: 122.1 kB / 1.037 GB, free: 92.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/3.007, allocations: 28.91 kB / 1.037 GB, free: 92.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/3.009, allocations: 439.5 kB / 1.037 GB, free: 92.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/3.01, allocations: 6.344 kB / 1.037 GB, free: 92.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/3.01, allocations: 2.953 kB / 1.037 GB, free: 92.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009541/3.011, allocations: 0.5562 MB / 1.038 GB, free: 92.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/3.013, allocations: 0.717 MB / 1.039 GB, free: 91.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/3.013, allocations: 4.656 kB / 1.039 GB, free: 91.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008827/3.014, allocations: 71.33 kB / 1.039 GB, free: 91.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/3.014, allocations: 23.55 kB / 1.039 GB, free: 91.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/3.014, allocations: 9.625 kB / 1.039 GB, free: 91.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/3.015, allocations: 1.28 MB / 1.04 GB, free: 90.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/3.015, allocations: 1.969 kB / 1.04 GB, free: 90.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/3.017, allocations: 0.4886 MB / 1.041 GB, free: 90.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/3.017, allocations: 103.7 kB / 1.041 GB, free: 90.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/3.017, allocations: 10.97 kB / 1.041 GB, free: 90.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007088/3.018, allocations: 14.48 kB / 1.041 GB, free: 90.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/3.018, allocations: 29.41 kB / 1.041 GB, free: 90.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.842e-05/3.018, allocations: 26.84 kB / 1.041 GB, free: 90.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003887/3.018, allocations: 183.3 kB / 1.041 GB, free: 90.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.082e-06/3.018, allocations: 0.5625 kB / 1.041 GB, free: 90.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00157/3.02, allocations: 195.3 kB / 1.041 GB, free: 90.28 MB / 410.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.003794/3.024, allocations: 1.858 MB / 1.043 GB, free: 89.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001343/3.025, allocations: 348 kB / 1.043 GB, free: 89.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/3.025, allocations: 2.438 kB / 1.043 GB, free: 89.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005272/3.026, allocations: 221.6 kB / 1.043 GB, free: 89.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/3.028, allocations: 154.1 kB / 1.044 GB, free: 89.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/3.031, allocations: 0.5712 MB / 1.044 GB, free: 88.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/3.031, allocations: 0.7715 MB / 1.045 GB, free: 88.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001491/3.033, allocations: 118.2 kB / 1.045 GB, free: 88.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006538/3.034, allocations: 125.4 kB / 1.045 GB, free: 88.18 MB / 410.7 MB Notification: Performance of SimCode: time 2.174e-06/3.034, allocations: 0 / 1.045 GB, free: 88.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09388/3.127, allocations: 25.49 MB / 1.07 GB, free: 76.81 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003097/3.128, allocations: 196.2 kB / 1.07 GB, free: 76.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.872/7, allocations: 0 / 1.07 GB, free: 76.58 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat