Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.407/3.407, allocations: 235.2 MB / 242.3 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.84e-05/3.866e-05, allocations: 4 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.4482, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.956/1.404, allocations: 296.5 MB / 0.6356 GB, free: 7.598 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004103/1.405, allocations: 85.03 kB / 0.6357 GB, free: 7.555 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.017/2.421, allocations: 149.3 MB / 0.7815 GB, free: 67.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/2.422, allocations: 0 / 0.7815 GB, free: 67.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.215e-05/2.422, allocations: 20 kB / 0.7816 GB, free: 67.88 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.00383/2.425, allocations: 1.07 MB / 0.7826 GB, free: 66.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/2.426, allocations: 12.03 kB / 0.7826 GB, free: 66.75 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002945/2.426, allocations: 103.1 kB / 0.7827 GB, free: 66.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009651/2.427, allocations: 122.9 kB / 0.7828 GB, free: 66.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0022/2.429, allocations: 0.6294 MB / 0.7834 GB, free: 65.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002544/2.429, allocations: 220.2 kB / 0.7837 GB, free: 65.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/2.43, allocations: 55.91 kB / 0.7837 GB, free: 65.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002832/2.432, allocations: 0.7926 MB / 0.7845 GB, free: 64.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00315/2.436, allocations: 1.142 MB / 0.7856 GB, free: 63.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.366e-05/2.436, allocations: 3.938 kB / 0.7856 GB, free: 63.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002099/2.436, allocations: 11.98 kB / 0.7856 GB, free: 63.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.253e-05/2.436, allocations: 37.25 kB / 0.7856 GB, free: 63.42 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/2.448, allocations: 6.723 MB / 0.7922 GB, free: 56.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006735/2.448, allocations: 258.4 kB / 0.7925 GB, free: 56.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000383/2.449, allocations: 120.8 kB / 0.7926 GB, free: 55.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003998/2.453, allocations: 2.721 MB / 0.7952 GB, free: 52.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/2.453, allocations: 34.52 kB / 0.7953 GB, free: 52.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 3.026e-06/2.453, allocations: 0 / 0.7953 GB, free: 52.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.003442/2.456, allocations: 0.8053 MB / 0.7961 GB, free: 51.81 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/2.456, allocations: 51.41 kB / 0.7961 GB, free: 51.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/2.458, allocations: 0.6636 MB / 0.7967 GB, free: 51.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.286e-05/2.458, allocations: 29.7 kB / 0.7968 GB, free: 51.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005354/2.458, allocations: 0.62 MB / 0.7974 GB, free: 50.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/2.459, allocations: 114.6 kB / 0.7975 GB, free: 50.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.454e-05/2.459, allocations: 4 kB / 0.7975 GB, free: 50.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001767/2.459, allocations: 386.8 kB / 0.7979 GB, free: 49.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005903/2.459, allocations: 190.6 kB / 0.798 GB, free: 49.72 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/2.461, allocations: 1.003 MB / 0.799 GB, free: 48.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/2.462, allocations: 439.4 kB / 0.7994 GB, free: 47.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.419e-05/2.462, allocations: 8 kB / 0.7995 GB, free: 47.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003345/2.465, allocations: 1.049 MB / 0.8005 GB, free: 46.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.436e-05/2.466, allocations: 21.81 kB / 0.8005 GB, free: 46.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-05/2.466, allocations: 32 kB / 0.8005 GB, free: 46.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.537e-05/2.466, allocations: 44.03 kB / 0.8006 GB, free: 46.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/2.468, allocations: 299.4 kB / 0.8009 GB, free: 46.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.723e-05/2.468, allocations: 55.73 kB / 0.8009 GB, free: 46.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/2.469, allocations: 43.89 kB / 0.801 GB, free: 46.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/2.47, allocations: 80 kB / 0.801 GB, free: 46.25 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.0002788/2.47, allocations: 184.2 kB / 0.8012 GB, free: 46.06 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/2.47, allocations: 83.02 kB / 0.8013 GB, free: 45.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/2.472, allocations: 317.7 kB / 0.8016 GB, free: 45.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/2.472, allocations: 0 / 0.8016 GB, free: 45.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/2.472, allocations: 4 kB / 0.8016 GB, free: 45.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/2.472, allocations: 3.984 kB / 0.8016 GB, free: 45.65 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/2.474, allocations: 0.8143 MB / 0.8024 GB, free: 44.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/2.474, allocations: 3.953 kB / 0.8024 GB, free: 44.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006198/2.475, allocations: 59.91 kB / 0.8024 GB, free: 44.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.291e-05/2.475, allocations: 8 kB / 0.8025 GB, free: 44.72 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/2.475, allocations: 0 / 0.8025 GB, free: 44.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/2.475, allocations: 7.984 kB / 0.8025 GB, free: 44.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/2.475, allocations: 0 / 0.8025 GB, free: 44.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/2.476, allocations: 0.5126 MB / 0.803 GB, free: 44.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004014/2.476, allocations: 176.1 kB / 0.8031 GB, free: 43.97 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/2.477, allocations: 4 kB / 0.8031 GB, free: 43.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007818/2.477, allocations: 11.94 kB / 0.8031 GB, free: 43.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/2.478, allocations: 27.97 kB / 0.8032 GB, free: 43.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.186e-05/2.478, allocations: 15.98 kB / 0.8032 GB, free: 43.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009944/2.479, allocations: 447.1 kB / 0.8036 GB, free: 43.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.61e-07/2.479, allocations: 0 / 0.8036 GB, free: 43.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002111/2.481, allocations: 251.9 kB / 0.8039 GB, free: 43.23 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.0026/2.483, allocations: 1.482 MB / 0.8053 GB, free: 41.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001565/2.485, allocations: 0.5368 MB / 0.8058 GB, free: 41.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/2.485, allocations: 4 kB / 0.8058 GB, free: 41.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002716/2.485, allocations: 107.8 kB / 0.8059 GB, free: 41.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/2.488, allocations: 254.3 kB / 0.8062 GB, free: 40.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004517/2.493, allocations: 1.175 MB / 0.8073 GB, free: 39.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007472/2.493, allocations: 1.008 MB / 0.8083 GB, free: 38.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002117/2.495, allocations: 291.5 kB / 0.8086 GB, free: 38.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000595/2.496, allocations: 287.3 kB / 0.8089 GB, free: 38 MB / 490.7 MB Notification: Performance of SimCode: time 1.733e-06/2.496, allocations: 0 / 0.8089 GB, free: 38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1226/2.619, allocations: 18.33 MB / 0.8268 GB, free: 19.73 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003426/2.619, allocations: 192.4 kB / 0.8269 GB, free: 19.54 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.348/6.967, allocations: 0 / 0.8269 GB, free: 19.54 MB / 490.7 MB