Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.318/2.318, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.933e-05/3.944e-05, allocations: 5.188 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1414, allocations: 61.88 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.412/2.554, allocations: 0.6961 GB / 1.097 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/2.554, allocations: 70.16 kB / 1.097 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1158/2.67, allocations: 34.06 MB / 1.13 GB, free: 91.92 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.864e-06/2.67, allocations: 0 / 1.13 GB, free: 91.92 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.527e-05/2.67, allocations: 8 kB / 1.13 GB, free: 91.91 MB / 0.5261 GB 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.000595/2.67, allocations: 410.3 kB / 1.131 GB, free: 91.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/2.671, allocations: 12.03 kB / 1.131 GB, free: 91.45 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.549e-05/2.671, allocations: 42.55 kB / 1.131 GB, free: 91.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002888/2.673, allocations: 187.6 kB / 1.131 GB, free: 91.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/2.674, allocations: 206.9 kB / 1.131 GB, free: 90.97 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/2.674, allocations: 8.188 kB / 1.131 GB, free: 90.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.655e-05/2.674, allocations: 12 kB / 1.131 GB, free: 90.95 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/2.675, allocations: 182.9 kB / 1.131 GB, free: 90.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/2.675, allocations: 224 / 1.131 GB, free: 90.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/2.675, allocations: 11.98 kB / 1.131 GB, free: 90.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/2.675, allocations: 3.938 kB / 1.131 GB, free: 90.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005588/2.675, allocations: 188.3 kB / 1.131 GB, free: 90.57 MB / 0.5261 GB 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.002037/2.677, allocations: 0.6176 MB / 1.132 GB, free: 89.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/2.678, allocations: 150.6 kB / 1.132 GB, free: 89.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/2.678, allocations: 72.86 kB / 1.132 GB, free: 89.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/2.678, allocations: 89.09 kB / 1.132 GB, free: 89.55 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/2.678, allocations: 34.56 kB / 1.132 GB, free: 89.51 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 2.866e-06/2.678, allocations: 0 / 1.132 GB, free: 89.51 MB / 0.5261 GB 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.007721/2.686, allocations: 1.208 MB / 1.133 GB, free: 88.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/2.686, allocations: 63.39 kB / 1.134 GB, free: 88.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.845e-05/2.686, allocations: 100.9 kB / 1.134 GB, free: 88.03 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/2.686, allocations: 33.7 kB / 1.134 GB, free: 87.99 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/2.686, allocations: 96.34 kB / 1.134 GB, free: 87.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.408e-05/2.686, allocations: 67 kB / 1.134 GB, free: 87.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/2.686, allocations: 8 kB / 1.134 GB, free: 87.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.952e-05/2.686, allocations: 322.8 kB / 1.134 GB, free: 87.49 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/2.687, allocations: 79.8 kB / 1.134 GB, free: 87.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/2.687, allocations: 107.6 kB / 1.134 GB, free: 87.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/2.687, allocations: 84.45 kB / 1.134 GB, free: 87.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/2.687, allocations: 0 / 1.134 GB, free: 87.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006454/2.688, allocations: 238.3 kB / 1.135 GB, free: 86.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/2.688, allocations: 12.09 kB / 1.135 GB, free: 86.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/2.688, allocations: 0 / 1.135 GB, free: 86.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001899/2.688, allocations: 24.84 kB / 1.135 GB, free: 86.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006383/2.689, allocations: 51.91 kB / 1.135 GB, free: 86.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003422/2.689, allocations: 0.5367 MB / 1.135 GB, free: 86.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/2.689, allocations: 19.98 kB / 1.135 GB, free: 86.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/2.689, allocations: 11.98 kB / 1.135 GB, free: 86.29 MB / 0.5261 GB 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.0001219/2.69, allocations: 108.9 kB / 1.135 GB, free: 86.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.352e-05/2.69, allocations: 11.91 kB / 1.135 GB, free: 86.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008399/2.691, allocations: 279 kB / 1.136 GB, free: 85.89 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/2.691, allocations: 0 / 1.136 GB, free: 85.89 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/2.691, allocations: 4 kB / 1.136 GB, free: 85.88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/2.691, allocations: 0 / 1.136 GB, free: 85.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/2.692, allocations: 0.6428 MB / 1.136 GB, free: 85.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/2.692, allocations: 0 / 1.136 GB, free: 85.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006413/2.693, allocations: 47.91 kB / 1.136 GB, free: 85.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/2.693, allocations: 24.84 kB / 1.136 GB, free: 85.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/2.693, allocations: 12.08 kB / 1.136 GB, free: 85.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008243/2.694, allocations: 1.261 MB / 1.138 GB, free: 83.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/2.694, allocations: 160 / 1.138 GB, free: 83.69 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008738/2.694, allocations: 446.2 kB / 1.138 GB, free: 83.21 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/2.695, allocations: 92.89 kB / 1.138 GB, free: 83.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.915e-05/2.695, allocations: 8 kB / 1.138 GB, free: 83.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004249/2.695, allocations: 11.89 kB / 1.138 GB, free: 83.08 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/2.695, allocations: 19.97 kB / 1.138 GB, free: 83.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/2.695, allocations: 7.984 kB / 1.138 GB, free: 83.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.42e-05/2.695, allocations: 91.27 kB / 1.138 GB, free: 82.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.21e-07/2.695, allocations: 0 / 1.138 GB, free: 82.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008816/2.696, allocations: 163.9 kB / 1.138 GB, free: 82.8 MB / 0.5261 GB 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.002593/2.699, allocations: 1.712 MB / 1.14 GB, free: 81.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007055/2.699, allocations: 187.9 kB / 1.14 GB, free: 80.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/2.699, allocations: 0 / 1.14 GB, free: 80.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003992/2.7, allocations: 209.8 kB / 1.14 GB, free: 80.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/2.7, allocations: 51.78 kB / 1.14 GB, free: 80.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/2.702, allocations: 403.1 kB / 1.141 GB, free: 80.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/2.702, allocations: 0.7127 MB / 1.142 GB, free: 79.42 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006093/2.703, allocations: 41.19 kB / 1.142 GB, free: 79.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/2.703, allocations: 39.41 kB / 1.142 GB, free: 79.34 MB / 0.5261 GB Notification: Performance of SimCode: time 1.252e-06/2.703, allocations: 4 kB / 1.142 GB, free: 79.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05656/2.759, allocations: 16.06 MB / 1.157 GB, free: 63.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002841/2.76, allocations: 185.7 kB / 1.157 GB, free: 63.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.41/6.17, allocations: 0 / 1.157 GB, free: 63.18 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat