Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.271/2.271, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.354e-05, allocations: 7.234 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1277, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.281/2.409, allocations: 0.6961 GB / 1.097 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/2.409, allocations: 73.53 kB / 1.097 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.119/2.528, allocations: 34.05 MB / 1.13 GB, free: 91.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.613e-06/2.528, allocations: 0 / 1.13 GB, free: 91.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.234e-05/2.528, allocations: 0 / 1.13 GB, free: 91.91 MB / 0.5261 GB 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.0005333/2.529, allocations: 416.9 kB / 1.131 GB, free: 91.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/2.529, allocations: 12.03 kB / 1.131 GB, free: 91.45 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.024e-05/2.529, allocations: 42.5 kB / 1.131 GB, free: 91.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002852/2.532, allocations: 191.6 kB / 1.131 GB, free: 91.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/2.532, allocations: 206.9 kB / 1.131 GB, free: 90.97 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/2.532, allocations: 8.188 kB / 1.131 GB, free: 90.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.261e-05/2.532, allocations: 8 kB / 1.131 GB, free: 90.95 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/2.533, allocations: 183.1 kB / 1.131 GB, free: 90.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/2.533, allocations: 0 / 1.131 GB, free: 90.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/2.533, allocations: 7.938 kB / 1.131 GB, free: 90.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/2.533, allocations: 4 kB / 1.131 GB, free: 90.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005434/2.533, allocations: 192.3 kB / 1.131 GB, free: 90.57 MB / 0.5261 GB 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.001953/2.535, allocations: 0.6176 MB / 1.132 GB, free: 89.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/2.536, allocations: 150.5 kB / 1.132 GB, free: 89.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/2.536, allocations: 72.86 kB / 1.132 GB, free: 89.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002547/2.536, allocations: 93.09 kB / 1.132 GB, free: 89.55 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/2.536, allocations: 38.56 kB / 1.132 GB, free: 89.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 2.405e-06/2.536, allocations: 0 / 1.132 GB, free: 89.5 MB / 0.5261 GB 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.007511/2.544, allocations: 1.205 MB / 1.133 GB, free: 88.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/2.544, allocations: 55.41 kB / 1.134 GB, free: 88.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/2.544, allocations: 108.9 kB / 1.134 GB, free: 88.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/2.544, allocations: 29.7 kB / 1.134 GB, free: 87.99 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/2.544, allocations: 100.4 kB / 1.134 GB, free: 87.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.42e-05/2.544, allocations: 67 kB / 1.134 GB, free: 87.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/2.544, allocations: 4 kB / 1.134 GB, free: 87.81 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.07e-05/2.544, allocations: 326.8 kB / 1.134 GB, free: 87.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/2.544, allocations: 71.86 kB / 1.134 GB, free: 87.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/2.545, allocations: 107.5 kB / 1.134 GB, free: 87.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/2.545, allocations: 88.47 kB / 1.134 GB, free: 87.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/2.545, allocations: 0 / 1.134 GB, free: 87.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006141/2.545, allocations: 242.3 kB / 1.135 GB, free: 86.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/2.545, allocations: 4 kB / 1.135 GB, free: 86.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/2.545, allocations: 4 kB / 1.135 GB, free: 86.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/2.546, allocations: 20.84 kB / 1.135 GB, free: 86.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006311/2.546, allocations: 63.94 kB / 1.135 GB, free: 86.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003283/2.547, allocations: 0.5251 MB / 1.135 GB, free: 86.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/2.547, allocations: 19.89 kB / 1.135 GB, free: 86.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/2.547, allocations: 8 kB / 1.135 GB, free: 86.29 MB / 0.5261 GB 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.0001084/2.547, allocations: 117 kB / 1.135 GB, free: 86.17 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.761e-05/2.547, allocations: 7.906 kB / 1.135 GB, free: 86.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007911/2.548, allocations: 275 kB / 1.136 GB, free: 85.89 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/2.548, allocations: 4 kB / 1.136 GB, free: 85.89 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/2.548, allocations: 0 / 1.136 GB, free: 85.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/2.548, allocations: 0 / 1.136 GB, free: 85.89 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/2.549, allocations: 0.64 MB / 1.136 GB, free: 85.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/2.549, allocations: 3.938 kB / 1.136 GB, free: 85.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006334/2.55, allocations: 51.89 kB / 1.136 GB, free: 85.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001007/2.55, allocations: 20.84 kB / 1.136 GB, free: 85.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/2.55, allocations: 4 kB / 1.136 GB, free: 85.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007852/2.551, allocations: 1.272 MB / 1.138 GB, free: 83.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/2.551, allocations: 0 / 1.138 GB, free: 83.69 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008063/2.552, allocations: 445.1 kB / 1.138 GB, free: 83.21 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/2.552, allocations: 92.91 kB / 1.138 GB, free: 83.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/2.552, allocations: 4 kB / 1.138 GB, free: 83.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/2.552, allocations: 11.89 kB / 1.138 GB, free: 83.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/2.552, allocations: 27.97 kB / 1.138 GB, free: 83.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/2.552, allocations: 8 kB / 1.138 GB, free: 83.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.567e-05/2.552, allocations: 95.25 kB / 1.138 GB, free: 82.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/2.553, allocations: 0 / 1.138 GB, free: 82.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008328/2.553, allocations: 159.9 kB / 1.138 GB, free: 82.8 MB / 0.5261 GB 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.003113/2.556, allocations: 1.709 MB / 1.14 GB, free: 81.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001007/2.558, allocations: 183.9 kB / 1.14 GB, free: 80.87 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/2.558, allocations: 0 / 1.14 GB, free: 80.87 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006134/2.558, allocations: 213.5 kB / 1.14 GB, free: 80.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009508/2.559, allocations: 48.28 kB / 1.14 GB, free: 80.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/2.561, allocations: 409.9 kB / 1.141 GB, free: 80.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/2.561, allocations: 0.7049 MB / 1.142 GB, free: 79.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000987/2.562, allocations: 49.17 kB / 1.142 GB, free: 79.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/2.563, allocations: 43.41 kB / 1.142 GB, free: 79.34 MB / 0.5261 GB Notification: Performance of SimCode: time 1.633e-06/2.563, allocations: 0 / 1.142 GB, free: 79.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04514/2.608, allocations: 16.06 MB / 1.157 GB, free: 63.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001386/2.608, allocations: 179.5 kB / 1.158 GB, free: 63.19 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.136/5.744, allocations: 0 / 1.158 GB, free: 63.19 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat