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 2.269/2.269, allocations: 194.9 MB / 208.5 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.097e-05/3.107e-05, allocations: 4 kB / 255.5 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 44.5 MB / 300 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.965/2.073, allocations: 0.636 GB / 0.929 GB, free: 52.76 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/2.074, allocations: 78.27 kB / 0.929 GB, free: 52.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.978/4.051, allocations: 473 MB / 1.391 GB, free: 90.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/4.051, allocations: 4 kB / 1.391 GB, free: 90.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.584e-05/4.051, allocations: 12 kB / 1.391 GB, free: 90.64 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.001734/4.053, allocations: 0.7129 MB / 1.392 GB, free: 89.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/4.053, allocations: 8.031 kB / 1.392 GB, free: 89.93 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.358e-05/4.053, allocations: 61.41 kB / 1.392 GB, free: 89.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000664/4.054, allocations: 52.41 kB / 1.392 GB, free: 89.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004907/4.054, allocations: 286.4 kB / 1.392 GB, free: 89.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/4.054, allocations: 19.52 kB / 1.392 GB, free: 89.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6e-05/4.054, allocations: 39.75 kB / 1.392 GB, free: 89.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006703/4.055, allocations: 318 kB / 1.392 GB, free: 89.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/4.055, allocations: 4 kB / 1.392 GB, free: 89.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.965e-05/4.055, allocations: 17.42 kB / 1.392 GB, free: 89.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/4.055, allocations: 5.781 kB / 1.392 GB, free: 89.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004516/4.056, allocations: 195.5 kB / 1.393 GB, free: 88.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01685/4.073, allocations: 5.512 MB / 1.398 GB, free: 83.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/4.073, allocations: 173.9 kB / 1.398 GB, free: 83.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/4.073, allocations: 85.23 kB / 1.398 GB, free: 83.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01438/4.088, allocations: 3.488 MB / 1.402 GB, free: 80.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/4.088, allocations: 46.12 kB / 1.402 GB, free: 80.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 4.107e-06/4.088, allocations: 0 / 1.402 GB, free: 80.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.008312/4.096, allocations: 1.256 MB / 1.403 GB, free: 79.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/4.096, allocations: 62.59 kB / 1.403 GB, free: 79.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/4.096, allocations: 228.4 kB / 1.403 GB, free: 78.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/4.097, allocations: 29.7 kB / 1.403 GB, free: 78.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/4.097, allocations: 241.2 kB / 1.403 GB, free: 78.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.744e-05/4.097, allocations: 93.94 kB / 1.404 GB, free: 78.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/4.097, allocations: 8 kB / 1.404 GB, free: 78.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.091e-05/4.097, allocations: 326.4 kB / 1.404 GB, free: 78.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/4.097, allocations: 95.53 kB / 1.404 GB, free: 78.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/4.097, allocations: 174.6 kB / 1.404 GB, free: 77.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/4.098, allocations: 118.3 kB / 1.404 GB, free: 77.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/4.098, allocations: 4 kB / 1.404 GB, free: 77.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009592/4.099, allocations: 356.5 kB / 1.405 GB, free: 77.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/4.099, allocations: 17.38 kB / 1.405 GB, free: 77.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/4.099, allocations: 4 kB / 1.405 GB, free: 77.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007581/4.106, allocations: 458.7 kB / 1.405 GB, free: 77.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/4.107, allocations: 78.73 kB / 1.405 GB, free: 77.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/4.109, allocations: 1.858 MB / 1.407 GB, free: 75.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/4.109, allocations: 28 kB / 1.407 GB, free: 75.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/4.109, allocations: 16 kB / 1.407 GB, free: 75.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.0001349/4.11, allocations: 120.9 kB / 1.407 GB, free: 74.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.078e-05/4.11, allocations: 39.23 kB / 1.407 GB, free: 74.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/4.111, allocations: 487.4 kB / 1.408 GB, free: 74.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/4.111, allocations: 8 kB / 1.408 GB, free: 74.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/4.111, allocations: 0 / 1.408 GB, free: 74.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007876/4.112, allocations: 0.7111 MB / 1.408 GB, free: 73.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/4.113, allocations: 0.946 MB / 1.409 GB, free: 72.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/4.113, allocations: 4.031 kB / 1.409 GB, free: 72.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003449/4.114, allocations: 43.55 kB / 1.409 GB, free: 72.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002549/4.116, allocations: 296.5 kB / 1.41 GB, free: 72.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.748e-05/4.116, allocations: 8 kB / 1.41 GB, free: 72.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000561/4.117, allocations: 0.6457 MB / 1.41 GB, free: 71.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/4.117, allocations: 3.938 kB / 1.41 GB, free: 71.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/4.118, allocations: 0.716 MB / 1.411 GB, free: 71.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/4.118, allocations: 112.5 kB / 1.411 GB, free: 71.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.956e-05/4.119, allocations: 8 kB / 1.411 GB, free: 71.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/4.119, allocations: 19.95 kB / 1.411 GB, free: 71.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/4.119, allocations: 19.62 kB / 1.411 GB, free: 71.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/4.119, allocations: 11.89 kB / 1.411 GB, free: 71.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002453/4.119, allocations: 178.8 kB / 1.411 GB, free: 70.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/4.119, allocations: 0 / 1.411 GB, free: 70.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001179/4.12, allocations: 211.6 kB / 1.411 GB, free: 70.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.003098/4.124, allocations: 1.704 MB / 1.413 GB, free: 69.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/4.125, allocations: 420.1 kB / 1.413 GB, free: 68.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/4.125, allocations: 0 / 1.413 GB, free: 68.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000867/4.126, allocations: 247.4 kB / 1.414 GB, free: 68.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/4.127, allocations: 158.8 kB / 1.414 GB, free: 68.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/4.129, allocations: 0.7269 MB / 1.415 GB, free: 67.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/4.13, allocations: 0.7811 MB / 1.415 GB, free: 66.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/4.13, allocations: 110.7 kB / 1.415 GB, free: 66.76 MB / 410.7 MB Notification: Performance of SimCode: time 1.133e-06/4.13, allocations: 0 / 1.415 GB, free: 66.76 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.955/7.085, allocations: 10.67 MB / 1.426 GB, free: 57.2 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