Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.973/1.973, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.923e-05/3.946e-05, allocations: 0 / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 44.51 MB / 299.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.985/2.089, allocations: 0.636 GB / 0.9289 GB, free: 51.76 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/2.09, allocations: 74.91 kB / 0.929 GB, free: 51.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953/4.043, allocations: 473 MB / 1.391 GB, free: 89.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.357e-06/4.043, allocations: 0 / 1.391 GB, free: 89.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.658e-05/4.043, allocations: 13.2 kB / 1.391 GB, free: 89.66 MB / 410.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.001658/4.045, allocations: 0.7031 MB / 1.392 GB, free: 88.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.433e-05/4.045, allocations: 12.03 kB / 1.392 GB, free: 88.96 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.189e-05/4.045, allocations: 67.42 kB / 1.392 GB, free: 88.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006328/4.046, allocations: 53.91 kB / 1.392 GB, free: 88.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005167/4.046, allocations: 284.4 kB / 1.392 GB, free: 88.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/4.046, allocations: 31.31 kB / 1.392 GB, free: 88.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.176e-05/4.046, allocations: 27.91 kB / 1.392 GB, free: 88.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006823/4.047, allocations: 320.9 kB / 1.392 GB, free: 88.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/4.047, allocations: 6.25 kB / 1.392 GB, free: 88.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/4.047, allocations: 16 kB / 1.392 GB, free: 88.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/4.047, allocations: 4 kB / 1.392 GB, free: 88.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004619/4.047, allocations: 201.5 kB / 1.393 GB, free: 88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01851/4.066, allocations: 5.524 MB / 1.398 GB, free: 82.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005384/4.067, allocations: 170.8 kB / 1.398 GB, free: 82.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/4.067, allocations: 81.23 kB / 1.398 GB, free: 82.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01988/4.087, allocations: 3.498 MB / 1.402 GB, free: 79.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/4.087, allocations: 38.45 kB / 1.402 GB, free: 79.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.434e-06/4.087, allocations: 0 / 1.402 GB, free: 79.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.00841/4.095, allocations: 1.267 MB / 1.403 GB, free: 78.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/4.095, allocations: 55.41 kB / 1.403 GB, free: 78.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/4.096, allocations: 224.5 kB / 1.403 GB, free: 77.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/4.096, allocations: 33.7 kB / 1.403 GB, free: 77.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/4.096, allocations: 249.2 kB / 1.403 GB, free: 77.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.905e-05/4.096, allocations: 90 kB / 1.404 GB, free: 77.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/4.096, allocations: 9.641 kB / 1.404 GB, free: 77.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.443e-05/4.096, allocations: 322.5 kB / 1.404 GB, free: 77.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/4.096, allocations: 95.67 kB / 1.404 GB, free: 77.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/4.097, allocations: 178.8 kB / 1.404 GB, free: 76.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/4.097, allocations: 117 kB / 1.404 GB, free: 76.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/4.097, allocations: 0 / 1.404 GB, free: 76.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009727/4.098, allocations: 383.2 kB / 1.405 GB, free: 76.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/4.098, allocations: 8 kB / 1.405 GB, free: 76.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/4.098, allocations: 4 kB / 1.405 GB, free: 76.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007761/4.106, allocations: 461.7 kB / 1.405 GB, free: 76.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000513/4.106, allocations: 67.38 kB / 1.405 GB, free: 76.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/4.108, allocations: 1.868 MB / 1.407 GB, free: 74.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/4.108, allocations: 31.89 kB / 1.407 GB, free: 74.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/4.108, allocations: 16 kB / 1.407 GB, free: 74.11 MB / 410.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.0001284/4.109, allocations: 124.9 kB / 1.407 GB, free: 73.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.943e-05/4.109, allocations: 29.03 kB / 1.407 GB, free: 73.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/4.11, allocations: 497.5 kB / 1.408 GB, free: 73.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/4.11, allocations: 4 kB / 1.408 GB, free: 73.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/4.11, allocations: 0 / 1.408 GB, free: 73.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007417/4.111, allocations: 0.7103 MB / 1.408 GB, free: 72.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/4.112, allocations: 0.9499 MB / 1.409 GB, free: 71.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/4.112, allocations: 0 / 1.409 GB, free: 71.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/4.113, allocations: 47.83 kB / 1.409 GB, free: 71.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002588/4.115, allocations: 292.8 kB / 1.41 GB, free: 71.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.997e-05/4.115, allocations: 11.95 kB / 1.41 GB, free: 71.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005531/4.116, allocations: 0.6523 MB / 1.41 GB, free: 70.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/4.116, allocations: 0 / 1.41 GB, free: 70.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/4.117, allocations: 0.7224 MB / 1.411 GB, free: 70.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/4.117, allocations: 104.7 kB / 1.411 GB, free: 70.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.794e-05/4.117, allocations: 8 kB / 1.411 GB, free: 70.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/4.118, allocations: 19.69 kB / 1.411 GB, free: 70.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/4.118, allocations: 17.56 kB / 1.411 GB, free: 70.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/4.118, allocations: 11 kB / 1.411 GB, free: 70.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002371/4.118, allocations: 182.4 kB / 1.411 GB, free: 69.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/4.118, allocations: 0 / 1.411 GB, free: 69.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001138/4.119, allocations: 207.8 kB / 1.411 GB, free: 69.68 MB / 410.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.00324/4.123, allocations: 1.707 MB / 1.413 GB, free: 68.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001121/4.124, allocations: 435.8 kB / 1.414 GB, free: 67.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/4.124, allocations: 0 / 1.414 GB, free: 67.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008769/4.125, allocations: 246 kB / 1.414 GB, free: 67.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/4.126, allocations: 160.6 kB / 1.414 GB, free: 67.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/4.128, allocations: 0.7228 MB / 1.415 GB, free: 66.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/4.129, allocations: 0.7908 MB / 1.415 GB, free: 65.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/4.129, allocations: 102.7 kB / 1.415 GB, free: 65.74 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/4.129, allocations: 0 / 1.415 GB, free: 65.74 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.923/7.052, allocations: 10.68 MB / 1.426 GB, free: 55.93 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat