Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.747/1.747, allocations: 171.2 MB / 183.3 MB, free: 12.09 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.936e-05/3.946e-05, allocations: 4 kB / 225.1 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2679, allocations: 38.77 MB / 263.9 MB, free: 9.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.835/2.103, allocations: 0.6307 GB / 0.8883 GB, free: 18.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/2.103, allocations: 73.03 kB / 0.8884 GB, free: 18.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7234/2.826, allocations: 149.5 MB / 1.034 GB, free: 25.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/2.826, allocations: 0 / 1.034 GB, free: 25.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.963e-05/2.826, allocations: 16 kB / 1.034 GB, free: 25.67 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001396/2.828, allocations: 0.6593 MB / 1.035 GB, free: 24.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/2.828, allocations: 12.03 kB / 1.035 GB, free: 24.95 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.566e-05/2.828, allocations: 78.52 kB / 1.035 GB, free: 24.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007224/2.829, allocations: 79.41 kB / 1.035 GB, free: 24.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000516/2.829, allocations: 326.3 kB / 1.036 GB, free: 24.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/2.829, allocations: 32.78 kB / 1.036 GB, free: 24.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-05/2.829, allocations: 39.94 kB / 1.036 GB, free: 24.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008647/2.83, allocations: 464.4 kB / 1.036 GB, free: 23.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/2.83, allocations: 3.906 kB / 1.036 GB, free: 23.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.113e-05/2.83, allocations: 20 kB / 1.036 GB, free: 23.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/2.83, allocations: 12 kB / 1.036 GB, free: 23.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006417/2.831, allocations: 294.9 kB / 1.036 GB, free: 23.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01645/2.848, allocations: 6.34 MB / 1.043 GB, free: 16.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006239/2.848, allocations: 270.9 kB / 1.043 GB, free: 16.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/2.849, allocations: 144.9 kB / 1.043 GB, free: 16.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01316/2.862, allocations: 3.483 MB / 1.046 GB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/2.862, allocations: 51.08 kB / 1.046 GB, free: 12.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 3.106e-06/2.862, allocations: 224 / 1.046 GB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.01534/2.877, allocations: 2.273 MB / 1.049 GB, free: 10.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/2.877, allocations: 59.41 kB / 1.049 GB, free: 9.949 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003878/2.878, allocations: 267.3 kB / 1.049 GB, free: 9.684 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/2.878, allocations: 37.7 kB / 1.049 GB, free: 9.641 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/2.878, allocations: 220 kB / 1.049 GB, free: 9.422 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/2.878, allocations: 157.7 kB / 1.049 GB, free: 9.266 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/2.878, allocations: 8 kB / 1.049 GB, free: 9.258 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.065e-05/2.878, allocations: 350.8 kB / 1.05 GB, free: 8.906 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/2.879, allocations: 149.1 kB / 1.05 GB, free: 8.758 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004265/2.879, allocations: 267.8 kB / 1.05 GB, free: 8.453 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/2.879, allocations: 193.5 kB / 1.05 GB, free: 8.262 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/2.879, allocations: 0 / 1.05 GB, free: 8.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001463/2.881, allocations: 0.5761 MB / 1.051 GB, free: 7.668 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/2.881, allocations: 8 kB / 1.051 GB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/2.881, allocations: 7.953 kB / 1.051 GB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01482/2.896, allocations: 0.873 MB / 1.052 GB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/2.897, allocations: 107.9 kB / 1.052 GB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/2.899, allocations: 2.467 MB / 1.054 GB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006698/2.899, allocations: 39.95 kB / 1.054 GB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/2.899, allocations: 20 kB / 1.054 GB, free: 3.953 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001757/2.9, allocations: 133.4 kB / 1.054 GB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/2.9, allocations: 39.53 kB / 1.054 GB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/2.901, allocations: 0.8511 MB / 1.055 GB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/2.901, allocations: 11.94 kB / 1.055 GB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/2.901, allocations: 0 / 1.055 GB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001236/2.903, allocations: 0.9572 MB / 1.056 GB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/2.905, allocations: 1.477 MB / 1.058 GB, free: 324 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.555e-06/2.905, allocations: 0 / 1.058 GB, free: 324 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005762/2.906, allocations: 79.89 kB / 1.058 GB, free: 244 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2526/3.159, allocations: 0.5748 MB / 1.058 GB, free: 75.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/3.159, allocations: 14.2 kB / 1.058 GB, free: 75.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/3.16, allocations: 1.286 MB / 1.06 GB, free: 74.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/3.16, allocations: 0.625 kB / 1.06 GB, free: 74.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/3.163, allocations: 1.218 MB / 1.061 GB, free: 74.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/3.163, allocations: 121.5 kB / 1.061 GB, free: 74.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.686e-05/3.163, allocations: 10.12 kB / 1.061 GB, free: 74.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005128/3.164, allocations: 26.16 kB / 1.061 GB, free: 74.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/3.164, allocations: 27.44 kB / 1.061 GB, free: 74.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.773e-05/3.164, allocations: 14.28 kB / 1.061 GB, free: 74.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002968/3.164, allocations: 206.5 kB / 1.061 GB, free: 74.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/3.164, allocations: 0 / 1.061 GB, free: 74.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001341/3.165, allocations: 246.8 kB / 1.061 GB, free: 74.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004189/3.17, allocations: 2.188 MB / 1.063 GB, free: 73.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001836/3.172, allocations: 0.6734 MB / 1.064 GB, free: 73.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/3.172, allocations: 0 / 1.064 GB, free: 73.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001691/3.173, allocations: 442.1 kB / 1.065 GB, free: 73.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/3.175, allocations: 230.2 kB / 1.065 GB, free: 73.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/3.179, allocations: 1.109 MB / 1.066 GB, free: 73.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/3.179, allocations: 0.8388 MB / 1.067 GB, free: 72.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005575/3.18, allocations: 74.42 kB / 1.067 GB, free: 72.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/3.18, allocations: 159.1 kB / 1.067 GB, free: 72.72 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/3.18, allocations: 0 / 1.067 GB, free: 72.72 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05636/3.236, allocations: 17.78 MB / 1.084 GB, free: 71.77 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/3.237, allocations: 168.6 kB / 1.084 GB, free: 71.55 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.375/6.612, allocations: 4 kB / 1.084 GB, free: 71.55 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat