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.39/2.39, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.176e-05/4.179e-05, allocations: 0 / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4191, allocations: 54.85 MB / 359.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.292/1.712, allocations: 456.4 MB / 0.7972 GB, free: 96.35 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.712, allocations: 67.72 kB / 0.7972 GB, free: 96.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1015/1.814, allocations: 29.75 MB / 0.8263 GB, free: 71.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.873e-06/1.814, allocations: 0 / 0.8263 GB, free: 71.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/1.814, allocations: 4 kB / 0.8263 GB, free: 71.42 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.0004953/1.814, allocations: 392.9 kB / 0.8267 GB, free: 71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/1.814, allocations: 8.031 kB / 0.8267 GB, free: 71 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/1.814, allocations: 46.23 kB / 0.8267 GB, free: 70.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002753/1.817, allocations: 181.9 kB / 0.8269 GB, free: 70.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/1.817, allocations: 212.3 kB / 0.8271 GB, free: 70.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/1.817, allocations: 3.438 kB / 0.8271 GB, free: 70.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.956e-05/1.817, allocations: 11.56 kB / 0.8271 GB, free: 70.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005477/1.818, allocations: 207.7 kB / 0.8273 GB, free: 70.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/1.818, allocations: 0 / 0.8273 GB, free: 70.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.986e-05/1.818, allocations: 4 kB / 0.8273 GB, free: 70.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/1.818, allocations: 7.953 kB / 0.8273 GB, free: 70.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/1.819, allocations: 153.7 kB / 0.8275 GB, free: 70.28 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.001315/1.82, allocations: 0.58 MB / 0.828 GB, free: 69.69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/1.82, allocations: 141.7 kB / 0.8282 GB, free: 69.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/1.82, allocations: 66.28 kB / 0.8282 GB, free: 69.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/1.821, allocations: 4 kB / 0.8282 GB, free: 69.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/1.821, allocations: 30.56 kB / 0.8282 GB, free: 69.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 2.986e-06/1.821, allocations: 0 / 0.8282 GB, free: 69.5 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.007635/1.828, allocations: 1.082 MB / 0.8293 GB, free: 68.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/1.828, allocations: 59.41 kB / 0.8294 GB, free: 68.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.206e-05/1.828, allocations: 107.3 kB / 0.8295 GB, free: 68.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/1.828, allocations: 29.7 kB / 0.8295 GB, free: 68.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/1.829, allocations: 95.83 kB / 0.8296 GB, free: 68.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/1.829, allocations: 65.59 kB / 0.8296 GB, free: 68.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/1.829, allocations: 3.562 kB / 0.8296 GB, free: 68.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.409e-05/1.829, allocations: 326.7 kB / 0.83 GB, free: 67.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/1.829, allocations: 61.75 kB / 0.83 GB, free: 67.76 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/1.829, allocations: 98.8 kB / 0.8301 GB, free: 67.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/1.829, allocations: 76.97 kB / 0.8302 GB, free: 67.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.829, allocations: 3.938 kB / 0.8302 GB, free: 67.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006036/1.83, allocations: 250.8 kB / 0.8304 GB, free: 67.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/1.83, allocations: 8.094 kB / 0.8304 GB, free: 67.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.83, allocations: 0 / 0.8304 GB, free: 67.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/1.83, allocations: 52.14 kB / 0.8305 GB, free: 67.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005467/1.831, allocations: 55.33 kB / 0.8305 GB, free: 67.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000414/1.831, allocations: 0.5591 MB / 0.8311 GB, free: 66.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/1.832, allocations: 15.55 kB / 0.8311 GB, free: 66.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.933e-05/1.832, allocations: 27.48 kB / 0.8311 GB, free: 66.71 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.0001172/1.832, allocations: 112.7 kB / 0.8312 GB, free: 66.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/1.832, allocations: 11.84 kB / 0.8312 GB, free: 66.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/1.833, allocations: 333.6 kB / 0.8316 GB, free: 66.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.833, allocations: 3.984 kB / 0.8316 GB, free: 66.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.833, allocations: 3.953 kB / 0.8316 GB, free: 66.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.833, allocations: 4 kB / 0.8316 GB, free: 66.31 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/1.834, allocations: 0.6023 MB / 0.8322 GB, free: 65.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/1.834, allocations: 11.95 kB / 0.8322 GB, free: 65.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/1.835, allocations: 55.95 kB / 0.8322 GB, free: 65.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/1.835, allocations: 20.03 kB / 0.8322 GB, free: 65.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/1.835, allocations: 15.73 kB / 0.8323 GB, free: 65.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008452/1.836, allocations: 1.267 MB / 0.8335 GB, free: 64.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.836, allocations: 0 / 0.8335 GB, free: 64.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007935/1.837, allocations: 453.4 kB / 0.8339 GB, free: 63.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/1.837, allocations: 89.08 kB / 0.834 GB, free: 63.77 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/1.837, allocations: 7.703 kB / 0.834 GB, free: 63.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/1.837, allocations: 7.875 kB / 0.834 GB, free: 63.76 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/1.837, allocations: 19.97 kB / 0.8341 GB, free: 63.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.822e-05/1.837, allocations: 31.92 kB / 0.8341 GB, free: 63.71 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.222e-05/1.837, allocations: 91.02 kB / 0.8342 GB, free: 63.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.837, allocations: 0 / 0.8342 GB, free: 63.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007418/1.838, allocations: 116.7 kB / 0.8343 GB, free: 63.54 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.002091/1.84, allocations: 1.639 MB / 0.8359 GB, free: 61.94 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006686/1.841, allocations: 186.1 kB / 0.8361 GB, free: 61.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.841, allocations: 0 / 0.8361 GB, free: 61.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003819/1.841, allocations: 209.9 kB / 0.8363 GB, free: 61.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/1.842, allocations: 44.17 kB / 0.8363 GB, free: 61.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/1.843, allocations: 378.9 kB / 0.8367 GB, free: 61.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/1.843, allocations: 0.7127 MB / 0.8374 GB, free: 60.46 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007499/1.844, allocations: 77.7 kB / 0.8374 GB, free: 60.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003559/1.844, allocations: 72.78 kB / 0.8375 GB, free: 60.34 MB / 490.7 MB Notification: Performance of SimCode: time 1.623e-06/1.844, allocations: 0 / 0.8375 GB, free: 60.34 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05468/1.899, allocations: 15.72 MB / 0.8529 GB, free: 44.69 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003097/1.899, allocations: 180.4 kB / 0.853 GB, free: 44.46 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.117/5.017, allocations: 0 / 0.853 GB, free: 44.46 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