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.773/1.773, allocations: 171.2 MB / 183.3 MB, free: 12.06 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.468e-05/5.492e-05, allocations: 3.984 kB / 225.1 MB, free: 2.215 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3179, allocations: 38.76 MB / 263.9 MB, free: 9.785 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.843/2.161, allocations: 0.5803 GB / 0.838 GB, free: 72.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/2.161, allocations: 87.22 kB / 0.8381 GB, free: 72.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7742/2.935, allocations: 153.2 MB / 0.9877 GB, free: 70.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.918e-06/2.935, allocations: 0 / 0.9877 GB, free: 70.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.19e-05/2.935, allocations: 11.94 kB / 0.9877 GB, free: 70.71 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.001625/2.937, allocations: 0.5888 MB / 0.9883 GB, free: 70.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/2.937, allocations: 8.031 kB / 0.9883 GB, free: 70.07 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/2.937, allocations: 62.53 kB / 0.9883 GB, free: 70 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005824/2.938, allocations: 47.61 kB / 0.9884 GB, free: 69.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006175/2.938, allocations: 278.5 kB / 0.9887 GB, free: 69.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/2.938, allocations: 24.56 kB / 0.9887 GB, free: 69.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.55e-05/2.939, allocations: 24 kB / 0.9887 GB, free: 69.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009167/2.94, allocations: 310.5 kB / 0.989 GB, free: 69.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/2.94, allocations: 8 kB / 0.989 GB, free: 69.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/2.94, allocations: 15.94 kB / 0.989 GB, free: 69.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/2.94, allocations: 4 kB / 0.989 GB, free: 69.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000637/2.94, allocations: 200.7 kB / 0.9892 GB, free: 69.04 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.00307/2.943, allocations: 1.577 MB / 0.9908 GB, free: 67.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/2.944, allocations: 154.9 kB / 0.9909 GB, free: 67.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/2.944, allocations: 105.2 kB / 0.991 GB, free: 67.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.661e-05/2.944, allocations: 4.188 kB / 0.991 GB, free: 67.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/2.944, allocations: 38.69 kB / 0.991 GB, free: 66.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 4.028e-06/2.944, allocations: 4 kB / 0.9911 GB, free: 66.98 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.01085/2.955, allocations: 1.237 MB / 0.9923 GB, free: 65.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/2.955, allocations: 55.39 kB / 0.9923 GB, free: 65.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/2.956, allocations: 225 kB / 0.9925 GB, free: 65.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.113e-05/2.956, allocations: 33.64 kB / 0.9926 GB, free: 65.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/2.956, allocations: 172 kB / 0.9927 GB, free: 65.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/2.956, allocations: 98.55 kB / 0.9928 GB, free: 65.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/2.956, allocations: 12 kB / 0.9928 GB, free: 65.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.99e-05/2.956, allocations: 334.8 kB / 0.9931 GB, free: 64.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/2.957, allocations: 87.77 kB / 0.9932 GB, free: 64.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/2.957, allocations: 183.8 kB / 0.9934 GB, free: 64.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/2.958, allocations: 119.9 kB / 0.9935 GB, free: 64.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/2.958, allocations: 0 / 0.9935 GB, free: 64.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001299/2.959, allocations: 382.9 kB / 0.9939 GB, free: 63.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/2.959, allocations: 4 kB / 0.9939 GB, free: 63.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/2.959, allocations: 7.938 kB / 0.9939 GB, free: 63.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003927/2.959, allocations: 69.69 kB / 0.994 GB, free: 63.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007595/2.96, allocations: 83.89 kB / 0.994 GB, free: 63.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/2.962, allocations: 1.84 MB / 0.9958 GB, free: 61.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006512/2.963, allocations: 24.16 kB / 0.9959 GB, free: 61.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/2.963, allocations: 39.98 kB / 0.9959 GB, free: 61.69 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.0002025/2.963, allocations: 136.8 kB / 0.996 GB, free: 61.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/2.963, allocations: 23.72 kB / 0.9961 GB, free: 61.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/2.965, allocations: 439.9 kB / 0.9965 GB, free: 61.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/2.965, allocations: 3.938 kB / 0.9965 GB, free: 61.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/2.965, allocations: 7.938 kB / 0.9965 GB, free: 61.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008591/2.966, allocations: 0.5552 MB / 0.997 GB, free: 60.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/2.968, allocations: 0.712 MB / 0.9977 GB, free: 59.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/2.968, allocations: 0 / 0.9977 GB, free: 59.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007487/2.969, allocations: 71.89 kB / 0.9978 GB, free: 59.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001472/2.969, allocations: 24.84 kB / 0.9978 GB, free: 59.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/2.969, allocations: 15.98 kB / 0.9978 GB, free: 59.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/2.97, allocations: 1.284 MB / 0.9991 GB, free: 58.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/2.97, allocations: 0 / 0.9991 GB, free: 58.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/2.971, allocations: 0.4893 MB / 0.9996 GB, free: 57.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/2.972, allocations: 100.8 kB / 0.9997 GB, free: 57.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/2.972, allocations: 8 kB / 0.9997 GB, free: 57.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006265/2.972, allocations: 24 kB / 0.9997 GB, free: 57.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.898e-05/2.973, allocations: 23.97 kB / 0.9997 GB, free: 57.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-05/2.973, allocations: 27.98 kB / 0.9997 GB, free: 57.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003538/2.973, allocations: 187.1 kB / 0.9999 GB, free: 57.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/2.973, allocations: 0 / 0.9999 GB, free: 57.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001484/2.975, allocations: 195.9 kB / 1 GB, free: 57.01 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.003574/2.978, allocations: 1.847 MB / 1.002 GB, free: 55.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001238/2.979, allocations: 362.1 kB / 1.002 GB, free: 54.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/2.979, allocations: 0 / 1.002 GB, free: 54.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004876/2.98, allocations: 217.6 kB / 1.002 GB, free: 54.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/2.982, allocations: 165.3 kB / 1.003 GB, free: 54.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/2.984, allocations: 0.5776 MB / 1.003 GB, free: 53.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/2.985, allocations: 0.7764 MB / 1.004 GB, free: 52.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001284/2.986, allocations: 110.9 kB / 1.004 GB, free: 52.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005471/2.987, allocations: 123.4 kB / 1.004 GB, free: 52.72 MB / 362.7 MB Notification: Performance of SimCode: time 1.483e-06/2.987, allocations: 0 / 1.004 GB, free: 52.72 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07034/3.057, allocations: 25.49 MB / 1.029 GB, free: 27.27 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/3.057, allocations: 191.8 kB / 1.029 GB, free: 27.04 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.532/6.589, allocations: 4 kB / 1.029 GB, free: 27.04 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