Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.002/2.002, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.219e-05/4.22e-05, allocations: 5.547 kB / 273.2 MB, free: 136 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.404/1.513, allocations: 418.1 MB / 0.7227 GB, free: 90.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003619/1.514, allocations: 90.89 kB / 0.7228 GB, free: 90.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7434/2.257, allocations: 132.1 MB / 0.8517 GB, free: 99.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.392e-06/2.257, allocations: 0 / 0.8517 GB, free: 99.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.541e-05/2.257, allocations: 17.16 kB / 0.8518 GB, free: 99.37 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002747/2.26, allocations: 0.9015 MB / 0.8526 GB, free: 98.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/2.26, allocations: 11.62 kB / 0.8527 GB, free: 98.82 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002277/2.26, allocations: 97.77 kB / 0.8528 GB, free: 98.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005519/2.261, allocations: 90.02 kB / 0.8528 GB, free: 98.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/2.263, allocations: 0.5527 MB / 0.8534 GB, free: 98.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/2.263, allocations: 103.3 kB / 0.8535 GB, free: 98.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/2.263, allocations: 48.36 kB / 0.8535 GB, free: 98.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/2.265, allocations: 0.7836 MB / 0.8543 GB, free: 98.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/2.265, allocations: 2.062 kB / 0.8543 GB, free: 98.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/2.265, allocations: 20.38 kB / 0.8543 GB, free: 98.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.543e-05/2.265, allocations: 42.28 kB / 0.8543 GB, free: 98.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/2.267, allocations: 0.6085 MB / 0.8549 GB, free: 98.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00644/2.273, allocations: 3.65 MB / 0.8585 GB, free: 96.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/2.274, allocations: 380.8 kB / 0.8589 GB, free: 96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000426/2.275, allocations: 196.2 kB / 0.8591 GB, free: 95.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002819/2.278, allocations: 1.639 MB / 0.8607 GB, free: 94.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/2.278, allocations: 44.61 kB / 0.8607 GB, free: 94.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 3.477e-06/2.278, allocations: 0 / 0.8607 GB, free: 94.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.004126/2.282, allocations: 1.292 MB / 0.862 GB, free: 94.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/2.282, allocations: 136.3 kB / 0.8621 GB, free: 94.06 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008947/2.283, allocations: 0.4918 MB / 0.8626 GB, free: 93.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001452/2.283, allocations: 33.27 kB / 0.8626 GB, free: 93.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/2.283, allocations: 382.4 kB / 0.863 GB, free: 93.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/2.283, allocations: 153.1 kB / 0.8631 GB, free: 93.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/2.283, allocations: 15.94 kB / 0.8631 GB, free: 93.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/2.284, allocations: 379.3 kB / 0.8635 GB, free: 93.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004937/2.284, allocations: 195.1 kB / 0.8637 GB, free: 92.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006406/2.285, allocations: 0.5165 MB / 0.8642 GB, free: 92.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006669/2.285, allocations: 316 kB / 0.8645 GB, free: 92.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/2.285, allocations: 3.906 kB / 0.8645 GB, free: 92.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002295/2.288, allocations: 0.8492 MB / 0.8653 GB, free: 92.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/2.288, allocations: 14.69 kB / 0.8653 GB, free: 92.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/2.288, allocations: 11.34 kB / 0.8653 GB, free: 92.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002104/2.29, allocations: 252.6 kB / 0.8656 GB, free: 91.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008427/2.291, allocations: 134.9 kB / 0.8657 GB, free: 91.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/2.292, allocations: 0.8412 MB / 0.8665 GB, free: 91.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/2.293, allocations: 47.2 kB / 0.8666 GB, free: 91.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/2.294, allocations: 42.53 kB / 0.8666 GB, free: 91.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002388/2.294, allocations: 160.2 kB / 0.8668 GB, free: 91.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/2.294, allocations: 62.31 kB / 0.8668 GB, free: 91.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/2.296, allocations: 0.7115 MB / 0.8675 GB, free: 90.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/2.296, allocations: 7.875 kB / 0.8675 GB, free: 90.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/2.296, allocations: 0 / 0.8675 GB, free: 90.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/2.296, allocations: 7.844 kB / 0.8675 GB, free: 90.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/2.299, allocations: 1.315 MB / 0.8688 GB, free: 89.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/2.299, allocations: 0 / 0.8688 GB, free: 89.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001927/2.301, allocations: 206.7 kB / 0.869 GB, free: 89.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001321/2.301, allocations: 27.47 kB / 0.869 GB, free: 89.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.356e-05/2.301, allocations: 7.812 kB / 0.8691 GB, free: 89.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/2.303, allocations: 2.681 MB / 0.8717 GB, free: 87.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/2.303, allocations: 3.938 kB / 0.8717 GB, free: 87.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/2.305, allocations: 1.001 MB / 0.8727 GB, free: 86.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005414/2.305, allocations: 196.5 kB / 0.8728 GB, free: 86.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/2.306, allocations: 11.81 kB / 0.8729 GB, free: 86.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007937/2.306, allocations: 25.61 kB / 0.8729 GB, free: 86.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/2.306, allocations: 40.09 kB / 0.8729 GB, free: 86.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.081e-05/2.307, allocations: 26.59 kB / 0.8729 GB, free: 86.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006826/2.307, allocations: 393.9 kB / 0.8733 GB, free: 86.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.307, allocations: 0 / 0.8733 GB, free: 86.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0014/2.309, allocations: 231.9 kB / 0.8735 GB, free: 86.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002942/2.312, allocations: 2.231 MB / 0.8757 GB, free: 84.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001811/2.313, allocations: 0.5494 MB / 0.8763 GB, free: 84.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/2.314, allocations: 0 / 0.8763 GB, free: 84.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00148/2.315, allocations: 405.6 kB / 0.8766 GB, free: 84.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/2.317, allocations: 281 kB / 0.8769 GB, free: 84.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/2.321, allocations: 1.145 MB / 0.878 GB, free: 83.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/2.321, allocations: 0.95 MB / 0.879 GB, free: 82.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001125/2.322, allocations: 206.9 kB / 0.8792 GB, free: 82.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004122/2.323, allocations: 228.9 kB / 0.8794 GB, free: 82.5 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/2.323, allocations: 3.969 kB / 0.8794 GB, free: 82.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06188/2.385, allocations: 21.14 MB / 0.9 GB, free: 75.13 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000271/2.385, allocations: 242.6 kB / 0.9002 GB, free: 74.79 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.398/5.783, allocations: 3.938 kB / 0.9003 GB, free: 74.79 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat