Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.139/2.139, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.386e-05/3.39e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 44.51 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.16/20.28, allocations: 6.53 GB / 6.823 GB, free: 98.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003514/20.29, allocations: 74.62 kB / 6.823 GB, free: 98.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848/24.13, allocations: 0.6651 GB / 7.488 GB, free: 24.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.923e-06/24.13, allocations: 1.312 kB / 7.488 GB, free: 24.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.579e-05/24.13, allocations: 12.56 kB / 7.488 GB, free: 24.67 MB / 426.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.01288/24.15, allocations: 2.404 MB / 7.49 GB, free: 23.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/24.15, allocations: 6.438 kB / 7.49 GB, free: 23.3 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002991/24.15, allocations: 104 kB / 7.49 GB, free: 23.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006482/24.15, allocations: 95.81 kB / 7.49 GB, free: 23.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009598/24.15, allocations: 433.8 kB / 7.491 GB, free: 22.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.834e-05/24.15, allocations: 49.72 kB / 7.491 GB, free: 22.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/24.15, allocations: 59.16 kB / 7.491 GB, free: 22.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/24.15, allocations: 0.6893 MB / 7.491 GB, free: 22.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/24.15, allocations: 7.219 kB / 7.491 GB, free: 22.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/24.15, allocations: 32 kB / 7.491 GB, free: 22.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/24.15, allocations: 14.69 kB / 7.491 GB, free: 22.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002623/24.15, allocations: 0.8546 MB / 7.492 GB, free: 22.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0219/24.18, allocations: 12.66 MB / 7.505 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002362/24.18, allocations: 0.867 MB / 7.506 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/24.18, allocations: 406.7 kB / 7.506 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05479/24.23, allocations: 30.21 MB / 7.535 GB, free: 12.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.642e-05/24.23, allocations: 44.92 kB / 7.535 GB, free: 12.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=78): time 4.158e-06/24.23, allocations: 0 / 7.535 GB, free: 12.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.01645/24.25, allocations: 2.927 MB / 7.538 GB, free: 12.36 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/24.25, allocations: 58.94 kB / 7.538 GB, free: 12.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005418/24.25, allocations: 321 kB / 7.539 GB, free: 12.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001481/24.25, allocations: 43.83 kB / 7.539 GB, free: 12.16 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/24.25, allocations: 239.9 kB / 7.539 GB, free: 12.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/24.25, allocations: 309.1 kB / 7.539 GB, free: 11.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.451e-05/24.25, allocations: 15.47 kB / 7.539 GB, free: 11.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/24.25, allocations: 366.7 kB / 7.54 GB, free: 11.51 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008146/24.25, allocations: 319.9 kB / 7.54 GB, free: 11.51 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/24.25, allocations: 431.1 kB / 7.54 GB, free: 11.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/24.26, allocations: 396 kB / 7.541 GB, free: 11.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/24.26, allocations: 2.812 kB / 7.541 GB, free: 11.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003534/24.26, allocations: 0.9965 MB / 7.542 GB, free: 11.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/24.26, allocations: 7.406 kB / 7.542 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/24.26, allocations: 3.688 kB / 7.542 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/24.26, allocations: 167.8 kB / 7.542 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/24.26, allocations: 192 kB / 7.542 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004255/24.27, allocations: 3.905 MB / 7.546 GB, free: 23.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/24.27, allocations: 64.62 kB / 7.546 GB, free: 23.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/24.27, allocations: 52.84 kB / 7.546 GB, free: 23.54 MB / 474.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.0003648/24.27, allocations: 149 kB / 7.546 GB, free: 23.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005655/24.27, allocations: 63.06 kB / 7.546 GB, free: 23.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003432/24.27, allocations: 1.096 MB / 7.547 GB, free: 23.28 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/24.27, allocations: 6.281 kB / 7.547 GB, free: 23.28 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/24.27, allocations: 3 kB / 7.547 GB, free: 23.28 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002811/24.28, allocations: 1.319 MB / 7.549 GB, free: 22.61 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005711/24.28, allocations: 2.057 MB / 7.551 GB, free: 22.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/24.28, allocations: 3.844 kB / 7.551 GB, free: 22.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/24.28, allocations: 185.1 kB / 7.551 GB, free: 22.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003007/24.29, allocations: 314.1 kB / 7.551 GB, free: 22.17 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001837/24.29, allocations: 30.77 kB / 7.551 GB, free: 22.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/24.29, allocations: 1.296 MB / 7.552 GB, free: 20.99 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/24.29, allocations: 2.625 kB / 7.552 GB, free: 20.99 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004269/24.29, allocations: 1.475 MB / 7.554 GB, free: 20.68 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003687/24.29, allocations: 139.6 kB / 7.554 GB, free: 20.56 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/24.29, allocations: 26.28 kB / 7.554 GB, free: 20.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/24.29, allocations: 55.67 kB / 7.554 GB, free: 20.55 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/24.29, allocations: 67.2 kB / 7.554 GB, free: 20.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/24.29, allocations: 53.12 kB / 7.554 GB, free: 20.55 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004436/24.29, allocations: 261.5 kB / 7.554 GB, free: 20.46 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.71e-07/24.29, allocations: 2 kB / 7.554 GB, free: 20.46 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01189/24.31, allocations: 2.294 MB / 7.557 GB, free: 20 MB / 474.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.02411/24.33, allocations: 5.641 MB / 7.562 GB, free: 18.31 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003125/24.33, allocations: 1.091 MB / 7.563 GB, free: 18.05 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/24.33, allocations: 5.438 kB / 7.563 GB, free: 18.05 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001397/24.33, allocations: 0.4928 MB / 7.564 GB, free: 18.01 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003556/24.34, allocations: 388.6 kB / 7.564 GB, free: 17.99 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/24.35, allocations: 2.518 MB / 7.566 GB, free: 17.13 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/24.35, allocations: 0.9381 MB / 7.567 GB, free: 16.43 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001437/24.35, allocations: 193 kB / 7.568 GB, free: 16.41 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006112/24.35, allocations: 242.2 kB / 7.568 GB, free: 16.41 MB / 474.7 MB Notification: Performance of SimCode: time 1.183e-06/24.35, allocations: 0 / 7.568 GB, free: 16.41 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.616/24.97, allocations: 89.65 MB / 7.655 GB, free: 56.05 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002812/24.97, allocations: 216.4 kB / 7.656 GB, free: 55.83 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/32.43, allocations: 0.875 kB / 7.656 GB, free: 55.83 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat does not exist to compare? outputFormat=mat