Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.389/2.389, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.454e-05/4.463e-05, allocations: 4.938 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4272, allocations: 54.86 MB / 359.9 MB, free: 2.688 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.93/2.357, allocations: 0.7223 GB / 1.074 GB, free: 5.859 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/2.358, allocations: 74.72 kB / 1.074 GB, free: 5.824 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4252/2.783, allocations: 33.35 MB / 1.106 GB, free: 177.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.793e-06/2.783, allocations: 3.938 kB / 1.106 GB, free: 177.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/2.783, allocations: 0 / 1.106 GB, free: 177.1 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.0007204/2.784, allocations: 418.9 kB / 1.107 GB, free: 176.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/2.784, allocations: 12.56 kB / 1.107 GB, free: 176.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.956e-05/2.784, allocations: 42.41 kB / 1.107 GB, free: 176.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002846/2.787, allocations: 185.2 kB / 1.107 GB, free: 176.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/2.787, allocations: 200 kB / 1.107 GB, free: 176.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/2.787, allocations: 3.531 kB / 1.107 GB, free: 176.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.303e-05/2.787, allocations: 12.97 kB / 1.107 GB, free: 176.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/2.788, allocations: 192.3 kB / 1.107 GB, free: 176.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/2.788, allocations: 0 / 1.107 GB, free: 176.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/2.788, allocations: 0 / 1.107 GB, free: 176.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/2.788, allocations: 3.312 kB / 1.107 GB, free: 176.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006076/2.788, allocations: 197.1 kB / 1.108 GB, free: 176.2 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.00212/2.791, allocations: 0.6288 MB / 1.108 GB, free: 175.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/2.791, allocations: 148.8 kB / 1.108 GB, free: 175.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/2.791, allocations: 80.08 kB / 1.108 GB, free: 175.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/2.791, allocations: 92.91 kB / 1.109 GB, free: 175.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/2.791, allocations: 38.55 kB / 1.109 GB, free: 175.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 2.555e-06/2.791, allocations: 0 / 1.109 GB, free: 175.4 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.007757/2.799, allocations: 1.217 MB / 1.11 GB, free: 174.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/2.799, allocations: 51.62 kB / 1.11 GB, free: 174.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/2.799, allocations: 103.4 kB / 1.11 GB, free: 174.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/2.799, allocations: 29.64 kB / 1.11 GB, free: 174.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/2.8, allocations: 174.2 kB / 1.11 GB, free: 174.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.091e-05/2.8, allocations: 66.59 kB / 1.11 GB, free: 174.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/2.8, allocations: 6.906 kB / 1.11 GB, free: 174.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.547e-05/2.8, allocations: 322.8 kB / 1.11 GB, free: 173.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/2.8, allocations: 71.53 kB / 1.111 GB, free: 173.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/2.8, allocations: 103.1 kB / 1.111 GB, free: 173.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/2.8, allocations: 95.2 kB / 1.111 GB, free: 173.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/2.8, allocations: 0 / 1.111 GB, free: 173.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006883/2.801, allocations: 241 kB / 1.111 GB, free: 173.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/2.801, allocations: 3.344 kB / 1.111 GB, free: 173.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/2.801, allocations: 3.25 kB / 1.111 GB, free: 173.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001926/2.801, allocations: 23.28 kB / 1.111 GB, free: 173.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006396/2.802, allocations: 56.12 kB / 1.111 GB, free: 173.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003824/2.803, allocations: 0.5329 MB / 1.112 GB, free: 172.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003798/2.803, allocations: 11.23 kB / 1.112 GB, free: 172.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/2.803, allocations: 14.7 kB / 1.112 GB, free: 172.9 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.0001283/2.803, allocations: 111.7 kB / 1.112 GB, free: 172.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.852e-05/2.803, allocations: 14.5 kB / 1.112 GB, free: 172.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008886/2.804, allocations: 278.6 kB / 1.112 GB, free: 172.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/2.804, allocations: 2.469 kB / 1.112 GB, free: 172.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/2.804, allocations: 0 / 1.112 GB, free: 172.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/2.804, allocations: 0 / 1.112 GB, free: 172.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/2.806, allocations: 0.6506 MB / 1.113 GB, free: 172 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/2.806, allocations: 3.312 kB / 1.113 GB, free: 172 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006392/2.806, allocations: 50.39 kB / 1.113 GB, free: 172 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001507/2.806, allocations: 19.48 kB / 1.113 GB, free: 172 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/2.806, allocations: 11.61 kB / 1.113 GB, free: 172 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009108/2.807, allocations: 1.255 MB / 1.114 GB, free: 170.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/2.807, allocations: 7.297 kB / 1.114 GB, free: 170.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009187/2.808, allocations: 439.2 kB / 1.114 GB, free: 170.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/2.808, allocations: 88.89 kB / 1.114 GB, free: 170.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.898e-05/2.808, allocations: 15.8 kB / 1.114 GB, free: 170.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004256/2.809, allocations: 7.516 kB / 1.114 GB, free: 170.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/2.809, allocations: 19.86 kB / 1.114 GB, free: 170.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/2.809, allocations: 11.89 kB / 1.114 GB, free: 170.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.722e-05/2.809, allocations: 91.06 kB / 1.115 GB, free: 170.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/2.809, allocations: 0 / 1.115 GB, free: 170.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001057/2.81, allocations: 162.7 kB / 1.115 GB, free: 170.1 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.004431/2.815, allocations: 1.7 MB / 1.116 GB, free: 168.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009648/2.816, allocations: 195.6 kB / 1.117 GB, free: 168.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/2.816, allocations: 0 / 1.117 GB, free: 168.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005463/2.816, allocations: 204.5 kB / 1.117 GB, free: 168.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008096/2.817, allocations: 52.34 kB / 1.117 GB, free: 168.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/2.819, allocations: 429.6 kB / 1.117 GB, free: 168.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/2.819, allocations: 0.7122 MB / 1.118 GB, free: 167.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/2.819, allocations: 47.22 kB / 1.118 GB, free: 167.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/2.819, allocations: 0 / 1.118 GB, free: 167.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.111/5.93, allocations: 7.923 MB / 1.126 GB, free: 160.8 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat