Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.246/2.246, allocations: 209.4 MB / 216.5 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.836e-05, allocations: 0 / 267.6 MB, free: 4.945 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 48.71 MB / 316.3 MB, free: 4.141 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.395/2.512, allocations: 0.7086 GB / 1.018 GB, free: 108.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/2.512, allocations: 69.34 kB / 1.018 GB, free: 108.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1164/2.628, allocations: 32.64 MB / 1.049 GB, free: 81.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.675e-06/2.628, allocations: 3.984 kB / 1.049 GB, free: 81.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/2.628, allocations: 0 / 1.049 GB, free: 81.43 MB / 426.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.0005821/2.629, allocations: 422.6 kB / 1.05 GB, free: 80.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/2.629, allocations: 8.031 kB / 1.05 GB, free: 80.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002741/2.632, allocations: 184.2 kB / 1.05 GB, free: 80.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/2.632, allocations: 206.9 kB / 1.05 GB, free: 80.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/2.632, allocations: 4 kB / 1.05 GB, free: 80.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.273e-05/2.632, allocations: 7.938 kB / 1.05 GB, free: 80.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00055/2.633, allocations: 188.3 kB / 1.05 GB, free: 80.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/2.633, allocations: 150.9 kB / 1.051 GB, free: 80.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/2.633, allocations: 4 kB / 1.051 GB, free: 80.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/2.633, allocations: 7.953 kB / 1.051 GB, free: 80.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/2.633, allocations: 0 / 1.051 GB, free: 80.18 MB / 426.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.001886/2.635, allocations: 0.5821 MB / 1.051 GB, free: 79.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/2.635, allocations: 138.6 kB / 1.051 GB, free: 79.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/2.636, allocations: 76.84 kB / 1.051 GB, free: 79.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002743/2.636, allocations: 97.31 kB / 1.051 GB, free: 79.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/2.636, allocations: 30.56 kB / 1.052 GB, free: 79.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.956e-06/2.636, allocations: 3.938 kB / 1.052 GB, free: 79.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.006318/2.642, allocations: 1.01 MB / 1.053 GB, free: 78.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/2.642, allocations: 55.41 kB / 1.053 GB, free: 78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.059e-05/2.642, allocations: 101 kB / 1.053 GB, free: 77.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/2.643, allocations: 29.69 kB / 1.053 GB, free: 77.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/2.643, allocations: 92.36 kB / 1.053 GB, free: 77.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/2.643, allocations: 67 kB / 1.053 GB, free: 77.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/2.643, allocations: 4 kB / 1.053 GB, free: 77.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.103e-05/2.643, allocations: 318.8 kB / 1.053 GB, free: 77.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/2.643, allocations: 71.98 kB / 1.053 GB, free: 77.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/2.643, allocations: 103.6 kB / 1.053 GB, free: 77.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/2.643, allocations: 81.03 kB / 1.053 GB, free: 77.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/2.643, allocations: 0 / 1.053 GB, free: 77.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005587/2.644, allocations: 230.3 kB / 1.054 GB, free: 76.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/2.644, allocations: 4 kB / 1.054 GB, free: 76.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/2.644, allocations: 0 / 1.054 GB, free: 76.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001398/2.644, allocations: 28.94 kB / 1.054 GB, free: 76.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006102/2.645, allocations: 59.89 kB / 1.054 GB, free: 76.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003172/2.645, allocations: 0.5327 MB / 1.054 GB, free: 76.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/2.645, allocations: 8.016 kB / 1.054 GB, free: 76.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/2.645, allocations: 8 kB / 1.054 GB, free: 76.21 MB / 426.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.0001108/2.646, allocations: 113 kB / 1.054 GB, free: 76.09 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005127/2.646, allocations: 206.4 kB / 1.055 GB, free: 75.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.165e-05/2.646, allocations: 7.906 kB / 1.055 GB, free: 75.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007527/2.647, allocations: 255 kB / 1.055 GB, free: 75.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/2.647, allocations: 0 / 1.055 GB, free: 75.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/2.647, allocations: 11.92 kB / 1.055 GB, free: 75.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/2.647, allocations: 0 / 1.055 GB, free: 75.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/2.648, allocations: 0.5935 MB / 1.055 GB, free: 74.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/2.648, allocations: 7.938 kB / 1.055 GB, free: 74.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006048/2.649, allocations: 47.97 kB / 1.055 GB, free: 74.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/2.649, allocations: 20.84 kB / 1.055 GB, free: 74.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/2.649, allocations: 11.92 kB / 1.055 GB, free: 74.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000741/2.65, allocations: 1.221 MB / 1.057 GB, free: 73.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/2.65, allocations: 0 / 1.057 GB, free: 73.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007279/2.65, allocations: 431.1 kB / 1.057 GB, free: 73.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/2.651, allocations: 89.11 kB / 1.057 GB, free: 72.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.152e-05/2.651, allocations: 0 / 1.057 GB, free: 72.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/2.651, allocations: 4 kB / 1.057 GB, free: 72.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/2.651, allocations: 23.92 kB / 1.057 GB, free: 72.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/2.651, allocations: 11.98 kB / 1.057 GB, free: 72.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.031e-05/2.651, allocations: 83.28 kB / 1.057 GB, free: 72.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.651, allocations: 0 / 1.057 GB, free: 72.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008174/2.652, allocations: 151.9 kB / 1.057 GB, free: 72.7 MB / 426.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.002332/2.654, allocations: 1.772 MB / 1.059 GB, free: 70.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005665/2.655, allocations: 184.1 kB / 1.059 GB, free: 70.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/2.655, allocations: 0 / 1.059 GB, free: 70.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003398/2.655, allocations: 209.6 kB / 1.06 GB, free: 70.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/2.656, allocations: 36.09 kB / 1.06 GB, free: 70.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/2.657, allocations: 393.3 kB / 1.06 GB, free: 70.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/2.657, allocations: 0.7124 MB / 1.061 GB, free: 69.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005937/2.658, allocations: 53.05 kB / 1.061 GB, free: 69.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/2.658, allocations: 39.42 kB / 1.061 GB, free: 69.19 MB / 426.7 MB Notification: Performance of SimCode: time 9.31e-07/2.658, allocations: 4 kB / 1.061 GB, free: 69.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04968/2.708, allocations: 9.799 MB / 1.07 GB, free: 59.39 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/2.708, allocations: 131.3 kB / 1.07 GB, free: 59.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.033/5.741, allocations: 0 / 1.07 GB, free: 59.2 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat