Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.074/2.074, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.525e-05/3.527e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3167, allocations: 44.5 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.334, allocations: 333.2 MB / 0.6127 GB, free: 116.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/1.334, allocations: 90.66 kB / 0.6128 GB, free: 116 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2762/1.61, allocations: 86.74 MB / 0.6975 GB, free: 37.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/1.61, allocations: 0 / 0.6975 GB, free: 37.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.343e-05/1.61, allocations: 4 kB / 0.6975 GB, free: 37.35 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008959/1.611, allocations: 0.5343 MB / 0.698 GB, free: 36.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/1.611, allocations: 8.031 kB / 0.698 GB, free: 36.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003556/1.612, allocations: 35.72 kB / 0.6981 GB, free: 36.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/1.612, allocations: 294.8 kB / 0.6984 GB, free: 36.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/1.612, allocations: 8 kB / 0.6984 GB, free: 36.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/1.612, allocations: 12 kB / 0.6984 GB, free: 36.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000426/1.613, allocations: 173.1 kB / 0.6985 GB, free: 36.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/1.613, allocations: 260.3 kB / 0.6988 GB, free: 35.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/1.613, allocations: 0 / 0.6988 GB, free: 35.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.607e-05/1.613, allocations: 0 / 0.6988 GB, free: 35.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/1.613, allocations: 8 kB / 0.6988 GB, free: 35.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002074/1.615, allocations: 1.231 MB / 0.7 GB, free: 34.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/1.616, allocations: 168.2 kB / 0.7002 GB, free: 34.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/1.616, allocations: 89.09 kB / 0.7002 GB, free: 34.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/1.616, allocations: 174.4 kB / 0.7004 GB, free: 34.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/1.616, allocations: 30.75 kB / 0.7004 GB, free: 34.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.394e-06/1.616, allocations: 0 / 0.7004 GB, free: 34.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002541/1.619, allocations: 0.7882 MB / 0.7012 GB, free: 33.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/1.619, allocations: 51.41 kB / 0.7013 GB, free: 33.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/1.619, allocations: 207 kB / 0.7015 GB, free: 32.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/1.619, allocations: 25.7 kB / 0.7015 GB, free: 32.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.743e-05/1.619, allocations: 183.8 kB / 0.7017 GB, free: 32.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.901e-05/1.619, allocations: 86.66 kB / 0.7017 GB, free: 32.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/1.619, allocations: 7.938 kB / 0.7017 GB, free: 32.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.482e-05/1.62, allocations: 330.8 kB / 0.7021 GB, free: 32.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/1.62, allocations: 68 kB / 0.7021 GB, free: 32.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/1.62, allocations: 171.8 kB / 0.7023 GB, free: 32.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/1.62, allocations: 101.3 kB / 0.7024 GB, free: 31.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.62, allocations: 0 / 0.7024 GB, free: 31.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008126/1.621, allocations: 407.9 kB / 0.7028 GB, free: 31.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/1.621, allocations: 4 kB / 0.7028 GB, free: 31.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/1.621, allocations: 4 kB / 0.7028 GB, free: 31.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002233/1.621, allocations: 42.05 kB / 0.7028 GB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/1.622, allocations: 79.89 kB / 0.7029 GB, free: 31.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/1.624, allocations: 2.461 MB / 0.7053 GB, free: 28.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004175/1.624, allocations: 12.16 kB / 0.7053 GB, free: 28.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/1.624, allocations: 19.98 kB / 0.7053 GB, free: 28.64 MB / 410.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.0002328/1.624, allocations: 120.1 kB / 0.7054 GB, free: 28.52 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006898/1.625, allocations: 320.2 kB / 0.7058 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/1.625, allocations: 27.72 kB / 0.7058 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006936/1.626, allocations: 338.4 kB / 0.7061 GB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/1.626, allocations: 0 / 0.7061 GB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.626, allocations: 4 kB / 0.7061 GB, free: 27.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006028/1.627, allocations: 0.5914 MB / 0.7067 GB, free: 27.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/1.628, allocations: 0.6934 MB / 0.7074 GB, free: 26.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/1.628, allocations: 4 kB / 0.7074 GB, free: 26.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005129/1.628, allocations: 59.89 kB / 0.7074 GB, free: 26.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001064/1.629, allocations: 24.88 kB / 0.7074 GB, free: 26.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/1.629, allocations: 4 kB / 0.7074 GB, free: 26.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007836/1.629, allocations: 1.224 MB / 0.7086 GB, free: 24.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.629, allocations: 3.984 kB / 0.7086 GB, free: 24.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008426/1.63, allocations: 0.4886 MB / 0.7091 GB, free: 24.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/1.63, allocations: 100.9 kB / 0.7092 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.208e-05/1.63, allocations: 11.94 kB / 0.7092 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004794/1.631, allocations: 11.98 kB / 0.7092 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/1.631, allocations: 19.92 kB / 0.7093 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/1.631, allocations: 15.98 kB / 0.7093 GB, free: 24.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001915/1.631, allocations: 161.6 kB / 0.7094 GB, free: 24.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.3e-07/1.631, allocations: 0 / 0.7094 GB, free: 24.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007576/1.632, allocations: 103.9 kB / 0.7095 GB, free: 23.92 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): 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.001488/1.634, allocations: 1.246 MB / 0.7107 GB, free: 22.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008392/1.634, allocations: 416 kB / 0.7111 GB, free: 22.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.634, allocations: 8.062 kB / 0.7112 GB, free: 22.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003713/1.635, allocations: 205.7 kB / 0.7113 GB, free: 21.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/1.636, allocations: 120.4 kB / 0.7115 GB, free: 21.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/1.638, allocations: 0.5173 MB / 0.712 GB, free: 21.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/1.638, allocations: 0.7677 MB / 0.7127 GB, free: 20.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004702/1.639, allocations: 51.27 kB / 0.7128 GB, free: 20.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/1.639, allocations: 91.41 kB / 0.7129 GB, free: 20.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/1.639, allocations: 0 / 0.7129 GB, free: 20.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05029/1.689, allocations: 8.304 MB / 0.721 GB, free: 12.06 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002998/1.69, allocations: 152.5 kB / 0.7211 GB, free: 11.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.916/4.606, allocations: 11.94 kB / 0.7211 GB, free: 11.86 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat