Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.524/2.524, allocations: 270 MB / 282.6 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.586e-05/3.613e-05, allocations: 7.938 kB / 347.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4223, allocations: 61.88 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8153/1.238, allocations: 303.1 MB / 0.6954 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/1.238, allocations: 82.2 kB / 0.6954 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8867/2.125, allocations: 155.2 MB / 0.847 GB, free: 89.52 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.284e-06/2.125, allocations: 0 / 0.847 GB, free: 89.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.335e-05/2.125, allocations: 23.94 kB / 0.8471 GB, free: 89.5 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.003019/2.128, allocations: 1.066 MB / 0.8481 GB, free: 88.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/2.128, allocations: 8.031 kB / 0.8481 GB, free: 88.38 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002507/2.128, allocations: 139.1 kB / 0.8482 GB, free: 88.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006631/2.129, allocations: 118.9 kB / 0.8483 GB, free: 88.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/2.131, allocations: 0.6119 MB / 0.8489 GB, free: 87.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/2.131, allocations: 256.2 kB / 0.8492 GB, free: 87.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/2.131, allocations: 76 kB / 0.8493 GB, free: 87.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/2.134, allocations: 1.248 MB / 0.8505 GB, free: 85.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.575e-05/2.134, allocations: 7.938 kB / 0.8505 GB, free: 85.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/2.134, allocations: 40 kB / 0.8505 GB, free: 85.67 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.169e-05/2.134, allocations: 41.23 kB / 0.8506 GB, free: 85.63 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/2.136, allocations: 0.8885 MB / 0.8514 GB, free: 84.74 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008735/2.145, allocations: 6.595 MB / 0.8579 GB, free: 77.79 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006973/2.146, allocations: 287.7 kB / 0.8582 GB, free: 77.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/2.146, allocations: 157.5 kB / 0.8583 GB, free: 77.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003186/2.149, allocations: 2.888 MB / 0.8611 GB, free: 73.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/2.149, allocations: 42.8 kB / 0.8612 GB, free: 73.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.555e-06/2.149, allocations: 0 / 0.8612 GB, free: 73.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.002878/2.152, allocations: 1.005 MB / 0.8621 GB, free: 72.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/2.152, allocations: 55.41 kB / 0.8622 GB, free: 72.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/2.153, allocations: 0.7618 MB / 0.8629 GB, free: 72.01 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.947e-05/2.154, allocations: 33.7 kB / 0.863 GB, free: 71.97 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/2.154, allocations: 0.6002 MB / 0.8636 GB, free: 71.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/2.154, allocations: 138.3 kB / 0.8637 GB, free: 71.22 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/2.154, allocations: 24 kB / 0.8637 GB, free: 71.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001103/2.154, allocations: 366.8 kB / 0.8641 GB, free: 70.83 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000537/2.155, allocations: 230.5 kB / 0.8643 GB, free: 70.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008518/2.156, allocations: 0.9363 MB / 0.8652 GB, free: 69.31 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008442/2.157, allocations: 435.4 kB / 0.8656 GB, free: 68.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/2.157, allocations: 8 kB / 0.8656 GB, free: 68.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002273/2.159, allocations: 1.075 MB / 0.8667 GB, free: 67.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/2.159, allocations: 16 kB / 0.8667 GB, free: 67.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-05/2.159, allocations: 24 kB / 0.8667 GB, free: 67.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.272e-05/2.159, allocations: 40.75 kB / 0.8667 GB, free: 67.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/2.16, allocations: 275.5 kB / 0.867 GB, free: 67.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-05/2.16, allocations: 51.8 kB / 0.8671 GB, free: 67.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/2.162, allocations: 67.83 kB / 0.8671 GB, free: 67.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/2.162, allocations: 79.98 kB / 0.8672 GB, free: 67.25 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.0002903/2.162, allocations: 208.2 kB / 0.8674 GB, free: 67.04 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/2.162, allocations: 87.19 kB / 0.8675 GB, free: 66.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/2.164, allocations: 483.4 kB / 0.8679 GB, free: 66.47 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/2.164, allocations: 7.922 kB / 0.868 GB, free: 66.46 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/2.164, allocations: 4 kB / 0.868 GB, free: 66.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/2.164, allocations: 3.938 kB / 0.868 GB, free: 66.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/2.166, allocations: 1.217 MB / 0.8691 GB, free: 65.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/2.166, allocations: 4 kB / 0.8692 GB, free: 65.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/2.166, allocations: 67.91 kB / 0.8692 GB, free: 65.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/2.166, allocations: 4 kB / 0.8692 GB, free: 65.05 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/2.166, allocations: 11.98 kB / 0.8692 GB, free: 65.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/2.166, allocations: 4 kB / 0.8692 GB, free: 65.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/2.166, allocations: 3.953 kB / 0.8692 GB, free: 65.03 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/2.168, allocations: 0.7086 MB / 0.8699 GB, free: 64.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004285/2.168, allocations: 203.9 kB / 0.8701 GB, free: 64.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/2.168, allocations: 11.98 kB / 0.8701 GB, free: 64.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007916/2.169, allocations: 19.91 kB / 0.8702 GB, free: 64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/2.169, allocations: 35.97 kB / 0.8702 GB, free: 63.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.57e-05/2.169, allocations: 27.97 kB / 0.8702 GB, free: 63.94 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00107/2.17, allocations: 0.5774 MB / 0.8708 GB, free: 63.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.41e-07/2.17, allocations: 0 / 0.8708 GB, free: 63.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001747/2.172, allocations: 315.8 kB / 0.8711 GB, free: 63.04 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.002328/2.174, allocations: 1.991 MB / 0.873 GB, free: 60.99 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001414/2.176, allocations: 0.5879 MB / 0.8736 GB, free: 60.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/2.176, allocations: 0 / 0.8736 GB, free: 60.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002871/2.176, allocations: 131.8 kB / 0.8737 GB, free: 60.28 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/2.179, allocations: 379.3 kB / 0.8741 GB, free: 59.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/2.183, allocations: 1.354 MB / 0.8754 GB, free: 58.49 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/2.184, allocations: 1.009 MB / 0.8764 GB, free: 57.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005522/2.184, allocations: 323.3 kB / 0.8767 GB, free: 57.13 MB / 0.5261 GB Notification: Performance of SimCode: time 1.172e-06/2.184, allocations: 0 / 0.8767 GB, free: 57.13 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.157/5.341, allocations: 18.75 MB / 0.895 GB, free: 38.46 MB / 0.5261 GB