Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.087/2.087, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.705e-05/5.733e-05, allocations: 7.984 kB / 292.7 MB, free: 8.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1676, allocations: 50.42 MB / 343.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.758/1.926, allocations: 0.5368 GB / 0.8719 GB, free: 5.359 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/1.926, allocations: 76.14 kB / 0.872 GB, free: 5.32 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7567/2.683, allocations: 147.2 MB / 1.016 GB, free: 53.46 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.683e-06/2.683, allocations: 0 / 1.016 GB, free: 53.46 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.845e-05/2.683, allocations: 11.94 kB / 1.016 GB, free: 53.45 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001432/2.684, allocations: 0.6709 MB / 1.016 GB, free: 52.74 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/2.684, allocations: 12.03 kB / 1.016 GB, free: 52.73 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/2.684, allocations: 74.53 kB / 1.016 GB, free: 52.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007423/2.685, allocations: 75.5 kB / 1.017 GB, free: 52.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005576/2.686, allocations: 330.2 kB / 1.017 GB, free: 52.21 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/2.686, allocations: 28.78 kB / 1.017 GB, free: 52.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.789e-05/2.686, allocations: 47.92 kB / 1.017 GB, free: 52.13 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008941/2.687, allocations: 443 kB / 1.017 GB, free: 51.65 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/2.687, allocations: 8 kB / 1.017 GB, free: 51.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.686e-05/2.687, allocations: 27.89 kB / 1.017 GB, free: 51.62 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/2.687, allocations: 8 kB / 1.017 GB, free: 51.61 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006518/2.687, allocations: 285.4 kB / 1.018 GB, free: 51.33 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01793/2.705, allocations: 6.336 MB / 1.024 GB, free: 44.41 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006446/2.706, allocations: 274.5 kB / 1.024 GB, free: 44.14 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/2.706, allocations: 144.8 kB / 1.024 GB, free: 43.99 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01448/2.721, allocations: 3.495 MB / 1.028 GB, free: 40.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.016e-05/2.721, allocations: 35.16 kB / 1.028 GB, free: 40.16 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 4.198e-06/2.721, allocations: 7.938 kB / 1.028 GB, free: 40.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.01636/2.737, allocations: 2.268 MB / 1.03 GB, free: 37.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/2.738, allocations: 55.41 kB / 1.03 GB, free: 37.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/2.738, allocations: 263.4 kB / 1.03 GB, free: 37.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.813e-05/2.738, allocations: 37.64 kB / 1.03 GB, free: 37.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/2.738, allocations: 228 kB / 1.031 GB, free: 37.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/2.738, allocations: 157.7 kB / 1.031 GB, free: 37.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/2.738, allocations: 8 kB / 1.031 GB, free: 37.06 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.478e-05/2.738, allocations: 350.8 kB / 1.031 GB, free: 36.71 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/2.739, allocations: 145.1 kB / 1.031 GB, free: 36.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/2.739, allocations: 266.6 kB / 1.031 GB, free: 36.26 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004618/2.74, allocations: 185.6 kB / 1.032 GB, free: 36.08 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/2.74, allocations: 7.891 kB / 1.032 GB, free: 36.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0015/2.741, allocations: 0.5721 MB / 1.032 GB, free: 35.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/2.741, allocations: 4 kB / 1.032 GB, free: 35.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/2.741, allocations: 4 kB / 1.032 GB, free: 35.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01534/2.757, allocations: 0.8692 MB / 1.033 GB, free: 34.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008451/2.758, allocations: 115.8 kB / 1.033 GB, free: 34.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/2.76, allocations: 2.455 MB / 1.035 GB, free: 31.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006907/2.76, allocations: 43.95 kB / 1.036 GB, free: 31.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/2.761, allocations: 27.98 kB / 1.036 GB, free: 31.77 MB / 458.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.0001702/2.761, allocations: 128.9 kB / 1.036 GB, free: 31.64 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/2.761, allocations: 39.67 kB / 1.036 GB, free: 31.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/2.763, allocations: 0.855 MB / 1.037 GB, free: 30.72 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/2.763, allocations: 8 kB / 1.037 GB, free: 30.71 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/2.763, allocations: 0 / 1.037 GB, free: 30.71 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001316/2.764, allocations: 0.9572 MB / 1.038 GB, free: 29.69 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/2.767, allocations: 1.48 MB / 1.039 GB, free: 28.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/2.767, allocations: 0 / 1.039 GB, free: 28.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005965/2.767, allocations: 75.94 kB / 1.039 GB, free: 28.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005162/2.772, allocations: 0.5788 MB / 1.04 GB, free: 27.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.827e-05/2.773, allocations: 16 kB / 1.04 GB, free: 27.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/2.774, allocations: 1.273 MB / 1.041 GB, free: 26.14 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/2.774, allocations: 0 / 1.041 GB, free: 26.14 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/2.776, allocations: 1.221 MB / 1.042 GB, free: 24.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/2.776, allocations: 120.5 kB / 1.042 GB, free: 24.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.759e-05/2.776, allocations: 12.03 kB / 1.042 GB, free: 24.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005157/2.777, allocations: 24 kB / 1.042 GB, free: 24.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.556e-05/2.777, allocations: 27.95 kB / 1.042 GB, free: 24.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/2.777, allocations: 23.94 kB / 1.042 GB, free: 24.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002896/2.777, allocations: 203.1 kB / 1.042 GB, free: 24.46 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.81e-07/2.777, allocations: 0 / 1.042 GB, free: 24.46 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001262/2.778, allocations: 247.8 kB / 1.043 GB, free: 24.22 MB / 458.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.004041/2.783, allocations: 2.168 MB / 1.045 GB, free: 22.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001765/2.784, allocations: 0.6617 MB / 1.045 GB, free: 21.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/2.784, allocations: 0 / 1.045 GB, free: 21.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001678/2.786, allocations: 440.4 kB / 1.046 GB, free: 20.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/2.788, allocations: 237.2 kB / 1.046 GB, free: 20.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/2.791, allocations: 1.114 MB / 1.047 GB, free: 19.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/2.792, allocations: 0.8519 MB / 1.048 GB, free: 18.64 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005315/2.792, allocations: 68.34 kB / 1.048 GB, free: 18.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/2.792, allocations: 159.4 kB / 1.048 GB, free: 18.41 MB / 458.7 MB Notification: Performance of SimCode: time 1.363e-06/2.792, allocations: 0 / 1.048 GB, free: 18.41 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05682/2.849, allocations: 17.73 MB / 1.066 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002371/2.85, allocations: 167.8 kB / 1.066 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.658/6.507, allocations: 0 / 1.066 GB, free: 0.6211 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat