Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.578/2.578, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.72e-05/2.737e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.388, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.92/9.308, allocations: 2.626 GB / 2.972 GB, free: 125.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/9.308, allocations: 91.17 kB / 2.972 GB, free: 125.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.822/12.13, allocations: 498 MB / 3.459 GB, free: 18.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/12.13, allocations: 0 / 3.459 GB, free: 18.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.539e-05/12.13, allocations: 23.2 kB / 3.459 GB, free: 18.27 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.00833/12.14, allocations: 1.712 MB / 3.46 GB, free: 16.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/12.14, allocations: 12.03 kB / 3.46 GB, free: 16.53 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002587/12.14, allocations: 90.5 kB / 3.46 GB, free: 16.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004183/12.14, allocations: 322.7 kB / 3.461 GB, free: 16.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/12.15, allocations: 0.6131 MB / 3.461 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/12.15, allocations: 88.67 kB / 3.461 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/12.15, allocations: 36 kB / 3.461 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001956/12.15, allocations: 0.6507 MB / 3.462 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/12.15, allocations: 0.8757 MB / 3.463 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.182e-05/12.15, allocations: 3.938 kB / 3.463 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/12.15, allocations: 8 kB / 3.463 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/12.15, allocations: 45.28 kB / 3.463 GB, free: 13.66 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.7576/12.91, allocations: 83.06 MB / 3.544 GB, free: 24.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/12.91, allocations: 366.7 kB / 3.544 GB, free: 24.72 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003956/12.91, allocations: 156.3 kB / 3.545 GB, free: 24.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1374/13.05, allocations: 33.97 MB / 3.578 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.267e-05/13.05, allocations: 41.5 kB / 3.578 GB, free: 19.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 3.447e-06/13.05, allocations: 0 / 3.578 GB, free: 19.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=37): time 0.006749/13.05, allocations: 1.365 MB / 3.579 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/13.05, allocations: 136 kB / 3.579 GB, free: 18.87 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009632/13.06, allocations: 0.4885 MB / 3.58 GB, free: 18.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008106/13.06, allocations: 29.64 kB / 3.58 GB, free: 34.72 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004071/13.06, allocations: 440.7 kB / 3.58 GB, free: 34.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/13.06, allocations: 136.6 kB / 3.58 GB, free: 34.44 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/13.06, allocations: 0 / 3.58 GB, free: 34.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002199/13.06, allocations: 372.8 kB / 3.581 GB, free: 34.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005642/13.06, allocations: 198.4 kB / 3.581 GB, free: 34.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007732/13.06, allocations: 0.5587 MB / 3.581 GB, free: 33.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/13.06, allocations: 320.1 kB / 3.582 GB, free: 33.65 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/13.06, allocations: 3.875 kB / 3.582 GB, free: 33.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002602/13.06, allocations: 0.7733 MB / 3.582 GB, free: 33.56 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/13.06, allocations: 10.78 kB / 3.582 GB, free: 33.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/13.06, allocations: 13.16 kB / 3.582 GB, free: 33.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003525/13.06, allocations: 60.91 kB / 3.582 GB, free: 33.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002793/13.07, allocations: 295 kB / 3.583 GB, free: 33.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/13.07, allocations: 1.93 MB / 3.585 GB, free: 31.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/13.07, allocations: 49.98 kB / 3.585 GB, free: 31.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/13.07, allocations: 44.38 kB / 3.585 GB, free: 31.76 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase,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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003261/13.07, allocations: 145.8 kB / 3.585 GB, free: 31.65 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/13.07, allocations: 66.78 kB / 3.585 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003077/13.07, allocations: 1.587 MB / 3.586 GB, free: 31.42 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.895e-05/13.07, allocations: 30.2 kB / 3.587 GB, free: 31.41 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/13.07, allocations: 0.75 kB / 3.587 GB, free: 31.41 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/13.07, allocations: 0 / 3.587 GB, free: 31.41 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004651/13.08, allocations: 2.428 MB / 3.589 GB, free: 31.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/13.08, allocations: 3.531 kB / 3.589 GB, free: 31.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/13.08, allocations: 178.6 kB / 3.589 GB, free: 31.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004507/13.08, allocations: 82.58 kB / 3.589 GB, free: 31.01 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/13.08, allocations: 3.875 kB / 3.589 GB, free: 31.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002274/13.08, allocations: 1.982 MB / 3.591 GB, free: 29.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/13.08, allocations: 4.25 kB / 3.591 GB, free: 29.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/13.09, allocations: 1.51 MB / 3.593 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007544/13.09, allocations: 219.4 kB / 3.593 GB, free: 28.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/13.09, allocations: 3.375 kB / 3.593 GB, free: 28.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/13.09, allocations: 43.19 kB / 3.593 GB, free: 28.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/13.09, allocations: 27.34 kB / 3.593 GB, free: 28.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/13.09, allocations: 15.95 kB / 3.593 GB, free: 28.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009838/13.09, allocations: 356.1 kB / 3.593 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.114e-06/13.09, allocations: 4 kB / 3.593 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007918/13.1, allocations: 1.079 MB / 3.594 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.h) * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01906/13.12, allocations: 3.596 MB / 3.598 GB, free: 27.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00447/13.12, allocations: 0.7942 MB / 3.599 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/13.12, allocations: 0 / 3.599 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002805/13.12, allocations: 0.5348 MB / 3.599 GB, free: 27.87 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004075/13.13, allocations: 266.5 kB / 3.599 GB, free: 27.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/13.14, allocations: 1.927 MB / 3.601 GB, free: 27.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/13.14, allocations: 1.071 MB / 3.602 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002806/13.14, allocations: 0.5044 MB / 3.603 GB, free: 26.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009978/13.15, allocations: 332.1 kB / 3.603 GB, free: 26.65 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/13.15, allocations: 0 / 3.603 GB, free: 26.65 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1787/13.32, allocations: 43.32 MB / 3.645 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004295/13.32, allocations: 216.4 kB / 3.646 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.154/18.48, allocations: 0 / 3.646 GB, free: 15.5 MB / 0.5261 GB