Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.092/2.092, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.703e-05/3.707e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 47.58 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.105/2.219, allocations: 0.6384 GB / 0.948 GB, free: 33.81 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/2.22, allocations: 73.09 kB / 0.9481 GB, free: 33.78 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7523/2.972, allocations: 147.9 MB / 1.092 GB, free: 65.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.724e-06/2.972, allocations: 224 / 1.092 GB, free: 65.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.107e-05/2.972, allocations: 15.28 kB / 1.092 GB, free: 65.26 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001497/2.974, allocations: 0.6651 MB / 1.093 GB, free: 64.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/2.974, allocations: 8.031 kB / 1.093 GB, free: 64.55 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/2.974, allocations: 82.52 kB / 1.093 GB, free: 64.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007428/2.975, allocations: 79.41 kB / 1.093 GB, free: 64.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005551/2.975, allocations: 331.2 kB / 1.094 GB, free: 64.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/2.975, allocations: 32.78 kB / 1.094 GB, free: 63.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.607e-05/2.975, allocations: 51.83 kB / 1.094 GB, free: 63.94 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008781/2.976, allocations: 450.7 kB / 1.094 GB, free: 63.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/2.976, allocations: 0 / 1.094 GB, free: 63.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-05/2.976, allocations: 16 kB / 1.094 GB, free: 63.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/2.976, allocations: 12 kB / 1.094 GB, free: 63.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006342/2.977, allocations: 285.4 kB / 1.094 GB, free: 63.15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01717/2.994, allocations: 6.338 MB / 1.101 GB, free: 56.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006371/2.995, allocations: 274.8 kB / 1.101 GB, free: 55.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/2.995, allocations: 147.4 kB / 1.101 GB, free: 55.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0138/3.009, allocations: 3.491 MB / 1.104 GB, free: 52.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/3.009, allocations: 42.5 kB / 1.104 GB, free: 52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 2.986e-06/3.009, allocations: 0 / 1.104 GB, free: 52 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.01579/3.025, allocations: 2.267 MB / 1.107 GB, free: 49.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/3.025, allocations: 55.41 kB / 1.107 GB, free: 49.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/3.025, allocations: 259.4 kB / 1.107 GB, free: 49.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/3.025, allocations: 33.7 kB / 1.107 GB, free: 49.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/3.026, allocations: 224 kB / 1.107 GB, free: 49.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/3.026, allocations: 165.5 kB / 1.107 GB, free: 48.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/3.026, allocations: 12 kB / 1.107 GB, free: 48.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.304e-05/3.026, allocations: 350.8 kB / 1.108 GB, free: 48.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/3.026, allocations: 145.1 kB / 1.108 GB, free: 48.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/3.027, allocations: 267.2 kB / 1.108 GB, free: 48.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004411/3.027, allocations: 189.6 kB / 1.108 GB, free: 47.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/3.027, allocations: 0 / 1.108 GB, free: 47.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001465/3.029, allocations: 0.5682 MB / 1.109 GB, free: 47.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/3.029, allocations: 11.28 kB / 1.109 GB, free: 47.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/3.029, allocations: 4.469 kB / 1.109 GB, free: 47.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01494/3.044, allocations: 0.8727 MB / 1.11 GB, free: 46.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008097/3.044, allocations: 111.8 kB / 1.11 GB, free: 46.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/3.046, allocations: 2.459 MB / 1.112 GB, free: 43.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006531/3.047, allocations: 39.95 kB / 1.112 GB, free: 43.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/3.047, allocations: 23.98 kB / 1.112 GB, free: 43.65 MB / 426.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.0001692/3.047, allocations: 140.8 kB / 1.112 GB, free: 43.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.734e-05/3.048, allocations: 39.53 kB / 1.112 GB, free: 43.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/3.049, allocations: 0.8355 MB / 1.113 GB, free: 42.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/3.049, allocations: 19.98 kB / 1.113 GB, free: 42.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/3.049, allocations: 0 / 1.113 GB, free: 42.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001225/3.05, allocations: 0.9533 MB / 1.114 GB, free: 41.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00255/3.053, allocations: 1.472 MB / 1.116 GB, free: 40.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/3.053, allocations: 4.031 kB / 1.116 GB, free: 40.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005896/3.054, allocations: 75.89 kB / 1.116 GB, free: 39.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005006/3.059, allocations: 0.5866 MB / 1.116 GB, free: 39.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.606e-05/3.059, allocations: 15.98 kB / 1.116 GB, free: 39.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/3.06, allocations: 1.269 MB / 1.118 GB, free: 38.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/3.06, allocations: 4 kB / 1.118 GB, free: 38.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/3.062, allocations: 1.217 MB / 1.119 GB, free: 36.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/3.062, allocations: 124.5 kB / 1.119 GB, free: 36.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.425e-05/3.062, allocations: 11.95 kB / 1.119 GB, free: 36.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005004/3.063, allocations: 23.98 kB / 1.119 GB, free: 36.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.216e-05/3.063, allocations: 31.95 kB / 1.119 GB, free: 36.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/3.063, allocations: 19.98 kB / 1.119 GB, free: 36.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002767/3.063, allocations: 199.1 kB / 1.119 GB, free: 36.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/3.063, allocations: 0 / 1.119 GB, free: 36.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00127/3.064, allocations: 251.8 kB / 1.119 GB, free: 36.1 MB / 426.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.003775/3.068, allocations: 2.177 MB / 1.122 GB, free: 33.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001646/3.07, allocations: 0.6578 MB / 1.122 GB, free: 33.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/3.07, allocations: 3.938 kB / 1.122 GB, free: 33.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001601/3.071, allocations: 436.5 kB / 1.123 GB, free: 32.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/3.074, allocations: 229.2 kB / 1.123 GB, free: 32.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/3.077, allocations: 1.115 MB / 1.124 GB, free: 31.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/3.077, allocations: 0.8519 MB / 1.125 GB, free: 30.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005291/3.077, allocations: 72.34 kB / 1.125 GB, free: 30.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/3.078, allocations: 159.4 kB / 1.125 GB, free: 30.31 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/3.078, allocations: 0 / 1.125 GB, free: 30.31 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05445/3.132, allocations: 17.72 MB / 1.142 GB, free: 12.64 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003147/3.133, allocations: 175.8 kB / 1.142 GB, free: 12.41 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.507/6.639, allocations: 0 / 1.142 GB, free: 12.41 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat