Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.706/2.706, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.318e-05/3.338e-05, allocations: 7.984 kB / 299.6 MB, free: 188 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4228, allocations: 54.85 MB / 354.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.023/9.446, allocations: 2.624 GB / 2.971 GB, free: 125.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003691/9.446, allocations: 92.41 kB / 2.971 GB, free: 125.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.972/12.42, allocations: 495.7 MB / 3.455 GB, free: 22.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.214e-06/12.42, allocations: 0 / 3.455 GB, free: 22.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.855e-05/12.42, allocations: 22.73 kB / 3.455 GB, free: 22.58 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.008391/12.43, allocations: 1.7 MB / 3.456 GB, free: 20.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/12.43, allocations: 8.031 kB / 3.456 GB, free: 20.86 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002492/12.43, allocations: 86.5 kB / 3.456 GB, free: 20.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002877/12.43, allocations: 234.8 kB / 3.457 GB, free: 20.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/12.43, allocations: 0.5818 MB / 3.457 GB, free: 19.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/12.43, allocations: 96.66 kB / 3.457 GB, free: 19.81 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/12.43, allocations: 36 kB / 3.457 GB, free: 19.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002094/12.43, allocations: 0.6234 MB / 3.458 GB, free: 19.15 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/12.44, allocations: 0.8676 MB / 3.459 GB, free: 18.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.095e-05/12.44, allocations: 3.938 kB / 3.459 GB, free: 18.17 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/12.44, allocations: 11.94 kB / 3.459 GB, free: 18.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/12.44, allocations: 48.58 kB / 3.459 GB, free: 18.11 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6619/13.1, allocations: 67.75 MB / 3.525 GB, free: 22.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/13.1, allocations: 343.8 kB / 3.525 GB, free: 21.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004106/13.1, allocations: 150.5 kB / 3.525 GB, free: 21.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.232/13.33, allocations: 53.54 MB / 3.578 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.367e-05/13.33, allocations: 37.66 kB / 3.578 GB, free: 19.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 4.188e-06/13.33, allocations: 7.844 kB / 3.578 GB, free: 19.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36): time 0.01068/13.34, allocations: 1.587 MB / 3.579 GB, free: 35.03 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/13.34, allocations: 131.6 kB / 3.579 GB, free: 34.87 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/13.34, allocations: 0.494 MB / 3.58 GB, free: 34.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.686e-05/13.34, allocations: 29.55 kB / 3.58 GB, free: 34.72 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003872/13.35, allocations: 437.6 kB / 3.58 GB, free: 34.51 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/13.35, allocations: 134.2 kB / 3.581 GB, free: 34.44 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/13.35, allocations: 0 / 3.581 GB, free: 34.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002196/13.35, allocations: 374 kB / 3.581 GB, free: 34.13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006157/13.35, allocations: 207.7 kB / 3.581 GB, free: 34.13 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008313/13.35, allocations: 0.5801 MB / 3.582 GB, free: 33.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/13.35, allocations: 431.5 kB / 3.582 GB, free: 33.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/13.35, allocations: 3.562 kB / 3.582 GB, free: 33.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00401/13.35, allocations: 0.8967 MB / 3.583 GB, free: 33.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/13.35, allocations: 10.19 kB / 3.583 GB, free: 33.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/13.35, allocations: 21.12 kB / 3.583 GB, free: 33.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004222/13.35, allocations: 69.28 kB / 3.583 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00307/13.36, allocations: 287.4 kB / 3.583 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003812/13.36, allocations: 2.069 MB / 3.585 GB, free: 31.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/13.36, allocations: 55.5 kB / 3.585 GB, free: 31.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/13.36, allocations: 45.12 kB / 3.585 GB, free: 31.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003144/13.36, allocations: 140.6 kB / 3.586 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/13.36, allocations: 64.66 kB / 3.586 GB, free: 31.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003427/13.37, allocations: 1.508 MB / 3.587 GB, free: 31.41 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.83e-05/13.37, allocations: 19.66 kB / 3.587 GB, free: 31.41 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/13.37, allocations: 0 / 3.587 GB, free: 31.41 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/13.37, allocations: 3.703 kB / 3.587 GB, free: 31.41 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005127/13.37, allocations: 2.333 MB / 3.589 GB, free: 31.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/13.37, allocations: 0 / 3.589 GB, free: 31.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002216/13.37, allocations: 170.9 kB / 3.59 GB, free: 31.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005898/13.38, allocations: 116.8 kB / 3.59 GB, free: 31 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/13.38, allocations: 7.344 kB / 3.59 GB, free: 31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002869/13.38, allocations: 2.082 MB / 3.592 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/13.38, allocations: 2.188 kB / 3.592 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003193/13.38, allocations: 1.503 MB / 3.593 GB, free: 28.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005729/13.38, allocations: 206 kB / 3.593 GB, free: 28.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/13.38, allocations: 12.48 kB / 3.593 GB, free: 28.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000827/13.38, allocations: 20.16 kB / 3.593 GB, free: 28.85 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/13.38, allocations: 29.73 kB / 3.593 GB, free: 28.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.299e-05/13.38, allocations: 17.56 kB / 3.593 GB, free: 28.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007363/13.38, allocations: 356.5 kB / 3.594 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.22e-07/13.38, allocations: 3.75 kB / 3.594 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006263/13.39, allocations: 1.087 MB / 3.595 GB, free: 28.75 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01513/13.41, allocations: 3.592 MB / 3.598 GB, free: 27.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003148/13.41, allocations: 0.8083 MB / 3.599 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/13.41, allocations: 2.969 kB / 3.599 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002085/13.41, allocations: 0.5356 MB / 3.6 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002898/13.41, allocations: 267.8 kB / 3.6 GB, free: 27.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00829/13.42, allocations: 1.893 MB / 3.602 GB, free: 27.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008726/13.42, allocations: 1.058 MB / 3.603 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001788/13.42, allocations: 430.6 kB / 3.603 GB, free: 26.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006912/13.43, allocations: 314.4 kB / 3.604 GB, free: 26.65 MB / 0.5261 GB Notification: Performance of SimCode: time 1.633e-06/13.43, allocations: 0 / 3.604 GB, free: 26.65 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1358/13.56, allocations: 42.67 MB / 3.645 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003034/13.56, allocations: 205.1 kB / 3.645 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.122/18.68, allocations: 2.531 kB / 3.645 GB, free: 15.57 MB / 0.5261 GB