Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.061/2.061, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.67e-05/2.693e-05, allocations: 0 / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.323, allocations: 44.49 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.063/2.386, allocations: 0.6354 GB / 0.9227 GB, free: 105 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/2.386, allocations: 74.73 kB / 0.9228 GB, free: 105 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.72/4.106, allocations: 461.2 MB / 1.373 GB, free: 14.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/4.106, allocations: 0 / 1.373 GB, free: 14.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.861e-05/4.106, allocations: 8 kB / 1.373 GB, free: 14.47 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.001876/4.108, allocations: 0.7128 MB / 1.374 GB, free: 13.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/4.108, allocations: 8.031 kB / 1.374 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006724/4.109, allocations: 51.61 kB / 1.374 GB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005375/4.109, allocations: 278 kB / 1.374 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/4.109, allocations: 8 kB / 1.374 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.753e-05/4.109, allocations: 27.91 kB / 1.374 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004642/4.11, allocations: 185 kB / 1.374 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005633/4.11, allocations: 293.4 kB / 1.375 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/4.111, allocations: 0 / 1.375 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.536e-05/4.111, allocations: 0 / 1.375 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/4.111, allocations: 8 kB / 1.375 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01672/4.127, allocations: 5.456 MB / 1.38 GB, free: 6.887 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/4.128, allocations: 167 kB / 1.38 GB, free: 6.715 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/4.128, allocations: 77.23 kB / 1.38 GB, free: 6.637 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01395/4.142, allocations: 3.494 MB / 1.384 GB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/4.142, allocations: 38.75 kB / 1.384 GB, free: 2.816 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.417e-06/4.142, allocations: 4 kB / 1.384 GB, free: 2.812 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.004916/4.147, allocations: 0.9743 MB / 1.385 GB, free: 1.777 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/4.147, allocations: 59.36 kB / 1.385 GB, free: 1.707 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/4.147, allocations: 195.1 kB / 1.385 GB, free: 1.508 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/4.147, allocations: 29.7 kB / 1.385 GB, free: 1.473 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.691e-05/4.147, allocations: 184.2 kB / 1.385 GB, free: 1.289 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.192e-05/4.148, allocations: 94.64 kB / 1.385 GB, free: 1.195 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/4.148, allocations: 3.938 kB / 1.385 GB, free: 1.191 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.206e-05/4.148, allocations: 334.8 kB / 1.386 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/4.148, allocations: 87.77 kB / 1.386 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/4.148, allocations: 170.9 kB / 1.386 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/4.149, allocations: 187.8 kB / 1.386 GB, free: 388 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/4.149, allocations: 0 / 1.386 GB, free: 388 kB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.2781/4.427, allocations: 428.9 kB / 1.386 GB, free: 106.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/4.427, allocations: 8.031 kB / 1.386 GB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/4.428, allocations: 2.781 kB / 1.386 GB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004338/4.428, allocations: 71.67 kB / 1.386 GB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005497/4.429, allocations: 67.7 kB / 1.386 GB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/4.431, allocations: 1.881 MB / 1.388 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/4.431, allocations: 16.48 kB / 1.388 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.807e-05/4.431, allocations: 16.75 kB / 1.388 GB, free: 104.6 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.0001312/4.432, allocations: 112.9 kB / 1.388 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001575/4.433, allocations: 341.1 kB / 1.389 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.948e-05/4.433, allocations: 23.5 kB / 1.389 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/4.435, allocations: 472.9 kB / 1.389 GB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/4.435, allocations: 3.703 kB / 1.389 GB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/4.435, allocations: 3.625 kB / 1.389 GB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001112/4.436, allocations: 0.6944 MB / 1.39 GB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/4.438, allocations: 0.8852 MB / 1.391 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/4.438, allocations: 5 kB / 1.391 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/4.438, allocations: 45.56 kB / 1.391 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000405/4.439, allocations: 99.27 kB / 1.391 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/4.439, allocations: 4.75 kB / 1.391 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006952/4.439, allocations: 0.6702 MB / 1.392 GB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/4.439, allocations: 3.391 kB / 1.392 GB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/4.441, allocations: 0.7024 MB / 1.392 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/4.441, allocations: 107.4 kB / 1.392 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.816e-05/4.441, allocations: 9.844 kB / 1.392 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/4.441, allocations: 6.266 kB / 1.392 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/4.441, allocations: 20.16 kB / 1.392 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/4.442, allocations: 14.88 kB / 1.392 GB, free: 102.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001809/4.442, allocations: 150 kB / 1.393 GB, free: 102.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/4.442, allocations: 0 / 1.393 GB, free: 102.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001224/4.443, allocations: 199.8 kB / 1.393 GB, free: 102.7 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003498/4.446, allocations: 1.703 MB / 1.394 GB, free: 101.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/4.448, allocations: 417.3 kB / 1.395 GB, free: 101.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/4.448, allocations: 1.531 kB / 1.395 GB, free: 101.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005364/4.448, allocations: 209.4 kB / 1.395 GB, free: 101.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/4.45, allocations: 125.9 kB / 1.395 GB, free: 101.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/4.452, allocations: 0.6637 MB / 1.396 GB, free: 101.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/4.452, allocations: 0.7836 MB / 1.397 GB, free: 100.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003772/4.453, allocations: 48.95 kB / 1.397 GB, free: 100.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/4.453, allocations: 101.5 kB / 1.397 GB, free: 100.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/4.453, allocations: 0 / 1.397 GB, free: 100.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.067/4.52, allocations: 11.9 MB / 1.408 GB, free: 100.6 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/4.52, allocations: 134.4 kB / 1.408 GB, free: 100.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.117/7.637, allocations: 4 kB / 1.408 GB, free: 100.4 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat