Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.491/2.491, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.645e-05/3.63e-05, allocations: 0 / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1398, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.711/1.851, allocations: 430.4 MB / 0.8211 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/1.851, allocations: 91.38 kB / 0.8212 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.4615/2.313, allocations: 135.9 MB / 0.9539 GB, free: 63.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.024e-06/2.313, allocations: 0 / 0.9539 GB, free: 63.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.285e-05/2.313, allocations: 23.94 kB / 0.9539 GB, free: 63.41 MB / 0.5261 GB 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.002628/2.316, allocations: 0.8962 MB / 0.9547 GB, free: 62.47 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/2.316, allocations: 8.031 kB / 0.9548 GB, free: 62.46 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001959/2.316, allocations: 98.5 kB / 0.9549 GB, free: 62.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005254/2.316, allocations: 83.16 kB / 0.9549 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/2.318, allocations: 0.5558 MB / 0.9555 GB, free: 61.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/2.318, allocations: 100.4 kB / 0.9556 GB, free: 61.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/2.318, allocations: 52 kB / 0.9556 GB, free: 61.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/2.32, allocations: 0.7882 MB / 0.9564 GB, free: 60.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/2.32, allocations: 3.938 kB / 0.9564 GB, free: 60.65 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/2.32, allocations: 27.98 kB / 0.9564 GB, free: 60.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.24e-05/2.32, allocations: 44.92 kB / 0.9565 GB, free: 60.58 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/2.322, allocations: 0.6109 MB / 0.9571 GB, free: 59.97 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006449/2.328, allocations: 3.656 MB / 0.9606 GB, free: 56.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/2.329, allocations: 392.6 kB / 0.961 GB, free: 55.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004244/2.33, allocations: 201.5 kB / 0.9612 GB, free: 55.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006389/2.33, allocations: 0.7327 MB / 0.9619 GB, free: 54.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/2.331, allocations: 42.89 kB / 0.962 GB, free: 54.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 4.037e-06/2.331, allocations: 3.984 kB / 0.962 GB, free: 54.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.00424/2.335, allocations: 1.362 MB / 0.9633 GB, free: 53.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/2.335, allocations: 132.5 kB / 0.9634 GB, free: 52.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008584/2.336, allocations: 0.4969 MB / 0.9639 GB, free: 52.45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/2.336, allocations: 37.7 kB / 0.9639 GB, free: 52.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/2.336, allocations: 355 kB / 0.9643 GB, free: 52.06 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/2.336, allocations: 165.7 kB / 0.9644 GB, free: 51.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/2.336, allocations: 12 kB / 0.9644 GB, free: 51.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001242/2.337, allocations: 374.8 kB / 0.9648 GB, free: 51.51 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/2.337, allocations: 205.5 kB / 0.965 GB, free: 51.31 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006398/2.338, allocations: 0.4931 MB / 0.9655 GB, free: 50.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006529/2.338, allocations: 293.4 kB / 0.9658 GB, free: 50.39 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/2.338, allocations: 8 kB / 0.9658 GB, free: 50.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002303/2.341, allocations: 0.848 MB / 0.9666 GB, free: 49.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/2.341, allocations: 16.03 kB / 0.9666 GB, free: 49.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/2.341, allocations: 8 kB / 0.9666 GB, free: 49.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00219/2.343, allocations: 272.6 kB / 0.9669 GB, free: 49.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007956/2.344, allocations: 123.8 kB / 0.967 GB, free: 49.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/2.345, allocations: 0.8758 MB / 0.9678 GB, free: 48.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/2.346, allocations: 51.94 kB / 0.9679 GB, free: 48.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/2.346, allocations: 40 kB / 0.9679 GB, free: 48.12 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002335/2.347, allocations: 163.5 kB / 0.9681 GB, free: 47.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/2.347, allocations: 67.2 kB / 0.9682 GB, free: 47.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/2.349, allocations: 0.7486 MB / 0.9689 GB, free: 47.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/2.349, allocations: 8 kB / 0.9689 GB, free: 47.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/2.349, allocations: 7.938 kB / 0.9689 GB, free: 47.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/2.349, allocations: 4 kB / 0.9689 GB, free: 47.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00284/2.351, allocations: 1.387 MB / 0.9703 GB, free: 45.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/2.352, allocations: 0 / 0.9703 GB, free: 45.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/2.354, allocations: 200 kB / 0.9705 GB, free: 45.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001352/2.354, allocations: 24.84 kB / 0.9705 GB, free: 45.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.386e-05/2.354, allocations: 19.98 kB / 0.9705 GB, free: 45.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/2.356, allocations: 2.684 MB / 0.9731 GB, free: 42.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/2.356, allocations: 0 / 0.9731 GB, free: 42.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/2.358, allocations: 1.045 MB / 0.9741 GB, free: 41.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004716/2.358, allocations: 208.2 kB / 0.9743 GB, free: 41.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/2.359, allocations: 16.06 kB / 0.9743 GB, free: 41.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008277/2.359, allocations: 27.98 kB / 0.9744 GB, free: 41.01 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/2.36, allocations: 39.89 kB / 0.9744 GB, free: 40.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.466e-05/2.36, allocations: 27.97 kB / 0.9744 GB, free: 40.94 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006899/2.36, allocations: 399.2 kB / 0.9748 GB, free: 40.55 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.81e-07/2.36, allocations: 0 / 0.9748 GB, free: 40.55 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00135/2.362, allocations: 243.9 kB / 0.9751 GB, free: 40.31 MB / 0.5261 GB 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 (47): * Single equations (assignments): 43 * 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.00298/2.365, allocations: 2.276 MB / 0.9773 GB, free: 37.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001887/2.367, allocations: 0.5631 MB / 0.9778 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/2.367, allocations: 3.938 kB / 0.9778 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/2.368, allocations: 421.5 kB / 0.9782 GB, free: 36.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/2.371, allocations: 314 kB / 0.9785 GB, free: 36.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/2.375, allocations: 1.176 MB / 0.9797 GB, free: 35.43 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/2.375, allocations: 0.9466 MB / 0.9806 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001262/2.376, allocations: 217.7 kB / 0.9808 GB, free: 34.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004468/2.377, allocations: 235.3 kB / 0.981 GB, free: 34.01 MB / 0.5261 GB Notification: Performance of SimCode: time 1.292e-06/2.377, allocations: 4 kB / 0.981 GB, free: 34.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08603/2.463, allocations: 22.24 MB / 1.003 GB, free: 12 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002986/2.463, allocations: 245.9 kB / 1.003 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.347/5.81, allocations: 0 / 1.003 GB, free: 11.67 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat