Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.331/2.331, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.545e-05, allocations: 3.094 kB / 249.8 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.198/1.306, allocations: 333.2 MB / 0.6128 GB, free: 17.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003704/1.306, allocations: 85.06 kB / 0.6129 GB, free: 17.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7024/2.009, allocations: 86.75 MB / 0.6976 GB, free: 95.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.044e-06/2.009, allocations: 0 / 0.6976 GB, free: 95.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.946e-05/2.009, allocations: 8 kB / 0.6976 GB, free: 95.55 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001038/2.01, allocations: 0.5342 MB / 0.6981 GB, free: 94.97 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/2.01, allocations: 8.031 kB / 0.6981 GB, free: 94.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004512/2.01, allocations: 39.7 kB / 0.6981 GB, free: 94.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/2.011, allocations: 286.8 kB / 0.6984 GB, free: 94.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/2.011, allocations: 8 kB / 0.6984 GB, free: 94.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.016e-05/2.011, allocations: 16 kB / 0.6984 GB, free: 94.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000557/2.012, allocations: 173.1 kB / 0.6986 GB, free: 94.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/2.012, allocations: 256.3 kB / 0.6989 GB, free: 94.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/2.012, allocations: 4 kB / 0.6989 GB, free: 94.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.947e-05/2.012, allocations: 0 / 0.6989 GB, free: 94.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/2.012, allocations: 4 kB / 0.6989 GB, free: 94.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002642/2.015, allocations: 1.234 MB / 0.7001 GB, free: 92.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005493/2.016, allocations: 175 kB / 0.7002 GB, free: 92.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/2.016, allocations: 81.19 kB / 0.7003 GB, free: 92.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002038/2.016, allocations: 170.4 kB / 0.7005 GB, free: 92.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/2.016, allocations: 38.75 kB / 0.7005 GB, free: 92.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 3.968e-06/2.016, allocations: 4 kB / 0.7005 GB, free: 92.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.003286/2.02, allocations: 0.791 MB / 0.7013 GB, free: 91.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/2.02, allocations: 51.41 kB / 0.7013 GB, free: 91.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/2.02, allocations: 199 kB / 0.7015 GB, free: 91.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/2.02, allocations: 25.7 kB / 0.7015 GB, free: 91.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/2.02, allocations: 183.8 kB / 0.7017 GB, free: 90.94 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.814e-05/2.02, allocations: 90.59 kB / 0.7018 GB, free: 90.85 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/2.02, allocations: 0 / 0.7018 GB, free: 90.85 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.339e-05/2.02, allocations: 338.8 kB / 0.7021 GB, free: 90.51 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/2.021, allocations: 72 kB / 0.7022 GB, free: 90.44 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/2.021, allocations: 159.8 kB / 0.7024 GB, free: 90.24 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/2.021, allocations: 107.9 kB / 0.7025 GB, free: 90.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/2.021, allocations: 0 / 0.7025 GB, free: 90.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001131/2.022, allocations: 407.9 kB / 0.7028 GB, free: 89.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/2.023, allocations: 4 kB / 0.7029 GB, free: 89.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/2.023, allocations: 4.406 kB / 0.7029 GB, free: 89.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003201/2.023, allocations: 45.66 kB / 0.7029 GB, free: 89.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007308/2.024, allocations: 79.84 kB / 0.703 GB, free: 89.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/2.026, allocations: 2.462 MB / 0.7054 GB, free: 86.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000533/2.026, allocations: 15.92 kB / 0.7054 GB, free: 86.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/2.026, allocations: 16 kB / 0.7054 GB, free: 86.85 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002683/2.027, allocations: 113 kB / 0.7055 GB, free: 86.73 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008745/2.028, allocations: 316 kB / 0.7058 GB, free: 86.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.441e-05/2.028, allocations: 23.72 kB / 0.7058 GB, free: 86.37 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008898/2.029, allocations: 330.5 kB / 0.7062 GB, free: 86.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/2.029, allocations: 0 / 0.7062 GB, free: 86.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/2.029, allocations: 7.953 kB / 0.7062 GB, free: 86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007157/2.029, allocations: 0.5998 MB / 0.7067 GB, free: 85.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/2.031, allocations: 0.6999 MB / 0.7074 GB, free: 84.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/2.031, allocations: 0 / 0.7074 GB, free: 84.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006578/2.032, allocations: 60 kB / 0.7075 GB, free: 84.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001286/2.032, allocations: 16.84 kB / 0.7075 GB, free: 84.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/2.032, allocations: 11.98 kB / 0.7075 GB, free: 84.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/2.033, allocations: 1.221 MB / 0.7087 GB, free: 83.11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/2.033, allocations: 0 / 0.7087 GB, free: 83.11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/2.034, allocations: 0.4958 MB / 0.7092 GB, free: 82.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/2.034, allocations: 100.8 kB / 0.7093 GB, free: 82.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/2.034, allocations: 3.938 kB / 0.7093 GB, free: 82.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005837/2.035, allocations: 11.98 kB / 0.7093 GB, free: 82.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/2.035, allocations: 15.98 kB / 0.7093 GB, free: 82.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.405e-05/2.035, allocations: 19.92 kB / 0.7093 GB, free: 82.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002228/2.035, allocations: 157.7 kB / 0.7095 GB, free: 82.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.52e-07/2.035, allocations: 4 kB / 0.7095 GB, free: 82.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000986/2.036, allocations: 111.9 kB / 0.7096 GB, free: 82.14 MB / 394.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): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00172/2.038, allocations: 1.235 MB / 0.7108 GB, free: 80.85 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001015/2.039, allocations: 419.8 kB / 0.7112 GB, free: 80.42 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/2.039, allocations: 0 / 0.7112 GB, free: 80.42 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004388/2.04, allocations: 205.6 kB / 0.7114 GB, free: 80.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/2.041, allocations: 124.9 kB / 0.7115 GB, free: 80.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/2.044, allocations: 0.5275 MB / 0.712 GB, free: 79.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/2.044, allocations: 0.7639 MB / 0.7128 GB, free: 78.73 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006332/2.045, allocations: 59.19 kB / 0.7128 GB, free: 78.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/2.045, allocations: 83.41 kB / 0.7129 GB, free: 78.59 MB / 394.7 MB Notification: Performance of SimCode: time 1.954e-06/2.045, allocations: 0 / 0.7129 GB, free: 78.59 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07137/2.116, allocations: 8.322 MB / 0.721 GB, free: 70.29 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002623/2.117, allocations: 153.1 kB / 0.7212 GB, free: 70.1 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.535/5.651, allocations: 7.875 kB / 0.7212 GB, free: 70.09 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat