Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.421/2.421, allocations: 235 MB / 247.6 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.17e-05/4.177e-05, allocations: 7.984 kB / 305 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4027, allocations: 54.85 MB / 359.9 MB, free: 2.605 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7799/1.183, allocations: 297.1 MB / 0.6416 GB, free: 35.08 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/1.183, allocations: 86.38 kB / 0.6417 GB, free: 35.04 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8648/2.048, allocations: 150.5 MB / 0.7887 GB, free: 124.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.983e-06/2.048, allocations: 0 / 0.7887 GB, free: 124.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.052e-05/2.048, allocations: 27.83 kB / 0.7887 GB, free: 124.4 MB / 490.7 MB 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.003065/2.051, allocations: 1.07 MB / 0.7897 GB, free: 123.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/2.051, allocations: 8.031 kB / 0.7897 GB, free: 123.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002453/2.051, allocations: 139.1 kB / 0.7899 GB, free: 123.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006687/2.052, allocations: 118.9 kB / 0.79 GB, free: 123 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/2.054, allocations: 0.627 MB / 0.7906 GB, free: 122.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/2.054, allocations: 250.6 kB / 0.7908 GB, free: 122.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/2.054, allocations: 83.89 kB / 0.7909 GB, free: 122 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002583/2.057, allocations: 1.242 MB / 0.7921 GB, free: 120.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.102e-05/2.057, allocations: 7.938 kB / 0.7921 GB, free: 120.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/2.057, allocations: 47.86 kB / 0.7922 GB, free: 120.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.091e-05/2.057, allocations: 37.25 kB / 0.7922 GB, free: 120.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002195/2.059, allocations: 0.8808 MB / 0.7931 GB, free: 119.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008683/2.068, allocations: 6.536 MB / 0.7995 GB, free: 112.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/2.069, allocations: 267.9 kB / 0.7997 GB, free: 112.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/2.069, allocations: 150.7 kB / 0.7999 GB, free: 112.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003585/2.073, allocations: 3.107 MB / 0.8029 GB, free: 108.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/2.073, allocations: 38.56 kB / 0.8029 GB, free: 108.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 2.184e-06/2.073, allocations: 0 / 0.8029 GB, free: 108.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.002452/2.075, allocations: 0.8632 MB / 0.8038 GB, free: 107.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/2.075, allocations: 55.41 kB / 0.8038 GB, free: 107.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/2.076, allocations: 0.6989 MB / 0.8045 GB, free: 107 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/2.077, allocations: 29.7 kB / 0.8045 GB, free: 107 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/2.077, allocations: 0.6702 MB / 0.8052 GB, free: 106.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.082e-05/2.077, allocations: 110 kB / 0.8053 GB, free: 106.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.602e-05/2.077, allocations: 28 kB / 0.8053 GB, free: 106.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/2.077, allocations: 362.8 kB / 0.8057 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/2.078, allocations: 218.5 kB / 0.8059 GB, free: 105.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008896/2.079, allocations: 1.027 MB / 0.8069 GB, free: 104.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008547/2.08, allocations: 451.4 kB / 0.8073 GB, free: 103.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.661e-05/2.08, allocations: 8 kB / 0.8073 GB, free: 103.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002305/2.082, allocations: 1.112 MB / 0.8084 GB, free: 102.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/2.082, allocations: 16 kB / 0.8084 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-05/2.082, allocations: 36.34 kB / 0.8084 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.648e-05/2.082, allocations: 44 kB / 0.8085 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/2.083, allocations: 295.4 kB / 0.8088 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.351e-05/2.084, allocations: 63.72 kB / 0.8088 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/2.085, allocations: 71.89 kB / 0.8089 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/2.085, allocations: 80 kB / 0.809 GB, free: 102 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * 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 (163): * Single equations (assignments): 163 * 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.0002399/2.085, allocations: 216.2 kB / 0.8092 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/2.085, allocations: 87.02 kB / 0.8093 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009214/2.086, allocations: 335.8 kB / 0.8096 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/2.086, allocations: 4 kB / 0.8096 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/2.086, allocations: 0 / 0.8096 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/2.086, allocations: 0 / 0.8096 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/2.088, allocations: 0.8921 MB / 0.8105 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/2.088, allocations: 0 / 0.8105 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004598/2.089, allocations: 63.91 kB / 0.8105 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/2.089, allocations: 0 / 0.8105 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/2.089, allocations: 11.98 kB / 0.8105 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.85e-06/2.089, allocations: 0 / 0.8105 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/2.089, allocations: 0 / 0.8105 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008501/2.09, allocations: 0.5319 MB / 0.8111 GB, free: 99.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/2.09, allocations: 176.1 kB / 0.8112 GB, free: 99.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/2.09, allocations: 8 kB / 0.8112 GB, free: 99.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005956/2.091, allocations: 16.05 kB / 0.8112 GB, free: 99.53 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/2.091, allocations: 27.91 kB / 0.8113 GB, free: 99.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-05/2.091, allocations: 15.95 kB / 0.8113 GB, free: 99.49 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008503/2.092, allocations: 491.1 kB / 0.8118 GB, free: 99.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.91e-07/2.092, allocations: 0 / 0.8118 GB, free: 99.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001684/2.093, allocations: 287.9 kB / 0.812 GB, free: 98.73 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (29): * Single equations (assignments): 27 * 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.001895/2.095, allocations: 1.49 MB / 0.8135 GB, free: 97.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00138/2.097, allocations: 0.5681 MB / 0.814 GB, free: 96.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/2.097, allocations: 0 / 0.814 GB, free: 96.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002196/2.097, allocations: 111.8 kB / 0.8141 GB, free: 96.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/2.099, allocations: 253.9 kB / 0.8144 GB, free: 96.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/2.102, allocations: 1.275 MB / 0.8156 GB, free: 95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/2.103, allocations: 1.004 MB / 0.8166 GB, free: 93.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004949/2.104, allocations: 295.3 kB / 0.8169 GB, free: 93.68 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/2.104, allocations: 0 / 0.8169 GB, free: 93.68 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.243/5.347, allocations: 16.3 MB / 0.8328 GB, free: 77.39 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat does not exist to compare? outputFormat=mat