Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.099/2.099, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.794e-05/2.814e-05, allocations: 0 / 292.7 MB, free: 8.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1243, allocations: 50.41 MB / 343.1 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.697/1.822, allocations: 0.5369 GB / 0.872 GB, free: 5.285 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/1.822, allocations: 76.39 kB / 0.8721 GB, free: 5.246 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.177/3.998, allocations: 471.5 MB / 1.333 GB, free: 105.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.435e-06/3.999, allocations: 0 / 1.333 GB, free: 105.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.932e-05/3.999, allocations: 10.62 kB / 1.333 GB, free: 105.6 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.002084/4.001, allocations: 0.7114 MB / 1.333 GB, free: 104.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/4.001, allocations: 15.69 kB / 1.333 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/4.001, allocations: 62.17 kB / 1.333 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006604/4.002, allocations: 58.75 kB / 1.333 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005617/4.002, allocations: 282.7 kB / 1.334 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/4.002, allocations: 20.56 kB / 1.334 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.074e-05/4.002, allocations: 31.91 kB / 1.334 GB, free: 104.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006915/4.003, allocations: 323.2 kB / 1.334 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/4.003, allocations: 0 / 1.334 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.238e-05/4.003, allocations: 15.95 kB / 1.334 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/4.003, allocations: 11.7 kB / 1.334 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/4.004, allocations: 197.6 kB / 1.334 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01894/4.023, allocations: 5.519 MB / 1.34 GB, free: 98.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004258/4.023, allocations: 169.8 kB / 1.34 GB, free: 98.42 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/4.023, allocations: 85.23 kB / 1.34 GB, free: 98.33 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01619/4.039, allocations: 3.496 MB / 1.343 GB, free: 94.54 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/4.04, allocations: 38.03 kB / 1.343 GB, free: 94.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=21): time 3.386e-06/4.04, allocations: 0 / 1.343 GB, free: 94.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.008664/4.048, allocations: 1.266 MB / 1.345 GB, free: 93.19 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/4.048, allocations: 52.61 kB / 1.345 GB, free: 93.13 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/4.049, allocations: 223 kB / 1.345 GB, free: 92.91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/4.049, allocations: 37.7 kB / 1.345 GB, free: 92.86 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/4.049, allocations: 187.8 kB / 1.345 GB, free: 92.68 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.927e-05/4.049, allocations: 94.64 kB / 1.345 GB, free: 92.58 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/4.049, allocations: 8 kB / 1.345 GB, free: 92.57 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.454e-05/4.049, allocations: 338.8 kB / 1.345 GB, free: 92.23 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/4.049, allocations: 88.72 kB / 1.346 GB, free: 92.15 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/4.05, allocations: 176.7 kB / 1.346 GB, free: 91.94 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/4.05, allocations: 119 kB / 1.346 GB, free: 91.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/4.05, allocations: 1.969 kB / 1.346 GB, free: 91.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001036/4.051, allocations: 385.8 kB / 1.346 GB, free: 91.45 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/4.051, allocations: 8 kB / 1.346 GB, free: 91.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/4.051, allocations: 0 / 1.346 GB, free: 91.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007777/4.059, allocations: 456.7 kB / 1.347 GB, free: 90.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/4.059, allocations: 68.75 kB / 1.347 GB, free: 90.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/4.061, allocations: 1.873 MB / 1.349 GB, free: 88.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/4.062, allocations: 27.84 kB / 1.349 GB, free: 88.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/4.062, allocations: 16 kB / 1.349 GB, free: 88.87 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.0001382/4.062, allocations: 119.5 kB / 1.349 GB, free: 88.75 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-05/4.062, allocations: 34.28 kB / 1.349 GB, free: 88.71 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/4.063, allocations: 481.2 kB / 1.349 GB, free: 88.24 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/4.063, allocations: 4 kB / 1.349 GB, free: 88.23 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/4.063, allocations: 0 / 1.349 GB, free: 88.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000755/4.064, allocations: 0.7094 MB / 1.35 GB, free: 87.44 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/4.066, allocations: 0.947 MB / 1.351 GB, free: 86.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/4.066, allocations: 0 / 1.351 GB, free: 86.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/4.066, allocations: 47.44 kB / 1.351 GB, free: 86.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/4.069, allocations: 296.4 kB / 1.351 GB, free: 86.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-05/4.069, allocations: 11.95 kB / 1.351 GB, free: 86.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00059/4.07, allocations: 0.6449 MB / 1.352 GB, free: 85.42 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/4.07, allocations: 5.812 kB / 1.352 GB, free: 85.42 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/4.071, allocations: 0.7219 MB / 1.352 GB, free: 84.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/4.071, allocations: 96.86 kB / 1.353 GB, free: 84.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-05/4.071, allocations: 12.12 kB / 1.353 GB, free: 84.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003831/4.072, allocations: 19.89 kB / 1.353 GB, free: 84.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/4.072, allocations: 15.98 kB / 1.353 GB, free: 84.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/4.072, allocations: 11.98 kB / 1.353 GB, free: 84.49 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002632/4.072, allocations: 179.1 kB / 1.353 GB, free: 84.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.51e-07/4.072, allocations: 0 / 1.353 GB, free: 84.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001694/4.074, allocations: 215.8 kB / 1.353 GB, free: 84.11 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.003916/4.078, allocations: 1.721 MB / 1.355 GB, free: 82.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001194/4.079, allocations: 425.3 kB / 1.355 GB, free: 81.96 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/4.079, allocations: 0.75 kB / 1.355 GB, free: 81.96 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009216/4.08, allocations: 235.7 kB / 1.355 GB, free: 81.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/4.082, allocations: 167.8 kB / 1.355 GB, free: 81.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/4.084, allocations: 0.6889 MB / 1.356 GB, free: 80.86 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/4.085, allocations: 0.7841 MB / 1.357 GB, free: 80.05 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004196/4.085, allocations: 54.56 kB / 1.357 GB, free: 80 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/4.085, allocations: 107.4 kB / 1.357 GB, free: 79.89 MB / 458.7 MB Notification: Performance of SimCode: time 1.132e-06/4.085, allocations: 0 / 1.357 GB, free: 79.89 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.054/4.139, allocations: 14.9 MB / 1.372 GB, free: 65.28 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/4.14, allocations: 168.7 kB / 1.372 GB, free: 65.06 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.523/7.663, allocations: 0 / 1.372 GB, free: 65.06 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat