Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.312/2.312, allocations: 235 MB / 247.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.385e-05/3.401e-05, allocations: 0 / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4116, allocations: 54.85 MB / 359.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.274/1.686, allocations: 456.4 MB / 0.7971 GB, free: 96.71 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/1.686, allocations: 72.14 kB / 0.7972 GB, free: 96.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09884/1.785, allocations: 29.74 MB / 0.8262 GB, free: 71.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.933e-06/1.785, allocations: 4 kB / 0.8262 GB, free: 71.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.74e-05/1.785, allocations: 8 kB / 0.8263 GB, free: 71.78 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005506/1.785, allocations: 382.1 kB / 0.8266 GB, free: 71.37 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/1.785, allocations: 12.03 kB / 0.8266 GB, free: 71.36 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.889e-05/1.785, allocations: 37.12 kB / 0.8267 GB, free: 71.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002795/1.788, allocations: 191.3 kB / 0.8268 GB, free: 71.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/1.789, allocations: 215.6 kB / 0.8271 GB, free: 70.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/1.789, allocations: 7.75 kB / 0.8271 GB, free: 70.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-05/1.789, allocations: 8 kB / 0.8271 GB, free: 70.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005574/1.789, allocations: 210.8 kB / 0.8273 GB, free: 70.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/1.789, allocations: 0 / 0.8273 GB, free: 70.74 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.126e-05/1.789, allocations: 4 kB / 0.8273 GB, free: 70.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/1.789, allocations: 3.953 kB / 0.8273 GB, free: 70.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004845/1.79, allocations: 157.5 kB / 0.8274 GB, free: 70.63 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.001322/1.791, allocations: 0.5811 MB / 0.828 GB, free: 70.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/1.792, allocations: 126.9 kB / 0.8281 GB, free: 69.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/1.792, allocations: 67.47 kB / 0.8282 GB, free: 69.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/1.792, allocations: 7.938 kB / 0.8282 GB, free: 69.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/1.792, allocations: 34.56 kB / 0.8282 GB, free: 69.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 2.174e-06/1.792, allocations: 0 / 0.8282 GB, free: 69.86 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.007629/1.8, allocations: 1.084 MB / 0.8293 GB, free: 68.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/1.8, allocations: 55.41 kB / 0.8293 GB, free: 68.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.663e-05/1.8, allocations: 100.9 kB / 0.8294 GB, free: 68.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/1.8, allocations: 33.64 kB / 0.8295 GB, free: 68.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/1.8, allocations: 99.64 kB / 0.8296 GB, free: 68.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/1.8, allocations: 61.47 kB / 0.8296 GB, free: 68.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/1.8, allocations: 3.75 kB / 0.8296 GB, free: 68.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.009e-05/1.8, allocations: 326.3 kB / 0.8299 GB, free: 68.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/1.8, allocations: 65.38 kB / 0.83 GB, free: 68.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/1.8, allocations: 99.97 kB / 0.8301 GB, free: 68.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/1.801, allocations: 77.94 kB / 0.8302 GB, free: 67.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.801, allocations: 0 / 0.8302 GB, free: 67.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006333/1.801, allocations: 254.4 kB / 0.8304 GB, free: 67.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.801, allocations: 4 kB / 0.8304 GB, free: 67.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.801, allocations: 4 kB / 0.8304 GB, free: 67.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000265/1.802, allocations: 56.52 kB / 0.8305 GB, free: 67.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005443/1.802, allocations: 52.06 kB / 0.8305 GB, free: 67.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004274/1.803, allocations: 0.5662 MB / 0.8311 GB, free: 67.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/1.803, allocations: 7.531 kB / 0.8311 GB, free: 67.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/1.803, allocations: 27.98 kB / 0.8311 GB, free: 67.07 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.0001207/1.803, allocations: 112.4 kB / 0.8312 GB, free: 66.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/1.803, allocations: 16 kB / 0.8312 GB, free: 66.94 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/1.804, allocations: 335.5 kB / 0.8315 GB, free: 66.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/1.804, allocations: 7.953 kB / 0.8315 GB, free: 66.67 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.804, allocations: 0 / 0.8315 GB, free: 66.67 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.804, allocations: 0 / 0.8315 GB, free: 66.67 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/1.806, allocations: 0.608 MB / 0.8321 GB, free: 66.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/1.806, allocations: 4.094 kB / 0.8321 GB, free: 66.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006096/1.806, allocations: 63.89 kB / 0.8322 GB, free: 66.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/1.806, allocations: 20.66 kB / 0.8322 GB, free: 66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/1.806, allocations: 11.25 kB / 0.8322 GB, free: 65.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008378/1.807, allocations: 1.263 MB / 0.8335 GB, free: 64.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.807, allocations: 4.031 kB / 0.8335 GB, free: 64.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008257/1.808, allocations: 459 kB / 0.8339 GB, free: 64.22 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/1.808, allocations: 88.97 kB / 0.834 GB, free: 64.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/1.808, allocations: 3.438 kB / 0.834 GB, free: 64.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/1.809, allocations: 7.812 kB / 0.834 GB, free: 64.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/1.809, allocations: 28.02 kB / 0.834 GB, free: 64.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6e-05/1.809, allocations: 31.55 kB / 0.8341 GB, free: 64.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.138e-05/1.809, allocations: 91.39 kB / 0.8342 GB, free: 63.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.809, allocations: 0 / 0.8342 GB, free: 63.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006978/1.81, allocations: 117 kB / 0.8343 GB, free: 63.88 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 (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.002006/1.812, allocations: 1.629 MB / 0.8359 GB, free: 62.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006185/1.812, allocations: 185.8 kB / 0.836 GB, free: 62.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/1.812, allocations: 4.188 kB / 0.836 GB, free: 62.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003785/1.813, allocations: 218.7 kB / 0.8362 GB, free: 61.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005535/1.813, allocations: 40.12 kB / 0.8363 GB, free: 61.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/1.814, allocations: 383.3 kB / 0.8366 GB, free: 61.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/1.814, allocations: 0.7127 MB / 0.8373 GB, free: 60.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007215/1.815, allocations: 85.31 kB / 0.8374 GB, free: 60.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003525/1.816, allocations: 64.47 kB / 0.8375 GB, free: 60.67 MB / 490.7 MB Notification: Performance of SimCode: time 1.223e-06/1.816, allocations: 4 kB / 0.8375 GB, free: 60.67 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04343/1.859, allocations: 15.7 MB / 0.8528 GB, free: 45.05 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/1.859, allocations: 181.8 kB / 0.853 GB, free: 44.82 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.044/4.903, allocations: 0 / 0.853 GB, free: 44.82 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat