Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.377/2.377, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.98e-05/3.981e-05, allocations: 3.953 kB / 249.8 MB, free: 5.219 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1534, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.51/13.66, allocations: 3.616 GB / 3.904 GB, free: 70.79 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005081/13.66, allocations: 84.08 kB / 3.904 GB, free: 70.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.31/15.97, allocations: 318.9 MB / 4.215 GB, free: 52.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.486e-06/15.97, allocations: 0 / 4.215 GB, free: 52.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.244e-05/15.97, allocations: 16 kB / 4.215 GB, free: 52.95 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.007655/15.98, allocations: 1.551 MB / 4.217 GB, free: 51.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.358e-05/15.98, allocations: 12.02 kB / 4.217 GB, free: 51.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007521/15.98, allocations: 55.48 kB / 4.217 GB, free: 51.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/15.98, allocations: 355.1 kB / 4.217 GB, free: 50.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/15.98, allocations: 12 kB / 4.217 GB, free: 50.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/15.98, allocations: 24 kB / 4.217 GB, free: 50.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001842/15.98, allocations: 0.5682 MB / 4.218 GB, free: 50.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/15.98, allocations: 435.8 kB / 4.218 GB, free: 49.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.666e-05/15.98, allocations: 10.8 kB / 4.218 GB, free: 49.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/15.98, allocations: 3.953 kB / 4.218 GB, free: 49.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/15.98, allocations: 12 kB / 4.218 GB, free: 49.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006233/15.99, allocations: 2.065 MB / 4.22 GB, free: 47.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002362/15.99, allocations: 0.5224 MB / 4.221 GB, free: 47.08 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007622/15.99, allocations: 238.5 kB / 4.221 GB, free: 46.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008851/15.99, allocations: 0.7101 MB / 4.221 GB, free: 46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/15.99, allocations: 39 kB / 4.221 GB, free: 45.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 4.348e-06/15.99, allocations: 0 / 4.221 GB, free: 45.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.02476/16.02, allocations: 2.815 MB / 4.224 GB, free: 43.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/16.02, allocations: 63.97 kB / 4.224 GB, free: 43.01 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/16.02, allocations: 203 kB / 4.224 GB, free: 42.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002132/16.02, allocations: 33.02 kB / 4.224 GB, free: 42.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/16.02, allocations: 193 kB / 4.225 GB, free: 42.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/16.02, allocations: 216.7 kB / 4.225 GB, free: 42.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.267e-05/16.02, allocations: 0 / 4.225 GB, free: 42.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/16.02, allocations: 350.3 kB / 4.225 GB, free: 42.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008331/16.02, allocations: 261.5 kB / 4.225 GB, free: 41.76 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008885/16.02, allocations: 328.1 kB / 4.226 GB, free: 41.42 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/16.02, allocations: 364.4 kB / 4.226 GB, free: 41.06 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/16.02, allocations: 0 / 4.226 GB, free: 41.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.004189/16.03, allocations: 0.912 MB / 4.227 GB, free: 40.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/16.03, allocations: 4 kB / 4.227 GB, free: 40.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/16.03, allocations: 0 / 4.227 GB, free: 40.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002355/16.03, allocations: 274.1 kB / 4.227 GB, free: 39.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/16.03, allocations: 123.8 kB / 4.227 GB, free: 39.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00412/16.04, allocations: 3.321 MB / 4.231 GB, free: 36.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/16.04, allocations: 52.05 kB / 4.231 GB, free: 36.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/16.04, allocations: 23.98 kB / 4.231 GB, free: 36.09 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004473/16.04, allocations: 132.6 kB / 4.231 GB, free: 35.95 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009977/16.05, allocations: 1.192 MB / 4.232 GB, free: 34.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003787/16.05, allocations: 43.62 kB / 4.232 GB, free: 34.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008682/16.06, allocations: 1.238 MB / 4.233 GB, free: 33.45 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.571e-05/16.06, allocations: 8 kB / 4.233 GB, free: 33.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/16.06, allocations: 0 / 4.233 GB, free: 33.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007756/16.07, allocations: 1.305 MB / 4.235 GB, free: 32.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005055/16.07, allocations: 1.541 MB / 4.236 GB, free: 30.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/16.07, allocations: 4 kB / 4.236 GB, free: 30.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/16.07, allocations: 115.2 kB / 4.236 GB, free: 30.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002808/16.08, allocations: 304 kB / 4.236 GB, free: 30.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001941/16.08, allocations: 11.98 kB / 4.236 GB, free: 30.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/16.08, allocations: 0.7944 MB / 4.237 GB, free: 29.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/16.08, allocations: 0 / 4.237 GB, free: 29.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008273/16.09, allocations: 1.525 MB / 4.239 GB, free: 27.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/16.09, allocations: 116.7 kB / 4.239 GB, free: 27.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/16.09, allocations: 4 kB / 4.239 GB, free: 27.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/16.09, allocations: 59.78 kB / 4.239 GB, free: 27.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/16.09, allocations: 36.5 kB / 4.239 GB, free: 27.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/16.09, allocations: 35.97 kB / 4.239 GB, free: 27.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002813/16.09, allocations: 168.5 kB / 4.239 GB, free: 27.28 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/16.09, allocations: 0 / 4.239 GB, free: 27.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002843/16.09, allocations: 0.4956 MB / 4.24 GB, free: 26.78 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01266/16.1, allocations: 3.365 MB / 4.243 GB, free: 23.53 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002713/16.11, allocations: 0.8691 MB / 4.244 GB, free: 22.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.457e-06/16.11, allocations: 4.312 kB / 4.244 GB, free: 22.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00138/16.11, allocations: 361.9 kB / 4.244 GB, free: 22.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002934/16.11, allocations: 223.1 kB / 4.244 GB, free: 22.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006053/16.12, allocations: 1.234 MB / 4.246 GB, free: 20.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/16.12, allocations: 0.8687 MB / 4.246 GB, free: 19.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001257/16.12, allocations: 116 kB / 4.246 GB, free: 19.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005237/16.12, allocations: 163.4 kB / 4.247 GB, free: 19.64 MB / 394.7 MB Notification: Performance of SimCode: time 1.513e-06/16.12, allocations: 0 / 4.247 GB, free: 19.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/16.23, allocations: 27.93 MB / 4.274 GB, free: 7.754 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004826/16.23, allocations: 156 kB / 4.274 GB, free: 7.559 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.211/21.44, allocations: 0 / 4.274 GB, free: 7.559 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat