Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.291/2.291, allocations: 194.9 MB / 208 MB, free: 3.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.54e-05/3.543e-05, allocations: 4 kB / 255.5 MB, free: 2.598 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 44.5 MB / 300 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.348/2.457, allocations: 0.725 GB / 1.018 GB, free: 105.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/2.457, allocations: 67.02 kB / 1.018 GB, free: 105.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1448/2.602, allocations: 39.89 MB / 1.057 GB, free: 82.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/2.602, allocations: 0 / 1.057 GB, free: 82.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.367e-05/2.602, allocations: 4 kB / 1.057 GB, free: 82.82 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001064/2.603, allocations: 0.5061 MB / 1.057 GB, free: 82.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/2.603, allocations: 8.031 kB / 1.058 GB, free: 82.27 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.857e-05/2.603, allocations: 53.42 kB / 1.058 GB, free: 82.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005104/2.609, allocations: 367.9 kB / 1.058 GB, free: 81.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/2.609, allocations: 259 kB / 1.058 GB, free: 81.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/2.609, allocations: 11.88 kB / 1.058 GB, free: 81.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/2.609, allocations: 34.8 kB / 1.058 GB, free: 81.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/2.61, allocations: 459 kB / 1.059 GB, free: 81.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/2.61, allocations: 3.938 kB / 1.059 GB, free: 81.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.109e-05/2.611, allocations: 7.562 kB / 1.059 GB, free: 81.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/2.611, allocations: 4 kB / 1.059 GB, free: 81.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/2.612, allocations: 486.1 kB / 1.059 GB, free: 80.96 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.003209/2.615, allocations: 0.9881 MB / 1.06 GB, free: 80.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006864/2.616, allocations: 266.7 kB / 1.06 GB, free: 79.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/2.616, allocations: 144.6 kB / 1.06 GB, free: 79.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001683/2.618, allocations: 0.6558 MB / 1.061 GB, free: 79.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/2.618, allocations: 34.19 kB / 1.061 GB, free: 79.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.587e-06/2.618, allocations: 0 / 1.061 GB, free: 79.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008942/2.619, allocations: 278.8 kB / 1.061 GB, free: 78.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/2.619, allocations: 85.06 kB / 1.061 GB, free: 78.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.951e-05/2.619, allocations: 104.3 kB / 1.062 GB, free: 78.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/2.619, allocations: 29.45 kB / 1.062 GB, free: 78.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/2.619, allocations: 115.9 kB / 1.062 GB, free: 78.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.818e-05/2.619, allocations: 115.4 kB / 1.062 GB, free: 78.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/2.619, allocations: 3.625 kB / 1.062 GB, free: 78.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.695e-05/2.619, allocations: 325.4 kB / 1.062 GB, free: 78.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/2.62, allocations: 104 kB / 1.062 GB, free: 77.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/2.62, allocations: 186.9 kB / 1.062 GB, free: 77.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/2.62, allocations: 132.5 kB / 1.063 GB, free: 77.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/2.62, allocations: 0 / 1.063 GB, free: 77.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008827/2.621, allocations: 353.1 kB / 1.063 GB, free: 77.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/2.621, allocations: 7.938 kB / 1.063 GB, free: 77.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/2.621, allocations: 4 kB / 1.063 GB, free: 77.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/2.621, allocations: 8.312 kB / 1.063 GB, free: 77.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007283/2.622, allocations: 75.83 kB / 1.063 GB, free: 77.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/2.622, allocations: 4 kB / 1.063 GB, free: 77.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004758/2.622, allocations: 42.81 kB / 1.063 GB, free: 77.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.894e-05/2.623, allocations: 16 kB / 1.063 GB, free: 77.31 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001535/2.623, allocations: 124.2 kB / 1.063 GB, free: 77.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/2.623, allocations: 15.81 kB / 1.063 GB, free: 77.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/2.624, allocations: 362.2 kB / 1.064 GB, free: 76.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/2.624, allocations: 4 kB / 1.064 GB, free: 76.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/2.624, allocations: 4 kB / 1.064 GB, free: 76.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/2.624, allocations: 0 / 1.064 GB, free: 76.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008967/2.625, allocations: 362.2 kB / 1.064 GB, free: 76.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/2.625, allocations: 0 / 1.064 GB, free: 76.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006923/2.626, allocations: 67.83 kB / 1.064 GB, free: 76.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/2.626, allocations: 0 / 1.064 GB, free: 76.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.902e-05/2.626, allocations: 11.44 kB / 1.064 GB, free: 76.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/2.626, allocations: 0 / 1.064 GB, free: 76.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/2.626, allocations: 0 / 1.064 GB, free: 76.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/2.627, allocations: 0.5437 MB / 1.064 GB, free: 76.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.072e-05/2.627, allocations: 92.86 kB / 1.065 GB, free: 75.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.648e-05/2.627, allocations: 11.88 kB / 1.065 GB, free: 75.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007922/2.628, allocations: 19.86 kB / 1.065 GB, free: 75.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/2.628, allocations: 27.92 kB / 1.065 GB, free: 75.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.187e-05/2.628, allocations: 15.92 kB / 1.065 GB, free: 75.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.736e-05/2.629, allocations: 87.22 kB / 1.065 GB, free: 75.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.629, allocations: 0 / 1.065 GB, free: 75.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001366/2.63, allocations: 259.3 kB / 1.065 GB, free: 75.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003268/2.633, allocations: 1.821 MB / 1.067 GB, free: 73.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007499/2.634, allocations: 267.9 kB / 1.067 GB, free: 73.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/2.634, allocations: 0 / 1.067 GB, free: 73.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003131/2.634, allocations: 139.4 kB / 1.067 GB, free: 73.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009456/2.635, allocations: 91.23 kB / 1.067 GB, free: 73.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/2.637, allocations: 0.7481 MB / 1.068 GB, free: 72.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/2.638, allocations: 0.7389 MB / 1.069 GB, free: 71.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001011/2.639, allocations: 78.19 kB / 1.069 GB, free: 71.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003988/2.639, allocations: 65.47 kB / 1.069 GB, free: 71.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/2.639, allocations: 0 / 1.069 GB, free: 71.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05992/2.699, allocations: 19.49 MB / 1.088 GB, free: 52.4 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002916/2.699, allocations: 159.4 kB / 1.088 GB, free: 52.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.707/6.406, allocations: 0 / 1.088 GB, free: 52.17 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat