Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.92/1.92, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.64e-05/4.661e-05, allocations: 4 kB / 255.5 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 44.51 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.401/2.509, allocations: 0.7132 GB / 1.006 GB, free: 108.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/2.509, allocations: 73.73 kB / 1.006 GB, free: 108.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1152/2.624, allocations: 33.64 MB / 1.039 GB, free: 100.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/2.624, allocations: 0 / 1.039 GB, free: 100.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/2.624, allocations: 3.781 kB / 1.039 GB, free: 100.9 MB / 410.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.0005854/2.625, allocations: 414.9 kB / 1.039 GB, free: 100.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/2.625, allocations: 7.875 kB / 1.039 GB, free: 100.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.567e-05/2.625, allocations: 46.84 kB / 1.04 GB, free: 100.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002748/2.628, allocations: 179.7 kB / 1.04 GB, free: 100.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/2.628, allocations: 208.1 kB / 1.04 GB, free: 100.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/2.628, allocations: 11.81 kB / 1.04 GB, free: 100.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.407e-05/2.628, allocations: 7.125 kB / 1.04 GB, free: 100.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/2.629, allocations: 187.8 kB / 1.04 GB, free: 100.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/2.629, allocations: 0 / 1.04 GB, free: 100.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.907e-05/2.629, allocations: 11.83 kB / 1.04 GB, free: 100.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/2.629, allocations: 0 / 1.04 GB, free: 100.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005463/2.63, allocations: 198.5 kB / 1.04 GB, free: 100.1 MB / 410.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.002241/2.632, allocations: 0.6305 MB / 1.041 GB, free: 99.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005092/2.632, allocations: 146.6 kB / 1.041 GB, free: 99.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/2.633, allocations: 79.78 kB / 1.041 GB, free: 99.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003388/2.633, allocations: 92.81 kB / 1.041 GB, free: 99.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/2.633, allocations: 34.06 kB / 1.041 GB, free: 99.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.737e-06/2.633, allocations: 0 / 1.041 GB, free: 99.45 MB / 410.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.01101/2.644, allocations: 1.211 MB / 1.042 GB, free: 98.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/2.644, allocations: 51.41 kB / 1.042 GB, free: 98.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/2.644, allocations: 104 kB / 1.043 GB, free: 98.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.218e-05/2.644, allocations: 29.27 kB / 1.043 GB, free: 98.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/2.644, allocations: 102.9 kB / 1.043 GB, free: 98.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/2.645, allocations: 69.23 kB / 1.043 GB, free: 98.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/2.645, allocations: 3.625 kB / 1.043 GB, free: 98.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.454e-05/2.645, allocations: 326.5 kB / 1.043 GB, free: 98.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/2.645, allocations: 73.78 kB / 1.043 GB, free: 98.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/2.645, allocations: 104.5 kB / 1.043 GB, free: 98.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/2.646, allocations: 84.72 kB / 1.043 GB, free: 98.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/2.646, allocations: 2.75 kB / 1.043 GB, free: 98.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001001/2.647, allocations: 246.1 kB / 1.044 GB, free: 98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/2.647, allocations: 8.125 kB / 1.044 GB, free: 98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/2.647, allocations: 0 / 1.044 GB, free: 98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000235/2.647, allocations: 28.34 kB / 1.044 GB, free: 97.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01516/2.662, allocations: 50.94 kB / 1.044 GB, free: 97.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000528/2.663, allocations: 0.5432 MB / 1.044 GB, free: 97.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/2.663, allocations: 4.031 kB / 1.044 GB, free: 97.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-05/2.664, allocations: 11.81 kB / 1.044 GB, free: 97.4 MB / 410.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.0001675/2.664, allocations: 116.7 kB / 1.044 GB, free: 97.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/2.664, allocations: 7.906 kB / 1.044 GB, free: 97.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/2.665, allocations: 275.4 kB / 1.045 GB, free: 97.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/2.665, allocations: 4 kB / 1.045 GB, free: 97.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/2.665, allocations: 7.953 kB / 1.045 GB, free: 97.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/2.665, allocations: 0 / 1.045 GB, free: 97.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/2.667, allocations: 0.6413 MB / 1.045 GB, free: 96.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/2.667, allocations: 0 / 1.045 GB, free: 96.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01247/2.679, allocations: 43.97 kB / 1.045 GB, free: 96.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009973/2.681, allocations: 24.5 kB / 1.045 GB, free: 96.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.704e-05/2.681, allocations: 11.67 kB / 1.045 GB, free: 96.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/2.682, allocations: 1.261 MB / 1.047 GB, free: 95.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/2.682, allocations: 0 / 1.047 GB, free: 95.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/2.683, allocations: 452.5 kB / 1.047 GB, free: 94.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/2.683, allocations: 92.91 kB / 1.047 GB, free: 94.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.311e-05/2.683, allocations: 3.688 kB / 1.047 GB, free: 94.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005736/2.684, allocations: 11.67 kB / 1.047 GB, free: 94.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/2.684, allocations: 11.98 kB / 1.047 GB, free: 94.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.983e-05/2.684, allocations: 19.48 kB / 1.047 GB, free: 94.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.401e-05/2.684, allocations: 87.34 kB / 1.047 GB, free: 94.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.71e-07/2.684, allocations: 4 kB / 1.047 GB, free: 94.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001269/2.685, allocations: 161.5 kB / 1.047 GB, free: 94.27 MB / 410.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.01774/2.703, allocations: 1.71 MB / 1.049 GB, free: 92.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009394/2.704, allocations: 202.2 kB / 1.049 GB, free: 92.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/2.704, allocations: 0 / 1.049 GB, free: 92.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005118/2.705, allocations: 205.3 kB / 1.049 GB, free: 92.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007681/2.705, allocations: 47.45 kB / 1.049 GB, free: 92.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/2.707, allocations: 409.9 kB / 1.05 GB, free: 91.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/2.707, allocations: 0.7127 MB / 1.051 GB, free: 91.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003043/2.71, allocations: 49.17 kB / 1.051 GB, free: 91.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/2.711, allocations: 33.73 kB / 1.051 GB, free: 91.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/2.711, allocations: 4 kB / 1.051 GB, free: 91.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06242/2.773, allocations: 16.1 MB / 1.066 GB, free: 75.01 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/2.773, allocations: 181.2 kB / 1.066 GB, free: 74.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.369/6.142, allocations: 0 / 1.066 GB, free: 74.78 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat