Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.282/2.282, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.531e-05/3.537e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1318, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.679/1.811, allocations: 430.4 MB / 0.8211 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003435/1.811, allocations: 94.53 kB / 0.8212 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.4512/2.263, allocations: 135.9 MB / 0.9539 GB, free: 63.51 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.255e-06/2.263, allocations: 4 kB / 0.9539 GB, free: 63.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.068e-05/2.263, allocations: 23.94 kB / 0.9539 GB, free: 63.48 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.002463/2.265, allocations: 0.9028 MB / 0.9548 GB, free: 62.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/2.265, allocations: 8.031 kB / 0.9548 GB, free: 62.53 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001832/2.266, allocations: 98.5 kB / 0.9549 GB, free: 62.42 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004999/2.266, allocations: 87.14 kB / 0.9549 GB, free: 62.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/2.268, allocations: 0.548 MB / 0.9555 GB, free: 61.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/2.268, allocations: 104.4 kB / 0.9556 GB, free: 61.63 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/2.268, allocations: 48 kB / 0.9556 GB, free: 61.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/2.269, allocations: 0.7882 MB / 0.9564 GB, free: 60.73 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/2.27, allocations: 3.938 kB / 0.9564 GB, free: 60.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/2.27, allocations: 27.98 kB / 0.9564 GB, free: 60.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-05/2.27, allocations: 36.98 kB / 0.9565 GB, free: 60.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/2.271, allocations: 0.6148 MB / 0.9571 GB, free: 60.05 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005971/2.277, allocations: 3.663 MB / 0.9606 GB, free: 56.17 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/2.278, allocations: 394.6 kB / 0.961 GB, free: 55.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004219/2.279, allocations: 197.5 kB / 0.9612 GB, free: 55.58 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006046/2.279, allocations: 0.7366 MB / 0.9619 GB, free: 54.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/2.279, allocations: 38.89 kB / 0.962 GB, free: 54.63 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 3.216e-06/2.279, allocations: 4 kB / 0.962 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.004151/2.284, allocations: 1.358 MB / 0.9633 GB, free: 53.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/2.284, allocations: 148.5 kB / 0.9634 GB, free: 53.02 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008348/2.284, allocations: 496.9 kB / 0.9639 GB, free: 52.52 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.49e-05/2.285, allocations: 33.7 kB / 0.9639 GB, free: 52.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/2.285, allocations: 359 kB / 0.9643 GB, free: 52.13 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/2.285, allocations: 161.7 kB / 0.9644 GB, free: 51.97 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/2.285, allocations: 16 kB / 0.9644 GB, free: 51.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001166/2.285, allocations: 370.8 kB / 0.9648 GB, free: 51.58 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/2.286, allocations: 201.5 kB / 0.965 GB, free: 51.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006494/2.286, allocations: 0.497 MB / 0.9655 GB, free: 50.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006711/2.287, allocations: 301.4 kB / 0.9658 GB, free: 50.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/2.287, allocations: 4 kB / 0.9658 GB, free: 50.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002282/2.289, allocations: 0.8517 MB / 0.9666 GB, free: 49.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/2.289, allocations: 15.75 kB / 0.9666 GB, free: 49.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/2.289, allocations: 16.14 kB / 0.9666 GB, free: 49.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002147/2.292, allocations: 272.6 kB / 0.9669 GB, free: 49.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007677/2.292, allocations: 123.8 kB / 0.967 GB, free: 49.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/2.294, allocations: 0.8723 MB / 0.9679 GB, free: 48.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009976/2.295, allocations: 43.95 kB / 0.9679 GB, free: 48.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.962e-05/2.295, allocations: 43.98 kB / 0.9679 GB, free: 48.19 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.0002256/2.295, allocations: 155.7 kB / 0.9681 GB, free: 48.03 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/2.295, allocations: 71.2 kB / 0.9682 GB, free: 47.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/2.297, allocations: 0.7486 MB / 0.9689 GB, free: 47.18 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/2.297, allocations: 4 kB / 0.9689 GB, free: 47.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/2.297, allocations: 7.938 kB / 0.9689 GB, free: 47.17 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/2.297, allocations: 3.984 kB / 0.9689 GB, free: 47.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/2.3, allocations: 1.391 MB / 0.9703 GB, free: 45.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/2.3, allocations: 0 / 0.9703 GB, free: 45.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002045/2.302, allocations: 199.8 kB / 0.9705 GB, free: 45.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000131/2.302, allocations: 29.03 kB / 0.9705 GB, free: 45.45 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.645e-05/2.302, allocations: 15.98 kB / 0.9705 GB, free: 45.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/2.304, allocations: 2.692 MB / 0.9731 GB, free: 42.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/2.304, allocations: 0 / 0.9731 GB, free: 42.47 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/2.306, allocations: 1.037 MB / 0.9741 GB, free: 41.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004527/2.307, allocations: 204.2 kB / 0.9743 GB, free: 41.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/2.307, allocations: 19.94 kB / 0.9744 GB, free: 41.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008187/2.308, allocations: 36.03 kB / 0.9744 GB, free: 41.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/2.308, allocations: 35.89 kB / 0.9744 GB, free: 41.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-05/2.308, allocations: 19.98 kB / 0.9744 GB, free: 41.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006787/2.309, allocations: 403.2 kB / 0.9748 GB, free: 40.62 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.31e-07/2.309, allocations: 0 / 0.9748 GB, free: 40.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001367/2.31, allocations: 243.9 kB / 0.9751 GB, free: 40.38 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.002939/2.313, allocations: 2.273 MB / 0.9773 GB, free: 38.02 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001762/2.315, allocations: 0.5631 MB / 0.9778 GB, free: 37.46 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/2.315, allocations: 8 kB / 0.9778 GB, free: 37.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/2.316, allocations: 421.5 kB / 0.9782 GB, free: 37.03 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/2.319, allocations: 317.9 kB / 0.9785 GB, free: 36.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004163/2.323, allocations: 1.168 MB / 0.9797 GB, free: 35.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006494/2.324, allocations: 0.9505 MB / 0.9806 GB, free: 34.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001634/2.326, allocations: 217.7 kB / 0.9808 GB, free: 34.31 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006207/2.326, allocations: 239.3 kB / 0.981 GB, free: 34.07 MB / 0.5261 GB Notification: Performance of SimCode: time 1.884e-06/2.326, allocations: 0 / 0.981 GB, free: 34.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08241/2.409, allocations: 22.25 MB / 1.003 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/2.409, allocations: 245.5 kB / 1.003 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.386/5.795, allocations: 0 / 1.003 GB, free: 11.74 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat