Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.383/2.383, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.63e-05/3.636e-05, allocations: 0.9375 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4243, allocations: 54.86 MB / 359.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.929/2.354, allocations: 0.7223 GB / 1.074 GB, free: 5.281 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/2.354, allocations: 71.91 kB / 1.074 GB, free: 5.242 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4269/2.781, allocations: 33.35 MB / 1.106 GB, free: 177.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.763e-06/2.781, allocations: 0 / 1.106 GB, free: 177.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/2.781, allocations: 2.406 kB / 1.106 GB, free: 177.2 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005903/2.781, allocations: 422 kB / 1.107 GB, free: 176.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/2.782, allocations: 6.719 kB / 1.107 GB, free: 176.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.143e-05/2.782, allocations: 52.53 kB / 1.107 GB, free: 176.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/2.784, allocations: 186.5 kB / 1.107 GB, free: 176.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/2.785, allocations: 202.8 kB / 1.107 GB, free: 176.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/2.785, allocations: 8.125 kB / 1.107 GB, free: 176.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.185e-05/2.785, allocations: 10.72 kB / 1.107 GB, free: 176.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/2.785, allocations: 191.2 kB / 1.107 GB, free: 176.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/2.785, allocations: 0 / 1.107 GB, free: 176.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/2.785, allocations: 7.969 kB / 1.107 GB, free: 176.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/2.785, allocations: 3.953 kB / 1.107 GB, free: 176.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005666/2.786, allocations: 195.3 kB / 1.108 GB, free: 176.2 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.002012/2.788, allocations: 0.6174 MB / 1.108 GB, free: 175.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/2.788, allocations: 143.9 kB / 1.108 GB, free: 175.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/2.789, allocations: 82.09 kB / 1.108 GB, free: 175.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/2.789, allocations: 92.91 kB / 1.109 GB, free: 175.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/2.789, allocations: 38.56 kB / 1.109 GB, free: 175.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 2.494e-06/2.789, allocations: 0 / 1.109 GB, free: 175.4 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.007538/2.797, allocations: 1.206 MB / 1.11 GB, free: 174.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/2.797, allocations: 55.38 kB / 1.11 GB, free: 174.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.023e-05/2.797, allocations: 102.9 kB / 1.11 GB, free: 174.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/2.797, allocations: 33.64 kB / 1.11 GB, free: 174.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/2.797, allocations: 99.62 kB / 1.11 GB, free: 174.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/2.797, allocations: 70.34 kB / 1.11 GB, free: 174.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/2.797, allocations: 4 kB / 1.11 GB, free: 174.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.229e-05/2.797, allocations: 326.1 kB / 1.11 GB, free: 173.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/2.797, allocations: 69.81 kB / 1.11 GB, free: 173.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/2.797, allocations: 104.6 kB / 1.111 GB, free: 173.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/2.798, allocations: 98.33 kB / 1.111 GB, free: 173.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/2.798, allocations: 0 / 1.111 GB, free: 173.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006261/2.798, allocations: 239.5 kB / 1.111 GB, free: 173.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/2.798, allocations: 3.906 kB / 1.111 GB, free: 173.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/2.798, allocations: 0 / 1.111 GB, free: 173.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001602/2.798, allocations: 20.06 kB / 1.111 GB, free: 173.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/2.799, allocations: 56.88 kB / 1.111 GB, free: 173.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003299/2.799, allocations: 0.5401 MB / 1.112 GB, free: 173 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003788/2.8, allocations: 7.938 kB / 1.112 GB, free: 173 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/2.8, allocations: 15.83 kB / 1.112 GB, free: 173 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/2.8, allocations: 112.9 kB / 1.112 GB, free: 172.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.631e-05/2.8, allocations: 7.844 kB / 1.112 GB, free: 172.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008455/2.801, allocations: 281.1 kB / 1.112 GB, free: 172.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/2.801, allocations: 0 / 1.112 GB, free: 172.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/2.801, allocations: 7.703 kB / 1.112 GB, free: 172.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/2.801, allocations: 4 kB / 1.112 GB, free: 172.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/2.802, allocations: 0.6455 MB / 1.113 GB, free: 172.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/2.802, allocations: 4.031 kB / 1.113 GB, free: 172.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006462/2.803, allocations: 50.28 kB / 1.113 GB, free: 172.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/2.803, allocations: 20.66 kB / 1.113 GB, free: 172.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/2.803, allocations: 7.797 kB / 1.113 GB, free: 172.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008386/2.804, allocations: 1.259 MB / 1.114 GB, free: 170.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/2.804, allocations: 7.844 kB / 1.114 GB, free: 170.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008573/2.805, allocations: 446.9 kB / 1.114 GB, free: 170.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/2.805, allocations: 84.89 kB / 1.114 GB, free: 170.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.75e-05/2.805, allocations: 15.7 kB / 1.114 GB, free: 170.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/2.806, allocations: 7.641 kB / 1.114 GB, free: 170.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/2.806, allocations: 23.61 kB / 1.114 GB, free: 170.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/2.806, allocations: 11.83 kB / 1.114 GB, free: 170.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.279e-05/2.806, allocations: 83.22 kB / 1.115 GB, free: 170.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.4e-07/2.806, allocations: 3.906 kB / 1.115 GB, free: 170.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009202/2.807, allocations: 163.5 kB / 1.115 GB, free: 170.1 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 (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.002595/2.809, allocations: 1.707 MB / 1.116 GB, free: 168.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006748/2.81, allocations: 193.5 kB / 1.117 GB, free: 168.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/2.81, allocations: 0 / 1.117 GB, free: 168.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003872/2.81, allocations: 204.2 kB / 1.117 GB, free: 168.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005755/2.811, allocations: 43.98 kB / 1.117 GB, free: 168.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/2.812, allocations: 416.8 kB / 1.117 GB, free: 168.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/2.812, allocations: 0.7084 MB / 1.118 GB, free: 167.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005965/2.813, allocations: 52.83 kB / 1.118 GB, free: 167.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/2.813, allocations: 39.33 kB / 1.118 GB, free: 167.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.923e-06/2.813, allocations: 0 / 1.118 GB, free: 167.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04901/2.862, allocations: 16.07 MB / 1.134 GB, free: 152 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/2.863, allocations: 175.5 kB / 1.134 GB, free: 151.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.224/6.086, allocations: 3.938 kB / 1.134 GB, free: 151.8 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat