Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.358/2.358, allocations: 235 MB / 247.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.308e-05/4.318e-05, allocations: 11.98 kB / 305 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4133, allocations: 54.85 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.937/2.351, allocations: 0.7223 GB / 1.074 GB, free: 5.785 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/2.351, allocations: 71.06 kB / 1.074 GB, free: 5.75 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.427/2.778, allocations: 33.36 MB / 1.106 GB, free: 177.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.653e-06/2.778, allocations: 0 / 1.106 GB, free: 177.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.266e-05/2.778, allocations: 0 / 1.106 GB, free: 177.4 MB / 490.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.0006036/2.779, allocations: 415.1 kB / 1.107 GB, free: 177 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/2.779, allocations: 11.06 kB / 1.107 GB, free: 177 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.09e-05/2.779, allocations: 37.34 kB / 1.107 GB, free: 176.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002772/2.782, allocations: 187.3 kB / 1.107 GB, free: 176.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/2.782, allocations: 207.5 kB / 1.107 GB, free: 176.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/2.782, allocations: 10.66 kB / 1.107 GB, free: 176.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.83e-05/2.782, allocations: 8.844 kB / 1.107 GB, free: 176.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005552/2.783, allocations: 187.7 kB / 1.107 GB, free: 176.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/2.783, allocations: 0 / 1.107 GB, free: 176.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/2.783, allocations: 4 kB / 1.107 GB, free: 176.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/2.783, allocations: 2.656 kB / 1.107 GB, free: 176.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005625/2.783, allocations: 200.3 kB / 1.108 GB, free: 176.4 MB / 490.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.001959/2.785, allocations: 0.6332 MB / 1.108 GB, free: 175.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/2.786, allocations: 146.2 kB / 1.108 GB, free: 175.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/2.786, allocations: 71.8 kB / 1.108 GB, free: 175.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/2.786, allocations: 92.14 kB / 1.108 GB, free: 175.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/2.786, allocations: 37.75 kB / 1.109 GB, free: 175.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 2.475e-06/2.786, allocations: 4 kB / 1.109 GB, free: 175.5 MB / 490.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.007622/2.794, allocations: 1.21 MB / 1.11 GB, free: 174.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/2.794, allocations: 53.09 kB / 1.11 GB, free: 174.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.013e-05/2.794, allocations: 107.1 kB / 1.11 GB, free: 174.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/2.794, allocations: 32.52 kB / 1.11 GB, free: 174.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/2.794, allocations: 103.4 kB / 1.11 GB, free: 174.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.221e-05/2.794, allocations: 66.3 kB / 1.11 GB, free: 174.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/2.794, allocations: 4 kB / 1.11 GB, free: 174.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.093e-05/2.794, allocations: 330.5 kB / 1.11 GB, free: 174 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/2.795, allocations: 72.89 kB / 1.11 GB, free: 174 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/2.795, allocations: 105.1 kB / 1.111 GB, free: 173.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/2.795, allocations: 82.88 kB / 1.111 GB, free: 173.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/2.795, allocations: 3.938 kB / 1.111 GB, free: 173.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006371/2.796, allocations: 251.6 kB / 1.111 GB, free: 173.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/2.796, allocations: 3.875 kB / 1.111 GB, free: 173.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/2.796, allocations: 0 / 1.111 GB, free: 173.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001643/2.796, allocations: 28.44 kB / 1.111 GB, free: 173.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006323/2.797, allocations: 54.17 kB / 1.111 GB, free: 173.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000325/2.797, allocations: 0.5399 MB / 1.111 GB, free: 173.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/2.797, allocations: 19.61 kB / 1.112 GB, free: 173.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/2.797, allocations: 7.25 kB / 1.112 GB, free: 173.1 MB / 490.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.0001163/2.797, allocations: 119.6 kB / 1.112 GB, free: 173 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.37e-05/2.798, allocations: 7.594 kB / 1.112 GB, free: 173 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008138/2.798, allocations: 271.1 kB / 1.112 GB, free: 172.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/2.798, allocations: 0 / 1.112 GB, free: 172.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/2.798, allocations: 3.984 kB / 1.112 GB, free: 172.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/2.798, allocations: 3.969 kB / 1.112 GB, free: 172.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/2.8, allocations: 0.6445 MB / 1.113 GB, free: 172.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/2.8, allocations: 0 / 1.113 GB, free: 172.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006327/2.8, allocations: 57.45 kB / 1.113 GB, free: 172.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/2.8, allocations: 16.38 kB / 1.113 GB, free: 172.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/2.801, allocations: 7.906 kB / 1.113 GB, free: 172.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008132/2.801, allocations: 1.271 MB / 1.114 GB, free: 170.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/2.801, allocations: 3.984 kB / 1.114 GB, free: 170.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008459/2.802, allocations: 447 kB / 1.114 GB, free: 170.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/2.802, allocations: 88.75 kB / 1.114 GB, free: 170.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/2.802, allocations: 11.62 kB / 1.114 GB, free: 170.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004269/2.803, allocations: 7.859 kB / 1.114 GB, free: 170.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/2.803, allocations: 19.75 kB / 1.114 GB, free: 170.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/2.803, allocations: 11.84 kB / 1.114 GB, free: 170.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.796e-05/2.803, allocations: 87.2 kB / 1.114 GB, free: 170.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-07/2.803, allocations: 0 / 1.114 GB, free: 170.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000859/2.804, allocations: 160.9 kB / 1.115 GB, free: 170.3 MB / 490.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.002424/2.806, allocations: 1.697 MB / 1.116 GB, free: 168.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006831/2.807, allocations: 201.2 kB / 1.116 GB, free: 168.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/2.807, allocations: 0 / 1.116 GB, free: 168.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003817/2.807, allocations: 213.7 kB / 1.117 GB, free: 168.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/2.808, allocations: 44.09 kB / 1.117 GB, free: 168.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/2.809, allocations: 418.2 kB / 1.117 GB, free: 168.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/2.809, allocations: 0.7043 MB / 1.118 GB, free: 167.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005847/2.81, allocations: 52.83 kB / 1.118 GB, free: 167.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/2.81, allocations: 39.03 kB / 1.118 GB, free: 167.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.693e-06/2.81, allocations: 0 / 1.118 GB, free: 167.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04861/2.859, allocations: 16.04 MB / 1.134 GB, free: 152.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002801/2.859, allocations: 184.9 kB / 1.134 GB, free: 152.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.089/5.948, allocations: 11.94 kB / 1.134 GB, free: 152.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat