Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.991/1.991, allocations: 194.9 MB / 208.4 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.83e-05/3.846e-05, allocations: 1.25 kB / 255.4 MB, free: 3.125 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 44.5 MB / 299.9 MB, free: 6.562 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.42/2.526, allocations: 0.7132 GB / 1.006 GB, free: 107.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/2.526, allocations: 74.64 kB / 1.006 GB, free: 107.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1219/2.648, allocations: 33.63 MB / 1.039 GB, free: 100.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.304e-06/2.648, allocations: 0 / 1.039 GB, free: 100.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.805e-05/2.648, allocations: 7.844 kB / 1.039 GB, free: 100.3 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006831/2.649, allocations: 422.5 kB / 1.039 GB, free: 99.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/2.649, allocations: 7.781 kB / 1.039 GB, free: 99.87 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.271e-05/2.649, allocations: 41.45 kB / 1.039 GB, free: 99.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002861/2.652, allocations: 178.8 kB / 1.04 GB, free: 99.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/2.652, allocations: 212.6 kB / 1.04 GB, free: 99.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/2.652, allocations: 6.906 kB / 1.04 GB, free: 99.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.759e-05/2.652, allocations: 14.31 kB / 1.04 GB, free: 99.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/2.653, allocations: 187.9 kB / 1.04 GB, free: 99.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/2.653, allocations: 0 / 1.04 GB, free: 99.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.207e-05/2.653, allocations: 11.48 kB / 1.04 GB, free: 99.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/2.653, allocations: 0 / 1.04 GB, free: 99.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005958/2.654, allocations: 189.9 kB / 1.04 GB, free: 99.45 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.002137/2.656, allocations: 0.6347 MB / 1.041 GB, free: 98.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004003/2.656, allocations: 152 kB / 1.041 GB, free: 98.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/2.656, allocations: 76.27 kB / 1.041 GB, free: 98.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003002/2.657, allocations: 96.23 kB / 1.041 GB, free: 98.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/2.657, allocations: 30.56 kB / 1.041 GB, free: 98.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 6.372e-06/2.657, allocations: 3.984 kB / 1.041 GB, free: 98.79 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.007951/2.665, allocations: 1.211 MB / 1.042 GB, free: 97.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/2.665, allocations: 63.28 kB / 1.042 GB, free: 97.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.929e-05/2.665, allocations: 96.94 kB / 1.043 GB, free: 97.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/2.665, allocations: 25.7 kB / 1.043 GB, free: 97.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/2.665, allocations: 174.6 kB / 1.043 GB, free: 97.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.735e-05/2.665, allocations: 65.47 kB / 1.043 GB, free: 97.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/2.665, allocations: 0 / 1.043 GB, free: 97.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.174e-05/2.665, allocations: 326.3 kB / 1.043 GB, free: 97.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/2.665, allocations: 69.31 kB / 1.043 GB, free: 97.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/2.666, allocations: 111.4 kB / 1.043 GB, free: 97.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/2.666, allocations: 87.2 kB / 1.043 GB, free: 96.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/2.666, allocations: 0 / 1.043 GB, free: 96.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006691/2.667, allocations: 246 kB / 1.044 GB, free: 96.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/2.667, allocations: 8.094 kB / 1.044 GB, free: 96.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/2.667, allocations: 4 kB / 1.044 GB, free: 96.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001907/2.667, allocations: 24.16 kB / 1.044 GB, free: 96.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006434/2.668, allocations: 55.41 kB / 1.044 GB, free: 96.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000355/2.668, allocations: 0.5394 MB / 1.044 GB, free: 96.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/2.668, allocations: 11.59 kB / 1.044 GB, free: 96.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/2.668, allocations: 7.984 kB / 1.044 GB, free: 96.15 MB / 410.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.0001268/2.668, allocations: 116.3 kB / 1.044 GB, free: 96.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-05/2.669, allocations: 15.84 kB / 1.044 GB, free: 96.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008662/2.669, allocations: 269.4 kB / 1.045 GB, free: 95.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/2.669, allocations: 0 / 1.045 GB, free: 95.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/2.669, allocations: 7.891 kB / 1.045 GB, free: 95.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/2.67, allocations: 8 kB / 1.045 GB, free: 95.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/2.671, allocations: 0.6345 MB / 1.045 GB, free: 95.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/2.671, allocations: 0 / 1.045 GB, free: 95.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006401/2.671, allocations: 51.89 kB / 1.045 GB, free: 95.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001145/2.672, allocations: 20.64 kB / 1.045 GB, free: 95.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/2.672, allocations: 11.67 kB / 1.045 GB, free: 95.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009151/2.673, allocations: 1.264 MB / 1.047 GB, free: 93.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/2.673, allocations: 0 / 1.047 GB, free: 93.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009884/2.674, allocations: 446.6 kB / 1.047 GB, free: 93.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/2.674, allocations: 96.92 kB / 1.047 GB, free: 93.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/2.674, allocations: 7.75 kB / 1.047 GB, free: 93.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/2.674, allocations: 7.984 kB / 1.047 GB, free: 93.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/2.674, allocations: 15.8 kB / 1.047 GB, free: 93.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/2.674, allocations: 11.98 kB / 1.047 GB, free: 93.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.656e-05/2.674, allocations: 87.28 kB / 1.047 GB, free: 93.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/2.674, allocations: 0 / 1.047 GB, free: 93.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009494/2.675, allocations: 173.2 kB / 1.047 GB, free: 93.02 MB / 410.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.00275/2.678, allocations: 1.693 MB / 1.049 GB, free: 91.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007107/2.679, allocations: 209.1 kB / 1.049 GB, free: 91.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/2.679, allocations: 0 / 1.049 GB, free: 91.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003981/2.679, allocations: 207 kB / 1.049 GB, free: 91.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005724/2.68, allocations: 46.95 kB / 1.049 GB, free: 91.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/2.681, allocations: 440.3 kB / 1.05 GB, free: 90.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/2.681, allocations: 0.7127 MB / 1.051 GB, free: 89.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/2.682, allocations: 43.03 kB / 1.051 GB, free: 89.8 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/2.682, allocations: 4 kB / 1.051 GB, free: 89.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.156/5.838, allocations: 7.92 MB / 1.058 GB, free: 81.91 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat