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 1.729/1.729, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.499e-05/3.528e-05, allocations: 0 / 225.1 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2751, allocations: 38.76 MB / 263.8 MB, free: 9.715 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.53/19.81, allocations: 6.523 GB / 6.781 GB, free: 72.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/19.81, allocations: 71.78 kB / 6.781 GB, free: 72.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.986/23.79, allocations: 0.6637 GB / 7.445 GB, free: 21.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.904e-06/23.79, allocations: 0 / 7.445 GB, free: 21.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.232e-05/23.79, allocations: 13.2 kB / 7.445 GB, free: 21.84 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.01208/23.8, allocations: 2.399 MB / 7.447 GB, free: 20.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/23.8, allocations: 9.125 kB / 7.447 GB, free: 20.77 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000314/23.8, allocations: 109.3 kB / 7.447 GB, free: 20.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000661/23.81, allocations: 78.09 kB / 7.447 GB, free: 20.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/23.81, allocations: 440 kB / 7.448 GB, free: 20.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-05/23.81, allocations: 46.66 kB / 7.448 GB, free: 20.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/23.81, allocations: 64.66 kB / 7.448 GB, free: 20.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002829/23.81, allocations: 0.7015 MB / 7.449 GB, free: 20.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.969e-05/23.81, allocations: 0 / 7.449 GB, free: 20.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/23.81, allocations: 27.5 kB / 7.449 GB, free: 20.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/23.81, allocations: 17.69 kB / 7.449 GB, free: 20.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002968/23.81, allocations: 0.8634 MB / 7.45 GB, free: 20.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02373/23.84, allocations: 12.43 MB / 7.462 GB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/23.84, allocations: 0.8827 MB / 7.463 GB, free: 25.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/23.84, allocations: 410 kB / 7.463 GB, free: 25.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05391/23.89, allocations: 30.19 MB / 7.492 GB, free: 26.75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.015e-05/23.89, allocations: 44.09 kB / 7.492 GB, free: 26.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 3.546e-06/23.89, allocations: 3.938 kB / 7.492 GB, free: 26.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=88): time 0.01538/23.91, allocations: 2.929 MB / 7.495 GB, free: 26.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/23.91, allocations: 61.53 kB / 7.495 GB, free: 26.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000526/23.91, allocations: 317.2 kB / 7.496 GB, free: 26.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001283/23.91, allocations: 44.95 kB / 7.496 GB, free: 26.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/23.91, allocations: 238.8 kB / 7.496 GB, free: 25.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/23.91, allocations: 314.6 kB / 7.496 GB, free: 25.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.438e-05/23.91, allocations: 19.72 kB / 7.496 GB, free: 25.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/23.91, allocations: 361.3 kB / 7.497 GB, free: 25.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008027/23.91, allocations: 320.6 kB / 7.497 GB, free: 25.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/23.91, allocations: 431.7 kB / 7.497 GB, free: 25.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/23.91, allocations: 391.7 kB / 7.498 GB, free: 25.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/23.91, allocations: 0 / 7.498 GB, free: 25.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00353/23.92, allocations: 1.016 MB / 7.499 GB, free: 25.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/23.92, allocations: 11.86 kB / 7.499 GB, free: 25.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/23.92, allocations: 3.188 kB / 7.499 GB, free: 25.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/23.92, allocations: 174.2 kB / 7.499 GB, free: 25.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/23.92, allocations: 186.5 kB / 7.499 GB, free: 25.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003501/23.92, allocations: 3.919 MB / 7.503 GB, free: 21.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/23.93, allocations: 59.41 kB / 7.503 GB, free: 21.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/23.93, allocations: 43.19 kB / 7.503 GB, free: 21.47 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.0003492/23.93, allocations: 162.3 kB / 7.503 GB, free: 21.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005835/23.93, allocations: 57.28 kB / 7.503 GB, free: 21.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00339/23.93, allocations: 1.113 MB / 7.504 GB, free: 21.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/23.93, allocations: 10.44 kB / 7.504 GB, free: 21.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/23.93, allocations: 0 / 7.504 GB, free: 21.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002632/23.93, allocations: 1.318 MB / 7.506 GB, free: 20.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005219/23.94, allocations: 2.064 MB / 7.508 GB, free: 20.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/23.94, allocations: 0.5625 kB / 7.508 GB, free: 20.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/23.94, allocations: 183.1 kB / 7.508 GB, free: 20.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002838/23.94, allocations: 307.5 kB / 7.508 GB, free: 20.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001499/23.94, allocations: 34.86 kB / 7.508 GB, free: 20.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/23.94, allocations: 1.295 MB / 7.509 GB, free: 18.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/23.94, allocations: 3.812 kB / 7.509 GB, free: 18.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004017/23.95, allocations: 1.477 MB / 7.511 GB, free: 18.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002868/23.95, allocations: 150.8 kB / 7.511 GB, free: 18.51 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/23.95, allocations: 23.7 kB / 7.511 GB, free: 18.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/23.95, allocations: 55 kB / 7.511 GB, free: 18.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/23.95, allocations: 64 kB / 7.511 GB, free: 18.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/23.95, allocations: 55.09 kB / 7.511 GB, free: 18.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004199/23.95, allocations: 258.2 kB / 7.511 GB, free: 18.42 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/23.95, allocations: 0 / 7.511 GB, free: 18.42 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01104/23.96, allocations: 2.289 MB / 7.514 GB, free: 17.96 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.02293/23.98, allocations: 5.638 MB / 7.519 GB, free: 16.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003087/23.99, allocations: 1.109 MB / 7.52 GB, free: 16.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/23.99, allocations: 0 / 7.52 GB, free: 16.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001377/23.99, allocations: 0.4984 MB / 7.521 GB, free: 16.06 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/23.99, allocations: 390.4 kB / 7.521 GB, free: 16.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/24, allocations: 2.522 MB / 7.524 GB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/24, allocations: 0.9386 MB / 7.524 GB, free: 14.53 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001366/24, allocations: 194.6 kB / 7.525 GB, free: 14.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005686/24.01, allocations: 243.7 kB / 7.525 GB, free: 14.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.382e-06/24.01, allocations: 3.656 kB / 7.525 GB, free: 14.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5491/24.55, allocations: 89.43 MB / 7.612 GB, free: 66.26 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/24.55, allocations: 214.1 kB / 7.612 GB, free: 66.04 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.928/31.48, allocations: 0 / 7.612 GB, free: 66.04 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