Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.916/1.916, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.319e-05/4.339e-05, allocations: 7.438 kB / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2841, allocations: 38.77 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.355/1.639, allocations: 441.3 MB / 0.6886 GB, free: 81.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/1.64, allocations: 73.64 kB / 0.6887 GB, free: 81.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1018/1.741, allocations: 29.72 MB / 0.7177 GB, free: 56.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/1.742, allocations: 4 kB / 0.7177 GB, free: 56.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/1.742, allocations: 0 / 0.7177 GB, free: 56.64 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004852/1.742, allocations: 385.6 kB / 0.7181 GB, free: 56.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/1.742, allocations: 16.02 kB / 0.7181 GB, free: 56.21 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.644e-05/1.742, allocations: 38.06 kB / 0.7181 GB, free: 56.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002719/1.745, allocations: 185.4 kB / 0.7183 GB, free: 56.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/1.745, allocations: 204.8 kB / 0.7185 GB, free: 55.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/1.745, allocations: 8.219 kB / 0.7185 GB, free: 55.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.554e-05/1.745, allocations: 7.688 kB / 0.7185 GB, free: 55.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005484/1.746, allocations: 218.6 kB / 0.7187 GB, free: 55.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/1.746, allocations: 0 / 0.7187 GB, free: 55.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.93e-05/1.746, allocations: 0 / 0.7187 GB, free: 55.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/1.746, allocations: 4 kB / 0.7187 GB, free: 55.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004927/1.746, allocations: 148.1 kB / 0.7189 GB, free: 55.5 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.001255/1.748, allocations: 0.584 MB / 0.7195 GB, free: 54.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/1.748, allocations: 127 kB / 0.7196 GB, free: 54.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/1.748, allocations: 62.92 kB / 0.7196 GB, free: 54.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/1.748, allocations: 7.984 kB / 0.7196 GB, free: 54.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/1.748, allocations: 38.25 kB / 0.7197 GB, free: 54.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.365e-06/1.748, allocations: 0 / 0.7197 GB, free: 54.73 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.007552/1.756, allocations: 1.092 MB / 0.7207 GB, free: 53.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/1.756, allocations: 55.41 kB / 0.7208 GB, free: 53.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.251e-05/1.756, allocations: 104.1 kB / 0.7209 GB, free: 53.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/1.756, allocations: 29.7 kB / 0.7209 GB, free: 53.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/1.756, allocations: 170 kB / 0.7211 GB, free: 53.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.549e-05/1.756, allocations: 69.69 kB / 0.7212 GB, free: 53.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/1.756, allocations: 0 / 0.7212 GB, free: 53.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.284e-05/1.756, allocations: 322.4 kB / 0.7215 GB, free: 52.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/1.757, allocations: 68.23 kB / 0.7215 GB, free: 52.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/1.757, allocations: 91.98 kB / 0.7216 GB, free: 52.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/1.757, allocations: 82.28 kB / 0.7217 GB, free: 52.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.757, allocations: 0 / 0.7217 GB, free: 52.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006067/1.758, allocations: 240.1 kB / 0.7219 GB, free: 52.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/1.758, allocations: 8 kB / 0.7219 GB, free: 52.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/1.758, allocations: 0 / 0.7219 GB, free: 52.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000241/1.758, allocations: 51.95 kB / 0.722 GB, free: 52.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005918/1.759, allocations: 59.98 kB / 0.722 GB, free: 52.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004165/1.759, allocations: 0.563 MB / 0.7226 GB, free: 51.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/1.759, allocations: 11.64 kB / 0.7226 GB, free: 51.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.708e-05/1.759, allocations: 27.94 kB / 0.7226 GB, free: 51.88 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.0001181/1.76, allocations: 124.4 kB / 0.7227 GB, free: 51.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/1.76, allocations: 12 kB / 0.7228 GB, free: 51.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/1.761, allocations: 339.6 kB / 0.7231 GB, free: 51.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/1.761, allocations: 0 / 0.7231 GB, free: 51.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.761, allocations: 0 / 0.7231 GB, free: 51.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/1.761, allocations: 3.984 kB / 0.7231 GB, free: 51.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/1.762, allocations: 0.5906 MB / 0.7237 GB, free: 50.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/1.762, allocations: 4.094 kB / 0.7237 GB, free: 50.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005997/1.763, allocations: 67.52 kB / 0.7237 GB, free: 50.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000114/1.763, allocations: 20.66 kB / 0.7237 GB, free: 50.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/1.763, allocations: 15.48 kB / 0.7238 GB, free: 50.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008369/1.764, allocations: 1.26 MB / 0.725 GB, free: 49.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.764, allocations: 4.031 kB / 0.725 GB, free: 49.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008193/1.764, allocations: 460.2 kB / 0.7254 GB, free: 49.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/1.764, allocations: 85.02 kB / 0.7255 GB, free: 48.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.765e-05/1.765, allocations: 7.5 kB / 0.7255 GB, free: 48.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/1.765, allocations: 11.48 kB / 0.7255 GB, free: 48.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/1.765, allocations: 27.72 kB / 0.7256 GB, free: 48.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.695e-05/1.765, allocations: 28 kB / 0.7256 GB, free: 48.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.336e-05/1.765, allocations: 95.33 kB / 0.7257 GB, free: 48.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.765, allocations: 0 / 0.7257 GB, free: 48.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007287/1.766, allocations: 112.6 kB / 0.7258 GB, free: 48.7 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 (21): * Single equations (assignments): 20 * 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.002046/1.768, allocations: 1.613 MB / 0.7274 GB, free: 47.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006259/1.769, allocations: 192.6 kB / 0.7275 GB, free: 46.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.769, allocations: 0 / 0.7275 GB, free: 46.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003764/1.769, allocations: 212 kB / 0.7277 GB, free: 46.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/1.77, allocations: 55.38 kB / 0.7278 GB, free: 46.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/1.771, allocations: 418.9 kB / 0.7282 GB, free: 46.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/1.771, allocations: 0.7126 MB / 0.7289 GB, free: 45.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003879/1.771, allocations: 74.2 kB / 0.729 GB, free: 45.52 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/1.771, allocations: 0 / 0.729 GB, free: 45.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.96/4.731, allocations: 6.948 MB / 0.7357 GB, free: 38.62 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat