Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.546/2.546, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.021e-05/4.025e-05, allocations: 7.234 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1398, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.184/1.323, allocations: 303.1 MB / 0.6968 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/1.324, allocations: 84.45 kB / 0.6969 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8731/2.197, allocations: 155.2 MB / 0.8484 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.713e-06/2.197, allocations: 0 / 0.8484 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.549e-05/2.197, allocations: 27.7 kB / 0.8485 GB, free: 138.1 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.003342/2.2, allocations: 1.069 MB / 0.8495 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/2.201, allocations: 9.156 kB / 0.8495 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003213/2.201, allocations: 133.5 kB / 0.8496 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007351/2.202, allocations: 118.7 kB / 0.8497 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/2.203, allocations: 0.6237 MB / 0.8504 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002093/2.204, allocations: 257.4 kB / 0.8506 GB, free: 137 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/2.204, allocations: 73.25 kB / 0.8507 GB, free: 137 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/2.207, allocations: 1.254 MB / 0.8519 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/2.207, allocations: 7.031 kB / 0.8519 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/2.207, allocations: 37.22 kB / 0.8519 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-05/2.207, allocations: 37.94 kB / 0.852 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/2.209, allocations: 0.8854 MB / 0.8528 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008785/2.218, allocations: 6.584 MB / 0.8593 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006798/2.219, allocations: 295.6 kB / 0.8595 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003527/2.219, allocations: 167.3 kB / 0.8597 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003203/2.223, allocations: 2.874 MB / 0.8625 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/2.223, allocations: 45.02 kB / 0.8626 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.925e-06/2.223, allocations: 0 / 0.8626 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.003009/2.226, allocations: 1.01 MB / 0.8635 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/2.226, allocations: 57.38 kB / 0.8636 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/2.227, allocations: 0.7574 MB / 0.8643 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.994e-05/2.227, allocations: 32.2 kB / 0.8644 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004221/2.228, allocations: 0.5719 MB / 0.8649 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/2.228, allocations: 139.1 kB / 0.8651 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.094e-05/2.228, allocations: 27.72 kB / 0.8651 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000152/2.228, allocations: 403.1 kB / 0.8655 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005468/2.228, allocations: 231.5 kB / 0.8657 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/2.229, allocations: 0.9337 MB / 0.8666 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008622/2.23, allocations: 430.7 kB / 0.867 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-05/2.23, allocations: 10.62 kB / 0.867 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002422/2.233, allocations: 1.114 MB / 0.8681 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/2.233, allocations: 21.12 kB / 0.8681 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/2.233, allocations: 23.31 kB / 0.8682 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.669e-05/2.233, allocations: 38.06 kB / 0.8682 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/2.234, allocations: 279.5 kB / 0.8685 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.073e-05/2.235, allocations: 50.84 kB / 0.8685 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/2.236, allocations: 71.38 kB / 0.8686 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/2.236, allocations: 75.16 kB / 0.8686 GB, free: 126.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002844/2.236, allocations: 207.6 kB / 0.8688 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/2.237, allocations: 98.64 kB / 0.8689 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/2.238, allocations: 467.8 kB / 0.8694 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/2.238, allocations: 3.969 kB / 0.8694 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/2.238, allocations: 0 / 0.8694 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/2.238, allocations: 2.672 kB / 0.8694 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/2.24, allocations: 1.223 MB / 0.8706 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/2.24, allocations: 3.938 kB / 0.8706 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000554/2.241, allocations: 66.62 kB / 0.8707 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/2.241, allocations: 6.438 kB / 0.8707 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/2.241, allocations: 17.36 kB / 0.8707 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/2.241, allocations: 0 / 0.8707 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/2.241, allocations: 7.672 kB / 0.8707 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/2.242, allocations: 0.7064 MB / 0.8714 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004537/2.242, allocations: 202.6 kB / 0.8716 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/2.243, allocations: 15.47 kB / 0.8716 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008164/2.243, allocations: 30.27 kB / 0.8716 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/2.244, allocations: 36.19 kB / 0.8716 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-05/2.244, allocations: 27.8 kB / 0.8717 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001081/2.245, allocations: 0.5689 MB / 0.8722 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.11e-07/2.245, allocations: 0 / 0.8722 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001884/2.247, allocations: 314.1 kB / 0.8725 GB, free: 125.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002461/2.249, allocations: 1.988 MB / 0.8745 GB, free: 124 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001423/2.251, allocations: 0.5855 MB / 0.875 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/2.251, allocations: 3.812 kB / 0.875 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002958/2.251, allocations: 135.4 kB / 0.8752 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/2.254, allocations: 374 kB / 0.8755 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003986/2.258, allocations: 1.325 MB / 0.8768 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005927/2.259, allocations: 1.011 MB / 0.8778 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001721/2.26, allocations: 319.8 kB / 0.8781 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005103/2.261, allocations: 308.6 kB / 0.8784 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.182e-06/2.261, allocations: 0 / 0.8784 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07181/2.333, allocations: 25.07 MB / 0.9029 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/2.333, allocations: 220.2 kB / 0.9031 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.701/6.034, allocations: 0 / 0.9031 GB, free: 119.4 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat does not exist to compare? outputFormat=mat