Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.032/2.032, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.491e-05/4.51e-05, allocations: 4 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2714, allocations: 38.76 MB / 263.9 MB, free: 9.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.03/20.3, allocations: 6.523 GB / 6.781 GB, free: 73.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/20.3, allocations: 78.39 kB / 6.781 GB, free: 73.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.072/24.38, allocations: 0.6637 GB / 7.445 GB, free: 21.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.384e-06/24.38, allocations: 0 / 7.445 GB, free: 21.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.592e-05/24.38, allocations: 15.06 kB / 7.445 GB, free: 21.54 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.0127/24.39, allocations: 2.4 MB / 7.447 GB, free: 20.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/24.39, allocations: 6.844 kB / 7.447 GB, free: 20.46 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003602/24.39, allocations: 112.1 kB / 7.447 GB, free: 20.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007301/24.39, allocations: 82.3 kB / 7.448 GB, free: 20.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/24.39, allocations: 442.1 kB / 7.448 GB, free: 20.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.842e-05/24.39, allocations: 50.88 kB / 7.448 GB, free: 20.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000259/24.39, allocations: 64.41 kB / 7.448 GB, free: 20.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003309/24.39, allocations: 0.6906 MB / 7.449 GB, free: 20.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.893e-05/24.39, allocations: 0 / 7.449 GB, free: 20.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/24.4, allocations: 26.38 kB / 7.449 GB, free: 20.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/24.4, allocations: 16.38 kB / 7.449 GB, free: 20.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003297/24.4, allocations: 0.852 MB / 7.45 GB, free: 20.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02758/24.43, allocations: 12.43 MB / 7.462 GB, free: 25.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/24.43, allocations: 0.8696 MB / 7.463 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/24.43, allocations: 409.6 kB / 7.463 GB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05732/24.49, allocations: 30.19 MB / 7.492 GB, free: 26.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.833e-05/24.49, allocations: 50.61 kB / 7.492 GB, free: 26.42 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 4.067e-06/24.49, allocations: 0 / 7.492 GB, free: 26.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=88): time 0.01766/24.51, allocations: 2.921 MB / 7.495 GB, free: 25.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/24.51, allocations: 65.28 kB / 7.495 GB, free: 25.89 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006002/24.51, allocations: 321.7 kB / 7.496 GB, free: 25.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002733/24.51, allocations: 46.42 kB / 7.496 GB, free: 25.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/24.51, allocations: 236 kB / 7.496 GB, free: 25.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003238/24.51, allocations: 308.6 kB / 7.496 GB, free: 25.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.992e-05/24.51, allocations: 16.38 kB / 7.496 GB, free: 25.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/24.51, allocations: 364.2 kB / 7.497 GB, free: 25.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009712/24.51, allocations: 326 kB / 7.497 GB, free: 25.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/24.51, allocations: 431.2 kB / 7.497 GB, free: 25.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/24.51, allocations: 390 kB / 7.498 GB, free: 25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.138e-06/24.51, allocations: 0 / 7.498 GB, free: 25 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004282/24.52, allocations: 0.9969 MB / 7.499 GB, free: 24.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/24.52, allocations: 5.75 kB / 7.499 GB, free: 24.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.97e-05/24.52, allocations: 3.969 kB / 7.499 GB, free: 24.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/24.52, allocations: 169.4 kB / 7.499 GB, free: 24.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/24.52, allocations: 189 kB / 7.499 GB, free: 24.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003815/24.52, allocations: 3.906 MB / 7.503 GB, free: 21.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/24.52, allocations: 56.8 kB / 7.503 GB, free: 21.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/24.52, allocations: 46.59 kB / 7.503 GB, free: 21.18 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003789/24.52, allocations: 164.2 kB / 7.503 GB, free: 21.06 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006465/24.53, allocations: 66.97 kB / 7.503 GB, free: 21.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/24.53, allocations: 1.092 MB / 7.504 GB, free: 20.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/24.53, allocations: 10.12 kB / 7.504 GB, free: 20.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/24.53, allocations: 1.719 kB / 7.504 GB, free: 20.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003245/24.53, allocations: 1.323 MB / 7.506 GB, free: 20.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006675/24.54, allocations: 2.061 MB / 7.508 GB, free: 19.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/24.54, allocations: 6.125 kB / 7.508 GB, free: 19.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/24.54, allocations: 186.9 kB / 7.508 GB, free: 19.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003081/24.54, allocations: 310.6 kB / 7.508 GB, free: 19.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002688/24.54, allocations: 32.45 kB / 7.508 GB, free: 19.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/24.55, allocations: 1.288 MB / 7.509 GB, free: 18.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/24.55, allocations: 2.719 kB / 7.509 GB, free: 18.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004814/24.55, allocations: 1.487 MB / 7.511 GB, free: 18.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003941/24.55, allocations: 144.8 kB / 7.511 GB, free: 18.22 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/24.55, allocations: 22.91 kB / 7.511 GB, free: 18.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/24.55, allocations: 54.47 kB / 7.511 GB, free: 18.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/24.55, allocations: 66.55 kB / 7.511 GB, free: 18.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/24.55, allocations: 52.44 kB / 7.511 GB, free: 18.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004946/24.55, allocations: 257.5 kB / 7.511 GB, free: 18.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.61e-07/24.55, allocations: 2.719 kB / 7.511 GB, free: 18.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01225/24.57, allocations: 2.294 MB / 7.514 GB, free: 17.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02573/24.59, allocations: 5.63 MB / 7.519 GB, free: 16.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003615/24.6, allocations: 1.089 MB / 7.52 GB, free: 15.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/24.6, allocations: 1.969 kB / 7.52 GB, free: 15.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001783/24.6, allocations: 0.4949 MB / 7.521 GB, free: 15.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003863/24.6, allocations: 392.6 kB / 7.521 GB, free: 15.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/24.61, allocations: 2.52 MB / 7.523 GB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006806/24.61, allocations: 0.9369 MB / 7.524 GB, free: 14.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00162/24.62, allocations: 195.2 kB / 7.525 GB, free: 14.24 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000693/24.62, allocations: 234.3 kB / 7.525 GB, free: 14.23 MB / 442.7 MB Notification: Performance of SimCode: time 1.763e-06/24.62, allocations: 6.281 kB / 7.525 GB, free: 14.23 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5693/25.19, allocations: 89.62 MB / 7.612 GB, free: 66.02 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002918/25.19, allocations: 220 kB / 7.613 GB, free: 65.79 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/32.62, allocations: 0 / 7.613 GB, free: 65.79 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat does not exist to compare? outputFormat=mat