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 1.904/1.904, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.276e-05/4.286e-05, allocations: 4 kB / 273.1 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1211, allocations: 48.7 MB / 321.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.299/2.421, allocations: 0.7091 GB / 1.023 GB, free: 109.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/2.421, allocations: 73.95 kB / 1.023 GB, free: 109.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1205/2.542, allocations: 33.18 MB / 1.056 GB, free: 79.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.653e-06/2.542, allocations: 0 / 1.056 GB, free: 79.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.253e-05/2.542, allocations: 0 / 1.056 GB, free: 79.57 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.000569/2.542, allocations: 426.5 kB / 1.056 GB, free: 79.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/2.542, allocations: 12.03 kB / 1.056 GB, free: 79.1 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.253e-05/2.542, allocations: 42.56 kB / 1.056 GB, free: 79.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002757/2.545, allocations: 180.2 kB / 1.056 GB, free: 78.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/2.545, allocations: 207 kB / 1.057 GB, free: 78.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/2.545, allocations: 12.12 kB / 1.057 GB, free: 78.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.316e-05/2.546, allocations: 8 kB / 1.057 GB, free: 78.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005302/2.546, allocations: 193.9 kB / 1.057 GB, free: 78.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/2.546, allocations: 0 / 1.057 GB, free: 78.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/2.546, allocations: 7.953 kB / 1.057 GB, free: 78.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/2.546, allocations: 8 kB / 1.057 GB, free: 78.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000588/2.547, allocations: 192.5 kB / 1.057 GB, free: 78.21 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.002048/2.549, allocations: 0.6211 MB / 1.058 GB, free: 77.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/2.549, allocations: 146.6 kB / 1.058 GB, free: 77.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/2.549, allocations: 72.86 kB / 1.058 GB, free: 77.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/2.55, allocations: 93.09 kB / 1.058 GB, free: 77.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/2.55, allocations: 38.55 kB / 1.058 GB, free: 77.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.785e-06/2.55, allocations: 0 / 1.058 GB, free: 77.15 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.007588/2.557, allocations: 1.202 MB / 1.059 GB, free: 75.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/2.557, allocations: 59.39 kB / 1.059 GB, free: 75.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.497e-05/2.558, allocations: 101 kB / 1.059 GB, free: 75.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/2.558, allocations: 25.7 kB / 1.059 GB, free: 75.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/2.558, allocations: 108.2 kB / 1.059 GB, free: 75.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.015e-05/2.558, allocations: 59.11 kB / 1.06 GB, free: 75.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/2.558, allocations: 4 kB / 1.06 GB, free: 75.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.969e-05/2.558, allocations: 322.8 kB / 1.06 GB, free: 75.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/2.558, allocations: 79.94 kB / 1.06 GB, free: 75.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/2.558, allocations: 101.6 kB / 1.06 GB, free: 74.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/2.559, allocations: 91.89 kB / 1.06 GB, free: 74.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/2.559, allocations: 0 / 1.06 GB, free: 74.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006355/2.559, allocations: 245.5 kB / 1.06 GB, free: 74.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/2.559, allocations: 4 kB / 1.06 GB, free: 74.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/2.559, allocations: 4 kB / 1.06 GB, free: 74.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/2.559, allocations: 24.78 kB / 1.06 GB, free: 74.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000623/2.56, allocations: 52.06 kB / 1.06 GB, free: 74.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003291/2.56, allocations: 0.5444 MB / 1.061 GB, free: 73.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/2.561, allocations: 12.03 kB / 1.061 GB, free: 73.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.415e-05/2.561, allocations: 11.98 kB / 1.061 GB, free: 73.94 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.0001176/2.561, allocations: 113 kB / 1.061 GB, free: 73.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.448e-05/2.561, allocations: 12 kB / 1.061 GB, free: 73.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008248/2.562, allocations: 282.2 kB / 1.061 GB, free: 73.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/2.562, allocations: 0 / 1.061 GB, free: 73.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/2.562, allocations: 3.953 kB / 1.061 GB, free: 73.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/2.562, allocations: 3.984 kB / 1.061 GB, free: 73.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/2.563, allocations: 0.6519 MB / 1.062 GB, free: 72.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/2.563, allocations: 0 / 1.062 GB, free: 72.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/2.564, allocations: 51.89 kB / 1.062 GB, free: 72.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/2.564, allocations: 16.86 kB / 1.062 GB, free: 72.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/2.564, allocations: 7.984 kB / 1.062 GB, free: 72.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008164/2.565, allocations: 1.268 MB / 1.063 GB, free: 71.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/2.565, allocations: 0 / 1.063 GB, free: 71.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000844/2.566, allocations: 439.9 kB / 1.064 GB, free: 70.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/2.566, allocations: 92.94 kB / 1.064 GB, free: 70.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/2.566, allocations: 11.98 kB / 1.064 GB, free: 70.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/2.566, allocations: 4 kB / 1.064 GB, free: 70.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/2.566, allocations: 20.05 kB / 1.064 GB, free: 70.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.276e-05/2.566, allocations: 11.98 kB / 1.064 GB, free: 70.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.816e-05/2.566, allocations: 83.28 kB / 1.064 GB, free: 70.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.566, allocations: 0 / 1.064 GB, free: 70.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008378/2.567, allocations: 163.9 kB / 1.064 GB, free: 70.45 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.002503/2.57, allocations: 1.703 MB / 1.066 GB, free: 68.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006823/2.571, allocations: 203.7 kB / 1.066 GB, free: 68.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/2.571, allocations: 192 / 1.066 GB, free: 68.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003813/2.571, allocations: 214.6 kB / 1.066 GB, free: 68.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005535/2.572, allocations: 47.83 kB / 1.066 GB, free: 68.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/2.573, allocations: 410.9 kB / 1.067 GB, free: 67.78 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/2.573, allocations: 0.7204 MB / 1.067 GB, free: 67.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005932/2.574, allocations: 45.17 kB / 1.067 GB, free: 66.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/2.574, allocations: 39.42 kB / 1.067 GB, free: 66.95 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/2.574, allocations: 0 / 1.067 GB, free: 66.95 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04721/2.621, allocations: 16.04 MB / 1.083 GB, free: 51 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/2.621, allocations: 181 kB / 1.083 GB, free: 50.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.066/5.688, allocations: 0 / 1.083 GB, free: 50.77 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