Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.713/1.713, allocations: 171.2 MB / 183.8 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.893e-05/3.911e-05, allocations: 0 / 225.1 MB, free: 2.746 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2717, allocations: 38.77 MB / 263.8 MB, free: 9.887 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.122/2.393, allocations: 0.701 GB / 0.9586 GB, free: 85.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/2.394, allocations: 71.09 kB / 0.9587 GB, free: 85.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1136/2.507, allocations: 33.45 MB / 0.9914 GB, free: 57.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.734e-06/2.507, allocations: 0 / 0.9914 GB, free: 57.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/2.507, allocations: 4 kB / 0.9914 GB, free: 57.23 MB / 362.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.0006083/2.508, allocations: 410.2 kB / 0.9918 GB, free: 56.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/2.508, allocations: 8.031 kB / 0.9918 GB, free: 56.78 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.484e-05/2.508, allocations: 42.31 kB / 0.9918 GB, free: 56.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002819/2.511, allocations: 186.8 kB / 0.992 GB, free: 56.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/2.511, allocations: 206.1 kB / 0.9922 GB, free: 56.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/2.511, allocations: 4.188 kB / 0.9922 GB, free: 56.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.524e-05/2.512, allocations: 11.31 kB / 0.9922 GB, free: 56.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005453/2.512, allocations: 196 kB / 0.9924 GB, free: 56.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/2.512, allocations: 0 / 0.9924 GB, free: 56.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.789e-05/2.512, allocations: 3.938 kB / 0.9924 GB, free: 56.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/2.512, allocations: 4 kB / 0.9924 GB, free: 56.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005536/2.513, allocations: 195.9 kB / 0.9926 GB, free: 56.07 MB / 362.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.002103/2.515, allocations: 0.6318 MB / 0.9932 GB, free: 55.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/2.515, allocations: 151.2 kB / 0.9934 GB, free: 55.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/2.516, allocations: 80.34 kB / 0.9934 GB, free: 55.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002847/2.516, allocations: 93.03 kB / 0.9935 GB, free: 55.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/2.516, allocations: 38.44 kB / 0.9936 GB, free: 55.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 3.166e-06/2.516, allocations: 0 / 0.9936 GB, free: 55.18 MB / 362.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.007775/2.524, allocations: 1.2 MB / 0.9947 GB, free: 54.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/2.524, allocations: 51.41 kB / 0.9948 GB, free: 54.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.898e-05/2.524, allocations: 112.3 kB / 0.9949 GB, free: 53.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/2.524, allocations: 25.7 kB / 0.9949 GB, free: 53.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/2.524, allocations: 170.2 kB / 0.9951 GB, free: 53.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.511e-05/2.524, allocations: 65.33 kB / 0.9951 GB, free: 53.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.526e-05/2.524, allocations: 4 kB / 0.9951 GB, free: 53.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.371e-05/2.524, allocations: 322.5 kB / 0.9954 GB, free: 53.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/2.524, allocations: 73.86 kB / 0.9955 GB, free: 53.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/2.525, allocations: 112.2 kB / 0.9956 GB, free: 53.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/2.525, allocations: 84.72 kB / 0.9957 GB, free: 53.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/2.525, allocations: 4 kB / 0.9957 GB, free: 53.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006507/2.526, allocations: 249.2 kB / 0.9959 GB, free: 52.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/2.526, allocations: 4 kB / 0.9959 GB, free: 52.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/2.526, allocations: 4 kB / 0.9959 GB, free: 52.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001841/2.526, allocations: 24.47 kB / 0.996 GB, free: 52.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/2.526, allocations: 55.89 kB / 0.996 GB, free: 52.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003367/2.527, allocations: 0.5356 MB / 0.9965 GB, free: 52.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/2.527, allocations: 11.59 kB / 0.9966 GB, free: 52.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.415e-05/2.527, allocations: 7.984 kB / 0.9966 GB, free: 52.3 MB / 362.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.0001224/2.527, allocations: 115.8 kB / 0.9967 GB, free: 52.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.69e-05/2.527, allocations: 11.81 kB / 0.9967 GB, free: 52.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008294/2.528, allocations: 282.3 kB / 0.997 GB, free: 51.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/2.528, allocations: 0 / 0.997 GB, free: 51.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/2.528, allocations: 0 / 0.997 GB, free: 51.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/2.528, allocations: 7.922 kB / 0.997 GB, free: 51.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/2.53, allocations: 0.6313 MB / 0.9976 GB, free: 51.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/2.53, allocations: 4.094 kB / 0.9976 GB, free: 51.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006361/2.53, allocations: 51.89 kB / 0.9976 GB, free: 51.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001164/2.53, allocations: 24.48 kB / 0.9977 GB, free: 51.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/2.53, allocations: 7.625 kB / 0.9977 GB, free: 51.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008539/2.531, allocations: 1.268 MB / 0.9989 GB, free: 49.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/2.531, allocations: 0 / 0.9989 GB, free: 49.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008666/2.532, allocations: 439.2 kB / 0.9993 GB, free: 49.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/2.532, allocations: 92.97 kB / 0.9994 GB, free: 49.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/2.532, allocations: 6.438 kB / 0.9994 GB, free: 49.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004147/2.533, allocations: 8.688 kB / 0.9994 GB, free: 49.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/2.533, allocations: 26.42 kB / 0.9995 GB, free: 49.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/2.533, allocations: 8 kB / 0.9995 GB, free: 49.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.328e-05/2.533, allocations: 89.69 kB / 0.9995 GB, free: 49.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.443e-06/2.533, allocations: 0 / 0.9995 GB, free: 49.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008725/2.534, allocations: 165.2 kB / 0.9997 GB, free: 49.18 MB / 362.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.002579/2.537, allocations: 1.711 MB / 1.001 GB, free: 47.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007298/2.537, allocations: 188.8 kB / 1.002 GB, free: 47.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/2.537, allocations: 0 / 1.002 GB, free: 47.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004009/2.538, allocations: 229.2 kB / 1.002 GB, free: 47.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005886/2.538, allocations: 41.34 kB / 1.002 GB, free: 47.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/2.54, allocations: 433.6 kB / 1.002 GB, free: 46.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/2.54, allocations: 0.7228 MB / 1.003 GB, free: 45.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/2.54, allocations: 41.91 kB / 1.003 GB, free: 45.94 MB / 362.7 MB Notification: Performance of SimCode: time 1.643e-06/2.54, allocations: 0 / 1.003 GB, free: 45.94 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.023/5.563, allocations: 7.925 MB / 1.011 GB, free: 38.04 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat