Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.064/2.064, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.997e-05/4.012e-05, allocations: 0 / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1455, allocations: 48.7 MB / 321.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.168, allocations: 290.7 MB / 0.5982 GB, free: 56.87 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/1.168, allocations: 82.89 kB / 0.5983 GB, free: 56.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7925/1.96, allocations: 150.5 MB / 0.7452 GB, free: 76.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.974e-06/1.96, allocations: 0 / 0.7452 GB, free: 76.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.859e-05/1.961, allocations: 24 kB / 0.7453 GB, free: 76.43 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002873/1.963, allocations: 1.07 MB / 0.7463 GB, free: 75.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.963, allocations: 8.031 kB / 0.7463 GB, free: 75.31 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002253/1.964, allocations: 139.1 kB / 0.7464 GB, free: 75.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006453/1.964, allocations: 115 kB / 0.7465 GB, free: 75.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/1.966, allocations: 0.6371 MB / 0.7472 GB, free: 74.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/1.966, allocations: 248.2 kB / 0.7474 GB, free: 74.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/1.966, allocations: 76 kB / 0.7475 GB, free: 74.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/1.969, allocations: 1.258 MB / 0.7487 GB, free: 72.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.963e-05/1.969, allocations: 3.938 kB / 0.7487 GB, free: 72.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/1.969, allocations: 48 kB / 0.7488 GB, free: 72.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.241e-05/1.969, allocations: 41.23 kB / 0.7488 GB, free: 72.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/1.972, allocations: 0.9027 MB / 0.7497 GB, free: 71.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008612/1.98, allocations: 6.545 MB / 0.7561 GB, free: 64.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006291/1.981, allocations: 272.5 kB / 0.7563 GB, free: 64.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/1.981, allocations: 149.5 kB / 0.7565 GB, free: 64.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003489/1.985, allocations: 3.105 MB / 0.7595 GB, free: 60.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/1.985, allocations: 42.56 kB / 0.7595 GB, free: 60.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 2.484e-06/1.985, allocations: 0 / 0.7595 GB, free: 60.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.002634/1.987, allocations: 0.8493 MB / 0.7604 GB, free: 59.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/1.988, allocations: 59.41 kB / 0.7604 GB, free: 59.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/1.989, allocations: 0.6989 MB / 0.7611 GB, free: 58.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/1.989, allocations: 29.7 kB / 0.7611 GB, free: 58.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003798/1.989, allocations: 0.673 MB / 0.7618 GB, free: 58.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.642e-05/1.989, allocations: 110.7 kB / 0.7619 GB, free: 58.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/1.989, allocations: 28 kB / 0.7619 GB, free: 58.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/1.989, allocations: 362.8 kB / 0.7623 GB, free: 57.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004994/1.99, allocations: 214.6 kB / 0.7625 GB, free: 57.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000889/1.991, allocations: 1.045 MB / 0.7635 GB, free: 56.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008767/1.992, allocations: 451.4 kB / 0.7639 GB, free: 55.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-05/1.992, allocations: 8 kB / 0.7639 GB, free: 55.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002331/1.994, allocations: 1.189 MB / 0.7651 GB, free: 54.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/1.994, allocations: 16 kB / 0.7651 GB, free: 54.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/1.994, allocations: 28.09 kB / 0.7651 GB, free: 54.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.648e-05/1.994, allocations: 48 kB / 0.7652 GB, free: 54.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/1.996, allocations: 299.4 kB / 0.7655 GB, free: 54.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.017e-05/1.996, allocations: 59.78 kB / 0.7655 GB, free: 53.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/1.997, allocations: 67.84 kB / 0.7656 GB, free: 53.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/1.997, allocations: 91.92 kB / 0.7657 GB, free: 53.8 MB / 426.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.0002381/1.997, allocations: 212 kB / 0.7659 GB, free: 53.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/1.998, allocations: 79.28 kB / 0.766 GB, free: 53.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008931/1.998, allocations: 329.9 kB / 0.7663 GB, free: 53.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/1.998, allocations: 11.92 kB / 0.7663 GB, free: 53.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.998, allocations: 3.953 kB / 0.7663 GB, free: 53.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/1.999, allocations: 0 / 0.7663 GB, free: 53.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/2, allocations: 0.8916 MB / 0.7672 GB, free: 52.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/2, allocations: 0 / 0.7672 GB, free: 52.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004396/2.001, allocations: 55.91 kB / 0.7672 GB, free: 52.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/2.001, allocations: 4 kB / 0.7672 GB, free: 52.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/2.001, allocations: 11.95 kB / 0.7672 GB, free: 52.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/2.001, allocations: 3.984 kB / 0.7672 GB, free: 52.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/2.001, allocations: 0 / 0.7672 GB, free: 52.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008213/2.002, allocations: 0.5356 MB / 0.7678 GB, free: 51.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002878/2.002, allocations: 176 kB / 0.7679 GB, free: 51.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/2.002, allocations: 4 kB / 0.7679 GB, free: 51.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005576/2.003, allocations: 19.98 kB / 0.768 GB, free: 51.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/2.003, allocations: 16.05 kB / 0.768 GB, free: 51.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.013e-05/2.003, allocations: 19.98 kB / 0.768 GB, free: 51.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008156/2.003, allocations: 491.1 kB / 0.7685 GB, free: 50.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.81e-07/2.003, allocations: 0 / 0.7685 GB, free: 50.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001556/2.005, allocations: 287.8 kB / 0.7687 GB, free: 50.56 MB / 426.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.001877/2.007, allocations: 1.494 MB / 0.7702 GB, free: 49.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001433/2.008, allocations: 0.6047 MB / 0.7708 GB, free: 48.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/2.008, allocations: 0 / 0.7708 GB, free: 48.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/2.009, allocations: 111.8 kB / 0.7709 GB, free: 48.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/2.011, allocations: 246.3 kB / 0.7711 GB, free: 48.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003448/2.014, allocations: 1.281 MB / 0.7724 GB, free: 46.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/2.015, allocations: 1.008 MB / 0.7734 GB, free: 45.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005173/2.015, allocations: 291.3 kB / 0.7736 GB, free: 45.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.373e-06/2.015, allocations: 0 / 0.7736 GB, free: 45.43 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.046/5.061, allocations: 16.38 MB / 0.7896 GB, free: 29.07 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat does not exist to compare? outputFormat=mat