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.816/1.816, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.545e-05, allocations: 4 kB / 225.1 MB, free: 2.613 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2806, allocations: 38.77 MB / 263.8 MB, free: 9.754 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.192/2.473, allocations: 0.701 GB / 0.9587 GB, free: 84.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/2.473, allocations: 76.83 kB / 0.9587 GB, free: 84.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1181/2.591, allocations: 33.44 MB / 0.9914 GB, free: 56.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.635e-06/2.591, allocations: 0 / 0.9914 GB, free: 56.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/2.592, allocations: 4 kB / 0.9914 GB, free: 56.36 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.0005886/2.592, allocations: 413.8 kB / 0.9918 GB, free: 55.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/2.592, allocations: 12.23 kB / 0.9918 GB, free: 55.91 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.686e-05/2.592, allocations: 41.88 kB / 0.9918 GB, free: 55.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002807/2.595, allocations: 185.3 kB / 0.992 GB, free: 55.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/2.595, allocations: 209.7 kB / 0.9922 GB, free: 55.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/2.595, allocations: 4.188 kB / 0.9922 GB, free: 55.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.445e-05/2.596, allocations: 11.94 kB / 0.9922 GB, free: 55.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/2.596, allocations: 193 kB / 0.9924 GB, free: 55.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/2.596, allocations: 4 kB / 0.9924 GB, free: 55.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.665e-05/2.596, allocations: 3.688 kB / 0.9924 GB, free: 55.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/2.596, allocations: 4 kB / 0.9924 GB, free: 55.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005659/2.597, allocations: 191.6 kB / 0.9926 GB, free: 55.2 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.00202/2.599, allocations: 0.6331 MB / 0.9932 GB, free: 54.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/2.599, allocations: 146.4 kB / 0.9934 GB, free: 54.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/2.599, allocations: 78.17 kB / 0.9934 GB, free: 54.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000291/2.6, allocations: 93.03 kB / 0.9935 GB, free: 54.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/2.6, allocations: 42.36 kB / 0.9936 GB, free: 54.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 3.086e-06/2.6, allocations: 0 / 0.9936 GB, free: 54.31 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.007828/2.608, allocations: 1.199 MB / 0.9947 GB, free: 53.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/2.608, allocations: 59.39 kB / 0.9948 GB, free: 53.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.788e-05/2.608, allocations: 108.2 kB / 0.9949 GB, free: 53.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/2.608, allocations: 29.7 kB / 0.9949 GB, free: 52.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/2.608, allocations: 166.6 kB / 0.9951 GB, free: 52.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.948e-05/2.608, allocations: 65.64 kB / 0.9952 GB, free: 52.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/2.608, allocations: 0 / 0.9952 GB, free: 52.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.573e-05/2.608, allocations: 326.1 kB / 0.9955 GB, free: 52.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/2.608, allocations: 68.88 kB / 0.9955 GB, free: 52.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/2.609, allocations: 108.2 kB / 0.9956 GB, free: 52.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/2.609, allocations: 89.72 kB / 0.9957 GB, free: 52.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/2.609, allocations: 0 / 0.9957 GB, free: 52.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006513/2.609, allocations: 243.2 kB / 0.996 GB, free: 52.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/2.609, allocations: 4 kB / 0.996 GB, free: 52.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/2.61, allocations: 4 kB / 0.996 GB, free: 52.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000185/2.61, allocations: 28.44 kB / 0.996 GB, free: 52.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006458/2.61, allocations: 55.47 kB / 0.996 GB, free: 52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003724/2.611, allocations: 0.5273 MB / 0.9966 GB, free: 51.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/2.611, allocations: 11.72 kB / 0.9966 GB, free: 51.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/2.611, allocations: 4 kB / 0.9966 GB, free: 51.45 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.0001333/2.611, allocations: 128.1 kB / 0.9967 GB, free: 51.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.739e-05/2.611, allocations: 11.81 kB / 0.9967 GB, free: 51.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008533/2.612, allocations: 266.5 kB / 0.997 GB, free: 51.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/2.612, allocations: 4 kB / 0.997 GB, free: 51.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/2.612, allocations: 0 / 0.997 GB, free: 51.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/2.612, allocations: 7.922 kB / 0.997 GB, free: 51.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/2.614, allocations: 0.6398 MB / 0.9976 GB, free: 50.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/2.614, allocations: 0 / 0.9976 GB, free: 50.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006526/2.614, allocations: 47.91 kB / 0.9976 GB, free: 50.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001147/2.614, allocations: 24.67 kB / 0.9977 GB, free: 50.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/2.615, allocations: 11.61 kB / 0.9977 GB, free: 50.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008694/2.615, allocations: 1.258 MB / 0.9989 GB, free: 49.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/2.615, allocations: 4.031 kB / 0.9989 GB, free: 49.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009072/2.616, allocations: 446.8 kB / 0.9993 GB, free: 48.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/2.616, allocations: 88.98 kB / 0.9994 GB, free: 48.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.716e-05/2.616, allocations: 6.812 kB / 0.9994 GB, free: 48.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004304/2.617, allocations: 14.11 kB / 0.9994 GB, free: 48.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/2.617, allocations: 14 kB / 0.9995 GB, free: 48.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/2.617, allocations: 15.11 kB / 0.9995 GB, free: 48.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.379e-05/2.617, allocations: 97.81 kB / 0.9996 GB, free: 48.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.617, allocations: 0 / 0.9996 GB, free: 48.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008976/2.618, allocations: 163.7 kB / 0.9997 GB, free: 48.31 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.002621/2.621, allocations: 1.715 MB / 1.001 GB, free: 46.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000793/2.621, allocations: 195.2 kB / 1.002 GB, free: 46.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/2.622, allocations: 4.188 kB / 1.002 GB, free: 46.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004231/2.622, allocations: 208.3 kB / 1.002 GB, free: 46.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006373/2.623, allocations: 44.03 kB / 1.002 GB, free: 46.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/2.624, allocations: 432 kB / 1.002 GB, free: 45.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/2.624, allocations: 0.7151 MB / 1.003 GB, free: 45.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/2.625, allocations: 46.59 kB / 1.003 GB, free: 45.09 MB / 362.7 MB Notification: Performance of SimCode: time 1.793e-06/2.625, allocations: 0 / 1.003 GB, free: 45.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.172/5.796, allocations: 7.973 MB / 1.011 GB, free: 37.16 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