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.054/2.054, allocations: 209.4 MB / 216.9 MB, free: 6.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.495e-05/2.497e-05, allocations: 4 kB / 267.6 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.171, allocations: 48.7 MB / 316.3 MB, free: 4.547 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9833/1.154, allocations: 290.3 MB / 0.5924 GB, free: 32.71 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/1.155, allocations: 80.27 kB / 0.5925 GB, free: 32.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7931/1.948, allocations: 148.9 MB / 0.7379 GB, free: 75.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.444e-06/1.948, allocations: 0 / 0.7379 GB, free: 75.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.098e-05/1.948, allocations: 23.94 kB / 0.738 GB, free: 75.27 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.003676/1.952, allocations: 1.072 MB / 0.739 GB, free: 74.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/1.952, allocations: 15.97 kB / 0.739 GB, free: 74.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007127/1.952, allocations: 115 kB / 0.7391 GB, free: 74.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/1.954, allocations: 0.628 MB / 0.7397 GB, free: 73.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/1.954, allocations: 224.2 kB / 0.74 GB, free: 73.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/1.954, allocations: 44 kB / 0.74 GB, free: 73.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001974/1.956, allocations: 0.8004 MB / 0.7408 GB, free: 72.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/1.959, allocations: 1.141 MB / 0.7419 GB, free: 70.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/1.959, allocations: 7.938 kB / 0.7419 GB, free: 70.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/1.959, allocations: 4 kB / 0.7419 GB, free: 70.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.039e-05/1.959, allocations: 45.25 kB / 0.7419 GB, free: 70.94 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008386/1.967, allocations: 6.731 MB / 0.7485 GB, free: 63.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/1.968, allocations: 242.4 kB / 0.7487 GB, free: 63.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/1.968, allocations: 124.7 kB / 0.7489 GB, free: 63.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002956/1.971, allocations: 2.724 MB / 0.7515 GB, free: 60.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/1.971, allocations: 42.5 kB / 0.7516 GB, free: 60.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 2.344e-06/1.971, allocations: 0 / 0.7516 GB, free: 60.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.002355/1.973, allocations: 0.8022 MB / 0.7524 GB, free: 59.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/1.974, allocations: 67.3 kB / 0.7524 GB, free: 59.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/1.975, allocations: 0.6555 MB / 0.7531 GB, free: 58.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/1.975, allocations: 25.7 kB / 0.7531 GB, free: 58.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/1.975, allocations: 0.6615 MB / 0.7537 GB, free: 57.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.344e-05/1.975, allocations: 118.6 kB / 0.7538 GB, free: 57.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/1.975, allocations: 0 / 0.7538 GB, free: 57.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/1.975, allocations: 362.8 kB / 0.7542 GB, free: 57.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003992/1.976, allocations: 190.6 kB / 0.7544 GB, free: 57.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007772/1.976, allocations: 1.012 MB / 0.7554 GB, free: 55.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009751/1.977, allocations: 431.4 kB / 0.7558 GB, free: 55.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.6e-05/1.977, allocations: 8 kB / 0.7558 GB, free: 55.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002218/1.98, allocations: 1.018 MB / 0.7568 GB, free: 54.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/1.98, allocations: 19.98 kB / 0.7568 GB, free: 54.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.22e-05/1.98, allocations: 32 kB / 0.7568 GB, free: 54.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.569e-05/1.98, allocations: 44.06 kB / 0.7569 GB, free: 54.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/1.981, allocations: 295.4 kB / 0.7571 GB, free: 54.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.956e-05/1.981, allocations: 55.8 kB / 0.7572 GB, free: 53.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/1.983, allocations: 51.78 kB / 0.7572 GB, free: 53.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/1.983, allocations: 76 kB / 0.7573 GB, free: 53.83 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.0002163/1.983, allocations: 184.3 kB / 0.7575 GB, free: 53.64 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006818/1.984, allocations: 248.6 kB / 0.7577 GB, free: 53.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/1.984, allocations: 79.06 kB / 0.7578 GB, free: 53.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009585/1.985, allocations: 331.1 kB / 0.7581 GB, free: 52.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-06/1.985, allocations: 0 / 0.7581 GB, free: 52.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/1.985, allocations: 11.94 kB / 0.7581 GB, free: 52.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.985, allocations: 0 / 0.7581 GB, free: 52.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/1.986, allocations: 0.8116 MB / 0.7589 GB, free: 52.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.986, allocations: 0 / 0.7589 GB, free: 52.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004651/1.987, allocations: 55.97 kB / 0.759 GB, free: 52.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/1.987, allocations: 4 kB / 0.759 GB, free: 52.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/1.987, allocations: 7.938 kB / 0.759 GB, free: 52.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/1.987, allocations: 7.938 kB / 0.759 GB, free: 52.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/1.987, allocations: 3.984 kB / 0.759 GB, free: 52.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009007/1.988, allocations: 0.5204 MB / 0.7595 GB, free: 51.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002695/1.988, allocations: 176.1 kB / 0.7597 GB, free: 51.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/1.988, allocations: 4 kB / 0.7597 GB, free: 51.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005459/1.989, allocations: 19.95 kB / 0.7597 GB, free: 51.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/1.989, allocations: 11.98 kB / 0.7597 GB, free: 51.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/1.989, allocations: 23.98 kB / 0.7597 GB, free: 51.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006641/1.99, allocations: 447.1 kB / 0.7602 GB, free: 50.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.463e-06/1.99, allocations: 3.938 kB / 0.7602 GB, free: 50.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001588/1.991, allocations: 258.8 kB / 0.7604 GB, free: 50.55 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.001889/1.993, allocations: 1.466 MB / 0.7618 GB, free: 49.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00114/1.994, allocations: 0.5364 MB / 0.7624 GB, free: 48.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.994, allocations: 2.438 kB / 0.7624 GB, free: 48.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001901/1.995, allocations: 103.8 kB / 0.7625 GB, free: 48.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/1.996, allocations: 246.9 kB / 0.7627 GB, free: 48.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/2, allocations: 1.223 MB / 0.7639 GB, free: 46.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/2, allocations: 1.004 MB / 0.7649 GB, free: 45.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004854/2.001, allocations: 295.3 kB / 0.7652 GB, free: 45.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.352e-06/2.001, allocations: 0 / 0.7652 GB, free: 45.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.98/4.981, allocations: 16.23 MB / 0.781 GB, free: 29.37 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