Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.919/1.919, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.291e-05/4.299e-05, allocations: 4 kB / 273.2 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.351/2.458, allocations: 0.7091 GB / 1.023 GB, free: 109.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/2.459, allocations: 66.59 kB / 1.023 GB, free: 109.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1123/2.571, allocations: 33.19 MB / 1.056 GB, free: 80.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.943e-06/2.571, allocations: 3.938 kB / 1.056 GB, free: 80.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/2.571, allocations: 4 kB / 1.056 GB, free: 80.09 MB / 426.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.0005403/2.572, allocations: 410.6 kB / 1.056 GB, free: 79.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/2.572, allocations: 16.03 kB / 1.056 GB, free: 79.62 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/2.572, allocations: 42.55 kB / 1.056 GB, free: 79.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002699/2.575, allocations: 184.2 kB / 1.056 GB, free: 79.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/2.575, allocations: 210.9 kB / 1.057 GB, free: 79.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/2.575, allocations: 192 / 1.057 GB, free: 79.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.09e-05/2.575, allocations: 12 kB / 1.057 GB, free: 79.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/2.575, allocations: 186.9 kB / 1.057 GB, free: 78.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/2.575, allocations: 0 / 1.057 GB, free: 78.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.683e-05/2.576, allocations: 7.953 kB / 1.057 GB, free: 78.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/2.576, allocations: 8 kB / 1.057 GB, free: 78.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005444/2.576, allocations: 192.3 kB / 1.057 GB, free: 78.74 MB / 426.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.001906/2.578, allocations: 0.6132 MB / 1.058 GB, free: 78.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/2.578, allocations: 142.6 kB / 1.058 GB, free: 77.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/2.579, allocations: 80.84 kB / 1.058 GB, free: 77.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002584/2.579, allocations: 97.31 kB / 1.058 GB, free: 77.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/2.579, allocations: 30.56 kB / 1.058 GB, free: 77.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.973e-06/2.579, allocations: 3.938 kB / 1.058 GB, free: 77.68 MB / 426.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.007343/2.586, allocations: 1.198 MB / 1.059 GB, free: 76.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/2.586, allocations: 59.41 kB / 1.059 GB, free: 76.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.427e-05/2.586, allocations: 109 kB / 1.059 GB, free: 76.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/2.586, allocations: 29.7 kB / 1.059 GB, free: 76.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/2.587, allocations: 170.7 kB / 1.06 GB, free: 76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.278e-05/2.587, allocations: 67.03 kB / 1.06 GB, free: 75.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/2.587, allocations: 4 kB / 1.06 GB, free: 75.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.803e-05/2.587, allocations: 326.8 kB / 1.06 GB, free: 75.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/2.587, allocations: 68 kB / 1.06 GB, free: 75.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/2.587, allocations: 105.4 kB / 1.06 GB, free: 75.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/2.587, allocations: 91.47 kB / 1.06 GB, free: 75.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/2.587, allocations: 0 / 1.06 GB, free: 75.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006124/2.588, allocations: 242.3 kB / 1.06 GB, free: 75.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/2.588, allocations: 4 kB / 1.06 GB, free: 75.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/2.588, allocations: 7.984 kB / 1.06 GB, free: 75.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001678/2.588, allocations: 16.86 kB / 1.06 GB, free: 75.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/2.589, allocations: 63.98 kB / 1.06 GB, free: 74.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003139/2.589, allocations: 0.529 MB / 1.061 GB, free: 74.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/2.59, allocations: 15.89 kB / 1.061 GB, free: 74.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/2.59, allocations: 8 kB / 1.061 GB, free: 74.41 MB / 426.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.0001118/2.59, allocations: 117 kB / 1.061 GB, free: 74.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.19e-05/2.59, allocations: 11.89 kB / 1.061 GB, free: 74.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007909/2.591, allocations: 286.2 kB / 1.061 GB, free: 74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/2.591, allocations: 0 / 1.061 GB, free: 74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/2.591, allocations: 3.953 kB / 1.061 GB, free: 73.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/2.591, allocations: 0 / 1.061 GB, free: 73.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/2.592, allocations: 0.6325 MB / 1.062 GB, free: 73.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/2.592, allocations: 0 / 1.062 GB, free: 73.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006187/2.593, allocations: 51.89 kB / 1.062 GB, free: 73.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/2.593, allocations: 20.84 kB / 1.062 GB, free: 73.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/2.593, allocations: 7.938 kB / 1.062 GB, free: 73.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000775/2.594, allocations: 1.264 MB / 1.063 GB, free: 71.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/2.594, allocations: 4.031 kB / 1.063 GB, free: 71.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007973/2.594, allocations: 443.9 kB / 1.064 GB, free: 71.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/2.594, allocations: 96.84 kB / 1.064 GB, free: 71.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/2.594, allocations: 4 kB / 1.064 GB, free: 71.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004015/2.595, allocations: 8 kB / 1.064 GB, free: 71.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/2.595, allocations: 24.03 kB / 1.064 GB, free: 71.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/2.595, allocations: 8 kB / 1.064 GB, free: 71.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.932e-05/2.595, allocations: 95.25 kB / 1.064 GB, free: 71.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.3e-07/2.595, allocations: 0 / 1.064 GB, free: 71.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008398/2.596, allocations: 159.9 kB / 1.064 GB, free: 70.92 MB / 426.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.002424/2.598, allocations: 1.704 MB / 1.066 GB, free: 69.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007046/2.599, allocations: 199.8 kB / 1.066 GB, free: 68.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/2.599, allocations: 0 / 1.066 GB, free: 68.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003751/2.599, allocations: 205.2 kB / 1.066 GB, free: 68.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/2.6, allocations: 43.95 kB / 1.066 GB, free: 68.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/2.601, allocations: 440.5 kB / 1.067 GB, free: 68.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/2.602, allocations: 0.7127 MB / 1.067 GB, free: 67.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/2.602, allocations: 43.42 kB / 1.067 GB, free: 67.46 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/2.602, allocations: 0 / 1.067 GB, free: 67.46 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.891/5.493, allocations: 7.939 MB / 1.075 GB, free: 59.55 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat