Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.085/2.085, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.724e-05/4.74e-05, allocations: 4 kB / 292.2 MB, free: 8.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1216, allocations: 50.41 MB / 342.6 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.69/1.811, allocations: 0.5369 GB / 0.8715 GB, free: 5.238 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/1.812, allocations: 68.72 kB / 0.8716 GB, free: 5.203 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.121/3.933, allocations: 471.5 MB / 1.332 GB, free: 106 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.924e-06/3.933, allocations: 0 / 1.332 GB, free: 106 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.331e-05/3.933, allocations: 4 kB / 1.332 GB, free: 106 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001932/3.935, allocations: 0.723 MB / 1.333 GB, free: 105.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/3.935, allocations: 12.03 kB / 1.333 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.326e-05/3.935, allocations: 66.2 kB / 1.333 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006179/3.936, allocations: 51.98 kB / 1.333 GB, free: 105.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/3.936, allocations: 283.1 kB / 1.333 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/3.936, allocations: 20.56 kB / 1.333 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.39e-05/3.936, allocations: 34.09 kB / 1.333 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000648/3.937, allocations: 319.5 kB / 1.334 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/3.937, allocations: 3.469 kB / 1.334 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/3.937, allocations: 19.95 kB / 1.334 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/3.937, allocations: 8 kB / 1.334 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004505/3.938, allocations: 195.3 kB / 1.334 GB, free: 104.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01743/3.955, allocations: 5.518 MB / 1.339 GB, free: 99.1 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000404/3.956, allocations: 169.8 kB / 1.339 GB, free: 98.93 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/3.956, allocations: 92.84 kB / 1.339 GB, free: 98.85 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01488/3.971, allocations: 3.495 MB / 1.343 GB, free: 95.24 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/3.971, allocations: 38.56 kB / 1.343 GB, free: 95.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=21): time 2.896e-06/3.971, allocations: 0 / 1.343 GB, free: 95.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.008266/3.979, allocations: 1.272 MB / 1.344 GB, free: 93.89 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/3.979, allocations: 51.41 kB / 1.344 GB, free: 93.83 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/3.98, allocations: 227 kB / 1.344 GB, free: 93.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/3.98, allocations: 35.39 kB / 1.344 GB, free: 93.56 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/3.98, allocations: 183.8 kB / 1.345 GB, free: 93.38 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/3.98, allocations: 98.58 kB / 1.345 GB, free: 93.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/3.98, allocations: 8 kB / 1.345 GB, free: 93.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.278e-05/3.98, allocations: 334.8 kB / 1.345 GB, free: 92.94 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/3.98, allocations: 95.77 kB / 1.345 GB, free: 92.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/3.98, allocations: 171.2 kB / 1.345 GB, free: 92.64 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/3.981, allocations: 118.6 kB / 1.345 GB, free: 92.52 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/3.981, allocations: 3.938 kB / 1.345 GB, free: 92.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009678/3.982, allocations: 382.6 kB / 1.346 GB, free: 92.15 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/3.982, allocations: 4 kB / 1.346 GB, free: 92.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/3.982, allocations: 4 kB / 1.346 GB, free: 92.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007664/3.989, allocations: 456.5 kB / 1.346 GB, free: 91.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005066/3.99, allocations: 70.78 kB / 1.346 GB, free: 91.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/3.992, allocations: 1.869 MB / 1.348 GB, free: 89.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/3.992, allocations: 27.84 kB / 1.348 GB, free: 89.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/3.992, allocations: 16 kB / 1.348 GB, free: 89.57 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001278/3.992, allocations: 123.1 kB / 1.348 GB, free: 89.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.339e-05/3.992, allocations: 29.47 kB / 1.348 GB, free: 89.42 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009921/3.993, allocations: 482.2 kB / 1.349 GB, free: 88.94 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/3.993, allocations: 10.62 kB / 1.349 GB, free: 88.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/3.993, allocations: 0 / 1.349 GB, free: 88.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007416/3.994, allocations: 0.7091 MB / 1.349 GB, free: 88.13 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/3.996, allocations: 0.946 MB / 1.35 GB, free: 87.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/3.996, allocations: 3.938 kB / 1.35 GB, free: 87.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/3.996, allocations: 47.81 kB / 1.35 GB, free: 87.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002562/3.999, allocations: 300.4 kB / 1.351 GB, free: 86.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/3.999, allocations: 11.95 kB / 1.351 GB, free: 86.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005279/3.999, allocations: 0.6421 MB / 1.351 GB, free: 86.11 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/3.999, allocations: 0 / 1.351 GB, free: 86.11 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/4, allocations: 0.72 MB / 1.352 GB, free: 85.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/4, allocations: 104.8 kB / 1.352 GB, free: 85.24 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.727e-05/4.001, allocations: 9.156 kB / 1.352 GB, free: 85.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/4.001, allocations: 15.89 kB / 1.352 GB, free: 85.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/4.001, allocations: 19.98 kB / 1.352 GB, free: 85.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/4.001, allocations: 7.984 kB / 1.352 GB, free: 85.19 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002302/4.001, allocations: 186.7 kB / 1.352 GB, free: 85.01 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.423e-06/4.001, allocations: 0 / 1.352 GB, free: 85.01 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001426/4.003, allocations: 213.1 kB / 1.353 GB, free: 84.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003018/4.006, allocations: 1.708 MB / 1.354 GB, free: 83.08 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/4.007, allocations: 429.4 kB / 1.355 GB, free: 82.65 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/4.007, allocations: 0.75 kB / 1.355 GB, free: 82.65 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008781/4.008, allocations: 235.5 kB / 1.355 GB, free: 82.43 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/4.009, allocations: 168 kB / 1.355 GB, free: 82.27 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/4.011, allocations: 0.6909 MB / 1.356 GB, free: 81.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/4.012, allocations: 0.7841 MB / 1.356 GB, free: 80.74 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003415/4.012, allocations: 46.47 kB / 1.356 GB, free: 80.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/4.012, allocations: 111.4 kB / 1.357 GB, free: 80.59 MB / 458.7 MB Notification: Performance of SimCode: time 1.332e-06/4.012, allocations: 0 / 1.357 GB, free: 80.59 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04559/4.058, allocations: 14.9 MB / 1.371 GB, free: 65.98 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/4.058, allocations: 168.7 kB / 1.371 GB, free: 65.76 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.568/7.627, allocations: 3.938 kB / 1.371 GB, free: 65.76 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat