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 1.936/1.936, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.515e-05/3.519e-05, allocations: 4 kB / 273.2 MB, free: 0.625 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1143, allocations: 48.69 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.169/1.284, allocations: 290.7 MB / 0.5982 GB, free: 56.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003871/1.284, allocations: 82.89 kB / 0.5983 GB, free: 56.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7815/2.066, allocations: 150.5 MB / 0.7453 GB, free: 76.19 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.773e-06/2.066, allocations: 4 kB / 0.7453 GB, free: 76.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.891e-05/2.066, allocations: 27.98 kB / 0.7453 GB, free: 76.16 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.003547/2.069, allocations: 1.07 MB / 0.7463 GB, free: 75.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/2.069, allocations: 8.031 kB / 0.7463 GB, free: 75.04 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003997/2.07, allocations: 135.1 kB / 0.7465 GB, free: 74.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007317/2.071, allocations: 115 kB / 0.7466 GB, free: 74.78 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/2.073, allocations: 0.6371 MB / 0.7472 GB, free: 74.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/2.073, allocations: 248.2 kB / 0.7474 GB, free: 73.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002433/2.073, allocations: 79.98 kB / 0.7475 GB, free: 73.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002838/2.076, allocations: 1.243 MB / 0.7487 GB, free: 72.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.469e-05/2.076, allocations: 7.938 kB / 0.7487 GB, free: 72.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002154/2.076, allocations: 43.98 kB / 0.7488 GB, free: 72.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.439e-05/2.076, allocations: 41.3 kB / 0.7488 GB, free: 72.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/2.079, allocations: 0.8807 MB / 0.7497 GB, free: 71.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009202/2.088, allocations: 6.53 MB / 0.7561 GB, free: 64.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006458/2.089, allocations: 268 kB / 0.7563 GB, free: 64.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/2.089, allocations: 153.5 kB / 0.7565 GB, free: 64.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00357/2.093, allocations: 3.109 MB / 0.7595 GB, free: 60.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/2.093, allocations: 38.56 kB / 0.7595 GB, free: 60.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 3.677e-06/2.093, allocations: 0 / 0.7595 GB, free: 60.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.002599/2.095, allocations: 0.8416 MB / 0.7604 GB, free: 59.49 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/2.095, allocations: 55.41 kB / 0.7604 GB, free: 59.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/2.097, allocations: 0.7106 MB / 0.7611 GB, free: 58.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.591e-05/2.097, allocations: 29.7 kB / 0.7611 GB, free: 58.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/2.097, allocations: 0.6694 MB / 0.7618 GB, free: 57.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/2.097, allocations: 110.7 kB / 0.7619 GB, free: 57.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-05/2.097, allocations: 31.88 kB / 0.7619 GB, free: 57.85 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/2.097, allocations: 362.8 kB / 0.7623 GB, free: 57.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005181/2.098, allocations: 214.6 kB / 0.7625 GB, free: 57.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008668/2.099, allocations: 1.039 MB / 0.7635 GB, free: 55.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008909/2.1, allocations: 439.4 kB / 0.7639 GB, free: 55.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/2.1, allocations: 12 kB / 0.7639 GB, free: 55.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002485/2.102, allocations: 1.111 MB / 0.765 GB, free: 54.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/2.102, allocations: 20 kB / 0.765 GB, free: 54.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.298e-05/2.102, allocations: 28 kB / 0.765 GB, free: 54.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.389e-05/2.103, allocations: 44 kB / 0.7651 GB, free: 54.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/2.104, allocations: 299.4 kB / 0.7654 GB, free: 53.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.154e-05/2.104, allocations: 55.8 kB / 0.7654 GB, free: 53.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/2.105, allocations: 76.27 kB / 0.7655 GB, free: 53.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/2.106, allocations: 83.98 kB / 0.7656 GB, free: 53.67 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.0002609/2.106, allocations: 216 kB / 0.7658 GB, free: 53.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/2.106, allocations: 75.06 kB / 0.7659 GB, free: 53.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008973/2.107, allocations: 341.9 kB / 0.7662 GB, free: 53.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/2.107, allocations: 4 kB / 0.7662 GB, free: 53.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/2.107, allocations: 3.953 kB / 0.7662 GB, free: 53.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/2.107, allocations: 7.984 kB / 0.7662 GB, free: 53.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/2.109, allocations: 0.8839 MB / 0.7671 GB, free: 52.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/2.109, allocations: 3.938 kB / 0.7671 GB, free: 52.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/2.109, allocations: 59.97 kB / 0.7671 GB, free: 52.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/2.109, allocations: 0 / 0.7671 GB, free: 52.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/2.109, allocations: 16.02 kB / 0.7671 GB, free: 52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/2.109, allocations: 0 / 0.7671 GB, free: 52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/2.109, allocations: 4 kB / 0.7671 GB, free: 52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009246/2.11, allocations: 0.524 MB / 0.7677 GB, free: 51.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/2.111, allocations: 180.1 kB / 0.7678 GB, free: 51.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/2.111, allocations: 11.98 kB / 0.7678 GB, free: 51.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00056/2.111, allocations: 15.94 kB / 0.7679 GB, free: 51.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/2.111, allocations: 19.97 kB / 0.7679 GB, free: 51.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/2.112, allocations: 15.98 kB / 0.7679 GB, free: 51.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008794/2.112, allocations: 487.1 kB / 0.7684 GB, free: 50.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.4e-07/2.112, allocations: 0 / 0.7684 GB, free: 50.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001864/2.114, allocations: 295.8 kB / 0.7686 GB, free: 50.42 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.001935/2.116, allocations: 1.495 MB / 0.7701 GB, free: 48.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001372/2.118, allocations: 0.5646 MB / 0.7706 GB, free: 48.33 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/2.118, allocations: 5.062 kB / 0.7707 GB, free: 48.33 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002308/2.118, allocations: 111.8 kB / 0.7708 GB, free: 48.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/2.12, allocations: 253.9 kB / 0.771 GB, free: 47.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/2.124, allocations: 1.273 MB / 0.7722 GB, free: 46.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/2.124, allocations: 1.012 MB / 0.7732 GB, free: 45.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005776/2.125, allocations: 295.3 kB / 0.7735 GB, free: 45.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/2.125, allocations: 0 / 0.7735 GB, free: 45.32 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.978/5.103, allocations: 16.31 MB / 0.7894 GB, free: 29.04 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