Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.754/2.754, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.649e-05/2.662e-05, allocations: 8 kB / 299.6 MB, free: 188 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3837, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.32/10.7, allocations: 2.951 GB / 3.297 GB, free: 109.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003634/10.7, allocations: 90.55 kB / 3.298 GB, free: 109.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.037/16.74, allocations: 1.123 GB / 4.421 GB, free: 74.92 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.794e-06/16.74, allocations: 0 / 4.421 GB, free: 74.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.23e-05/16.74, allocations: 19.12 kB / 4.421 GB, free: 74.92 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.007819/16.75, allocations: 1.575 MB / 4.422 GB, free: 74.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/16.75, allocations: 7.625 kB / 4.422 GB, free: 74.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001801/16.75, allocations: 80.66 kB / 4.422 GB, free: 74.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006495/16.75, allocations: 89.75 kB / 4.422 GB, free: 74.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/16.75, allocations: 0.5455 MB / 4.423 GB, free: 73.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/16.75, allocations: 88.53 kB / 4.423 GB, free: 73.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/16.75, allocations: 35.36 kB / 4.423 GB, free: 73.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001677/16.75, allocations: 0.5502 MB / 4.424 GB, free: 73.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/16.75, allocations: 0.7276 MB / 4.424 GB, free: 73.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/16.75, allocations: 0 / 4.424 GB, free: 73.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/16.75, allocations: 3.969 kB / 4.424 GB, free: 73.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.584e-05/16.75, allocations: 39.03 kB / 4.424 GB, free: 73.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007461/16.76, allocations: 3.965 MB / 4.428 GB, free: 71.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/16.76, allocations: 309.2 kB / 4.428 GB, free: 71.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004221/16.76, allocations: 162.2 kB / 4.429 GB, free: 71.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004875/16.76, allocations: 344.8 kB / 4.429 GB, free: 70.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/16.76, allocations: 41.38 kB / 4.429 GB, free: 70.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 4.408e-06/16.76, allocations: 0 / 4.429 GB, free: 70.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.005968/16.77, allocations: 1.266 MB / 4.43 GB, free: 70.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/16.77, allocations: 134.3 kB / 4.43 GB, free: 70.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008847/16.77, allocations: 456.8 kB / 4.431 GB, free: 69.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.705e-05/16.77, allocations: 25.7 kB / 4.431 GB, free: 69.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/16.77, allocations: 387.1 kB / 4.431 GB, free: 69.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/16.77, allocations: 140.8 kB / 4.431 GB, free: 69.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/16.77, allocations: 0 / 4.431 GB, free: 69.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/16.77, allocations: 374.5 kB / 4.432 GB, free: 69.31 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005944/16.77, allocations: 193.7 kB / 4.432 GB, free: 69.31 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007554/16.77, allocations: 0.5054 MB / 4.432 GB, free: 68.92 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/16.77, allocations: 332 kB / 4.433 GB, free: 68.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/16.77, allocations: 3.75 kB / 4.433 GB, free: 68.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003691/16.78, allocations: 0.8987 MB / 4.434 GB, free: 68.83 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/16.78, allocations: 8.656 kB / 4.434 GB, free: 68.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/16.78, allocations: 14.88 kB / 4.434 GB, free: 68.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/16.78, allocations: 216.2 kB / 4.434 GB, free: 68.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/16.78, allocations: 139.3 kB / 4.434 GB, free: 68.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/16.78, allocations: 0.8642 MB / 4.435 GB, free: 68.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/16.78, allocations: 41.73 kB / 4.435 GB, free: 68.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/16.78, allocations: 32.16 kB / 4.435 GB, free: 68.29 MB / 490.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.0002542/16.78, allocations: 133.7 kB / 4.435 GB, free: 68.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/16.78, allocations: 66 kB / 4.435 GB, free: 68.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/16.79, allocations: 0.5871 MB / 4.436 GB, free: 68.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/16.79, allocations: 3.969 kB / 4.436 GB, free: 68.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/16.79, allocations: 7.688 kB / 4.436 GB, free: 68.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/16.79, allocations: 3.562 kB / 4.436 GB, free: 68.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004093/16.79, allocations: 1.466 MB / 4.437 GB, free: 67.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/16.79, allocations: 3.406 kB / 4.437 GB, free: 67.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00239/16.79, allocations: 188.2 kB / 4.437 GB, free: 67.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004603/16.79, allocations: 56.98 kB / 4.437 GB, free: 67.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/16.79, allocations: 6.641 kB / 4.437 GB, free: 67.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002938/16.8, allocations: 2.681 MB / 4.44 GB, free: 64.99 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/16.8, allocations: 3.844 kB / 4.44 GB, free: 64.99 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002826/16.8, allocations: 0.9541 MB / 4.441 GB, free: 64.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005038/16.8, allocations: 195.1 kB / 4.441 GB, free: 64.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/16.8, allocations: 11.16 kB / 4.441 GB, free: 64.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009145/16.8, allocations: 14 kB / 4.441 GB, free: 64.53 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/16.8, allocations: 34.73 kB / 4.441 GB, free: 64.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-05/16.8, allocations: 20.27 kB / 4.441 GB, free: 64.53 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006558/16.8, allocations: 328.1 kB / 4.441 GB, free: 64.44 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.41e-07/16.8, allocations: 0 / 4.441 GB, free: 64.44 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001761/16.8, allocations: 221.7 kB / 4.442 GB, free: 64.43 MB / 490.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.003931/16.81, allocations: 2.233 MB / 4.444 GB, free: 63.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001815/16.81, allocations: 0.5316 MB / 4.444 GB, free: 63.13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/16.81, allocations: 0 / 4.444 GB, free: 63.13 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002098/16.81, allocations: 422.6 kB / 4.445 GB, free: 63.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/16.82, allocations: 267.7 kB / 4.445 GB, free: 63.03 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/16.82, allocations: 1.107 MB / 4.446 GB, free: 62.69 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/16.82, allocations: 0.9508 MB / 4.447 GB, free: 61.99 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001443/16.82, allocations: 199 kB / 4.447 GB, free: 61.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005547/16.82, allocations: 225.9 kB / 4.447 GB, free: 61.97 MB / 490.7 MB Notification: Performance of SimCode: time 1.252e-06/16.82, allocations: 0 / 4.447 GB, free: 61.97 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1699/16.99, allocations: 19.08 MB / 4.466 GB, free: 61.47 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003524/16.99, allocations: 217 kB / 4.466 GB, free: 61.18 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.037/21.03, allocations: 0 / 4.466 GB, free: 61.18 MB / 490.7 MB