Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.754/1.754, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.13e-05/3.143e-05, allocations: 4 kB / 219.6 MB, free: 6.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3104, allocations: 38.77 MB / 258.4 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.61/10.93, allocations: 3.61 GB / 3.863 GB, free: 56.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000463/10.93, allocations: 91.92 kB / 3.863 GB, free: 56.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.832/12.76, allocations: 316.1 MB / 4.172 GB, free: 34.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/12.76, allocations: 0 / 4.172 GB, free: 34.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.828e-05/12.76, allocations: 8 kB / 4.172 GB, free: 34.98 MB / 362.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.005467/12.76, allocations: 1.555 MB / 4.173 GB, free: 33.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/12.76, allocations: 12.03 kB / 4.173 GB, free: 33.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004678/12.76, allocations: 59.42 kB / 4.173 GB, free: 33.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006791/12.76, allocations: 357.9 kB / 4.174 GB, free: 32.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/12.76, allocations: 16 kB / 4.174 GB, free: 32.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/12.76, allocations: 27.98 kB / 4.174 GB, free: 32.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001316/12.77, allocations: 0.557 MB / 4.174 GB, free: 32.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/12.77, allocations: 443.8 kB / 4.175 GB, free: 31.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/12.77, allocations: 0 / 4.175 GB, free: 31.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.168e-05/12.77, allocations: 0 / 4.175 GB, free: 31.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/12.77, allocations: 12 kB / 4.175 GB, free: 31.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00451/12.77, allocations: 1.894 MB / 4.176 GB, free: 29.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/12.77, allocations: 0.5349 MB / 4.177 GB, free: 29.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005068/12.77, allocations: 238.5 kB / 4.177 GB, free: 29.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006443/12.77, allocations: 0.6995 MB / 4.178 GB, free: 28.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/12.77, allocations: 39 kB / 4.178 GB, free: 28.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 3.506e-06/12.77, allocations: 3.375 kB / 4.178 GB, free: 28.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.01776/12.79, allocations: 2.836 MB / 4.181 GB, free: 25.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/12.79, allocations: 55.97 kB / 4.181 GB, free: 25.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/12.79, allocations: 207 kB / 4.181 GB, free: 24.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001764/12.79, allocations: 29.7 kB / 4.181 GB, free: 24.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/12.79, allocations: 192.9 kB / 4.181 GB, free: 24.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/12.79, allocations: 216.8 kB / 4.181 GB, free: 24.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/12.79, allocations: 0 / 4.181 GB, free: 24.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.409e-05/12.79, allocations: 350.8 kB / 4.182 GB, free: 24.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005891/12.79, allocations: 257.5 kB / 4.182 GB, free: 23.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006356/12.79, allocations: 327.9 kB / 4.182 GB, free: 23.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/12.8, allocations: 360.4 kB / 4.183 GB, free: 23.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/12.8, allocations: 8 kB / 4.183 GB, free: 23.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002968/12.8, allocations: 0.8965 MB / 4.183 GB, free: 22.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/12.8, allocations: 8.156 kB / 4.183 GB, free: 22.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/12.8, allocations: 4 kB / 4.183 GB, free: 22.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001707/12.8, allocations: 266.3 kB / 4.184 GB, free: 22.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/12.8, allocations: 119.8 kB / 4.184 GB, free: 21.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/12.81, allocations: 3.336 MB / 4.187 GB, free: 18.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/12.81, allocations: 55.95 kB / 4.187 GB, free: 18.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.887e-05/12.81, allocations: 27.98 kB / 4.187 GB, free: 18.27 MB / 362.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.0003548/12.81, allocations: 121.7 kB / 4.187 GB, free: 18.14 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007382/12.81, allocations: 1.198 MB / 4.188 GB, free: 16.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/12.81, allocations: 39.53 kB / 4.188 GB, free: 16.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006665/12.82, allocations: 1.243 MB / 4.19 GB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/12.82, allocations: 8 kB / 4.19 GB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/12.82, allocations: 7.375 kB / 4.19 GB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005901/12.83, allocations: 1.301 MB / 4.191 GB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/12.83, allocations: 1.523 MB / 4.192 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/12.83, allocations: 7.938 kB / 4.192 GB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/12.83, allocations: 111.9 kB / 4.193 GB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002194/12.83, allocations: 304.4 kB / 4.193 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001556/12.83, allocations: 19.97 kB / 4.193 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/12.84, allocations: 0.8043 MB / 4.194 GB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/12.84, allocations: 0 / 4.194 GB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006513/12.84, allocations: 1.514 MB / 4.195 GB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/12.84, allocations: 120.6 kB / 4.195 GB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/12.84, allocations: 4 kB / 4.195 GB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/12.84, allocations: 51.81 kB / 4.195 GB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/12.84, allocations: 44.44 kB / 4.195 GB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/12.84, allocations: 35.97 kB / 4.195 GB, free: 9.613 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002159/12.84, allocations: 168.5 kB / 4.196 GB, free: 9.449 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/12.84, allocations: 0 / 4.196 GB, free: 9.449 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002343/12.85, allocations: 0.4995 MB / 4.196 GB, free: 8.949 MB / 362.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.009729/12.86, allocations: 3.357 MB / 4.199 GB, free: 5.691 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002145/12.86, allocations: 0.8688 MB / 4.2 GB, free: 4.797 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/12.86, allocations: 0 / 4.2 GB, free: 4.797 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009763/12.86, allocations: 361.9 kB / 4.201 GB, free: 4.445 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/12.86, allocations: 225.2 kB / 4.201 GB, free: 4.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004756/12.87, allocations: 1.227 MB / 4.202 GB, free: 2.957 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/12.87, allocations: 0.8609 MB / 4.203 GB, free: 2.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009819/12.87, allocations: 124.3 kB / 4.203 GB, free: 1.949 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/12.87, allocations: 175.2 kB / 4.203 GB, free: 1.777 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/12.87, allocations: 0 / 4.203 GB, free: 1.777 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3997/13.27, allocations: 27.92 MB / 4.23 GB, free: 49.71 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/13.27, allocations: 158.8 kB / 4.23 GB, free: 49.51 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.222/17.49, allocations: 0 / 4.23 GB, free: 49.51 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat