Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.742/2.742, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.386e-05/2.391e-05, allocations: 0 / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4373, allocations: 54.87 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.452/1.889, allocations: 414.1 MB / 0.7506 GB, free: 50.02 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/1.89, allocations: 88.56 kB / 0.7506 GB, free: 49.97 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.781/2.671, allocations: 116.9 MB / 0.8648 GB, free: 127.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.394e-06/2.671, allocations: 4.188 kB / 0.8648 GB, free: 127.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.83e-05/2.671, allocations: 23.53 kB / 0.8648 GB, free: 127.7 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003448/2.674, allocations: 0.9722 MB / 0.8658 GB, free: 126.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/2.674, allocations: 8.031 kB / 0.8658 GB, free: 126.7 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003432/2.675, allocations: 74.52 kB / 0.8658 GB, free: 126.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008271/2.675, allocations: 91.14 kB / 0.8659 GB, free: 126.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/2.678, allocations: 0.5522 MB / 0.8665 GB, free: 125.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/2.678, allocations: 84.7 kB / 0.8665 GB, free: 125.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/2.678, allocations: 28 kB / 0.8666 GB, free: 125.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00176/2.68, allocations: 0.5453 MB / 0.8671 GB, free: 125.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/2.682, allocations: 0.7288 MB / 0.8678 GB, free: 124.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/2.682, allocations: 3.938 kB / 0.8678 GB, free: 124.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/2.682, allocations: 7.984 kB / 0.8678 GB, free: 124.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.883e-05/2.682, allocations: 37.3 kB / 0.8679 GB, free: 124.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007289/2.689, allocations: 3.964 MB / 0.8717 GB, free: 120.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009627/2.69, allocations: 309.5 kB / 0.872 GB, free: 119.9 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/2.691, allocations: 161.4 kB / 0.8722 GB, free: 119.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004599/2.691, allocations: 340.7 kB / 0.8725 GB, free: 119.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/2.691, allocations: 46.78 kB / 0.8726 GB, free: 119.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 3.797e-06/2.691, allocations: 0 / 0.8726 GB, free: 119.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=39): time 0.005496/2.697, allocations: 1.27 MB / 0.8738 GB, free: 118 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/2.697, allocations: 132.5 kB / 0.8739 GB, free: 117.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000808/2.698, allocations: 454 kB / 0.8744 GB, free: 117.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.84e-05/2.698, allocations: 29.7 kB / 0.8744 GB, free: 117.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000286/2.698, allocations: 383 kB / 0.8747 GB, free: 116.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/2.698, allocations: 142 kB / 0.8749 GB, free: 116.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/2.698, allocations: 0 / 0.8749 GB, free: 116.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/2.698, allocations: 370.8 kB / 0.8752 GB, free: 116.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005177/2.699, allocations: 201.5 kB / 0.8754 GB, free: 116.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006999/2.7, allocations: 0.5023 MB / 0.8759 GB, free: 115.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/2.701, allocations: 336.4 kB / 0.8762 GB, free: 115.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/2.701, allocations: 4 kB / 0.8762 GB, free: 115.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003309/2.704, allocations: 0.8943 MB / 0.8771 GB, free: 114.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/2.704, allocations: 8 kB / 0.8771 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/2.704, allocations: 12 kB / 0.8771 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/2.706, allocations: 229.2 kB / 0.8774 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000956/2.707, allocations: 131.8 kB / 0.8775 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/2.708, allocations: 0.8593 MB / 0.8783 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/2.709, allocations: 39.77 kB / 0.8784 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/2.71, allocations: 39.98 kB / 0.8784 GB, free: 113 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002327/2.71, allocations: 140.7 kB / 0.8785 GB, free: 112.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/2.71, allocations: 59.25 kB / 0.8786 GB, free: 112.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/2.712, allocations: 0.5765 MB / 0.8791 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/2.712, allocations: 7.984 kB / 0.8792 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/2.712, allocations: 3.953 kB / 0.8792 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/2.712, allocations: 4 kB / 0.8792 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003789/2.716, allocations: 1.477 MB / 0.8806 GB, free: 110.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/2.716, allocations: 4 kB / 0.8806 GB, free: 110.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002071/2.718, allocations: 188 kB / 0.8808 GB, free: 110.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004122/2.719, allocations: 56.7 kB / 0.8808 GB, free: 110.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.627e-05/2.719, allocations: 7.984 kB / 0.8809 GB, free: 110.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002633/2.721, allocations: 2.677 MB / 0.8835 GB, free: 107.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/2.721, allocations: 3.938 kB / 0.8835 GB, free: 107.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/2.724, allocations: 0.957 MB / 0.8844 GB, free: 106.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004407/2.724, allocations: 192.2 kB / 0.8846 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/2.725, allocations: 4 kB / 0.8846 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007941/2.725, allocations: 15.98 kB / 0.8846 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/2.726, allocations: 39.97 kB / 0.8846 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.317e-05/2.726, allocations: 19.98 kB / 0.8847 GB, free: 106.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005872/2.726, allocations: 330.9 kB / 0.885 GB, free: 105.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.51e-07/2.726, allocations: 0 / 0.885 GB, free: 105.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001425/2.728, allocations: 203.9 kB / 0.8852 GB, free: 105.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003353/2.731, allocations: 2.065 MB / 0.8872 GB, free: 103.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001643/2.733, allocations: 0.5244 MB / 0.8877 GB, free: 103 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/2.733, allocations: 4 kB / 0.8877 GB, free: 103 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00183/2.735, allocations: 425.8 kB / 0.8881 GB, free: 102.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/2.737, allocations: 278.1 kB / 0.8884 GB, free: 102.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/2.741, allocations: 1.103 MB / 0.8895 GB, free: 101.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/2.741, allocations: 0.9537 MB / 0.8904 GB, free: 100.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001292/2.742, allocations: 193.4 kB / 0.8906 GB, free: 99.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005/2.743, allocations: 227.4 kB / 0.8908 GB, free: 99.71 MB / 474.7 MB Notification: Performance of SimCode: time 1.362e-06/2.743, allocations: 0 / 0.8908 GB, free: 99.71 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08295/2.826, allocations: 17.78 MB / 0.9081 GB, free: 82 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002932/2.826, allocations: 222.2 kB / 0.9084 GB, free: 81.7 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.68/6.506, allocations: 0 / 0.9084 GB, free: 81.7 MB / 474.7 MB