Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.481/2.481, allocations: 270 MB / 282.6 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.542e-05, allocations: 7.922 kB / 347.1 MB, free: 3.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4448, allocations: 61.87 MB / 408.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.164/9.609, allocations: 2.799 GB / 3.198 GB, free: 109 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/9.609, allocations: 90.52 kB / 3.198 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.555/12.16, allocations: 0.4958 GB / 3.694 GB, free: 20.28 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.265e-06/12.16, allocations: 0 / 3.694 GB, free: 20.28 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.046e-05/12.16, allocations: 24 kB / 3.694 GB, free: 20.25 MB / 0.5261 GB 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.007932/12.17, allocations: 1.698 MB / 3.696 GB, free: 18.53 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/12.17, allocations: 12.03 kB / 3.696 GB, free: 18.52 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002686/12.17, allocations: 102.5 kB / 3.696 GB, free: 18.41 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002359/12.17, allocations: 236.8 kB / 3.696 GB, free: 18.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001885/12.18, allocations: 0.5834 MB / 3.697 GB, free: 17.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/12.18, allocations: 104.7 kB / 3.697 GB, free: 17.45 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/12.18, allocations: 62.73 kB / 3.697 GB, free: 17.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00269/12.18, allocations: 1.079 MB / 3.698 GB, free: 16.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.929e-05/12.18, allocations: 7.938 kB / 3.698 GB, free: 16.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/12.18, allocations: 32 kB / 3.698 GB, free: 16.17 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-05/12.18, allocations: 40.98 kB / 3.698 GB, free: 16.13 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/12.18, allocations: 0.802 MB / 3.699 GB, free: 15.32 MB / 0.5261 GB 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.008209/12.19, allocations: 5.553 MB / 3.704 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/12.19, allocations: 0.557 MB / 3.705 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004373/12.19, allocations: 202.5 kB / 3.705 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6556/12.85, allocations: 47.34 MB / 3.751 GB, free: 57.05 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/12.85, allocations: 42.69 kB / 3.751 GB, free: 57.01 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=39): time 3.306e-06/12.85, allocations: 3.312 kB / 3.751 GB, free: 57.01 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44): time 0.008636/12.86, allocations: 1.987 MB / 3.753 GB, free: 56.54 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/12.86, allocations: 199.5 kB / 3.753 GB, free: 56.32 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/12.86, allocations: 0.5489 MB / 3.754 GB, free: 56.19 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.373e-05/12.86, allocations: 38.66 kB / 3.754 GB, free: 56.16 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/12.86, allocations: 432.6 kB / 3.754 GB, free: 55.91 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/12.86, allocations: 162.7 kB / 3.754 GB, free: 55.83 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/12.86, allocations: 11.44 kB / 3.754 GB, free: 55.83 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.772e-05/12.86, allocations: 343.5 kB / 3.755 GB, free: 55.52 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005955/12.86, allocations: 224.1 kB / 3.755 GB, free: 55.52 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007891/12.86, allocations: 0.5688 MB / 3.756 GB, free: 55.08 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000773/12.86, allocations: 340.1 kB / 3.756 GB, free: 55.07 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/12.86, allocations: 3.781 kB / 3.756 GB, free: 55.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00219/12.86, allocations: 0.8033 MB / 3.757 GB, free: 55.01 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/12.86, allocations: 11.22 kB / 3.757 GB, free: 55.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/12.86, allocations: 15.05 kB / 3.757 GB, free: 55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006841/12.87, allocations: 276.5 kB / 3.757 GB, free: 55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/12.87, allocations: 279.9 kB / 3.757 GB, free: 55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/12.87, allocations: 2.014 MB / 3.759 GB, free: 53.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/12.88, allocations: 65.81 kB / 3.759 GB, free: 53.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.964e-05/12.88, allocations: 42.19 kB / 3.759 GB, free: 53.16 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (94): * Single equations (assignments): 92 * 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.0002551/12.88, allocations: 169.7 kB / 3.759 GB, free: 53.05 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/12.88, allocations: 73.19 kB / 3.759 GB, free: 53.01 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003023/12.88, allocations: 2.011 MB / 3.761 GB, free: 52.79 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.379e-05/12.88, allocations: 29.41 kB / 3.761 GB, free: 52.79 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/12.88, allocations: 0 / 3.761 GB, free: 52.79 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/12.88, allocations: 3.688 kB / 3.761 GB, free: 52.79 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004747/12.88, allocations: 2.983 MB / 3.764 GB, free: 52.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/12.88, allocations: 3.5 kB / 3.764 GB, free: 52.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/12.89, allocations: 188.6 kB / 3.765 GB, free: 52.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003111/12.89, allocations: 292.6 kB / 3.765 GB, free: 52.35 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.024e-05/12.89, allocations: 17.69 kB / 3.765 GB, free: 52.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/12.89, allocations: 2.068 MB / 3.767 GB, free: 50.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/12.89, allocations: 2.812 kB / 3.767 GB, free: 50.51 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00282/12.89, allocations: 1.95 MB / 3.769 GB, free: 50.08 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005934/12.9, allocations: 290.3 kB / 3.769 GB, free: 49.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/12.9, allocations: 9.844 kB / 3.769 GB, free: 49.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008904/12.9, allocations: 35.98 kB / 3.769 GB, free: 49.93 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/12.9, allocations: 36.66 kB / 3.769 GB, free: 49.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-05/12.9, allocations: 21.84 kB / 3.769 GB, free: 49.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001007/12.9, allocations: 0.5551 MB / 3.77 GB, free: 49.84 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.11e-07/12.9, allocations: 0 / 3.77 GB, free: 49.84 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006097/12.9, allocations: 1.138 MB / 3.771 GB, free: 49.84 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01288/12.92, allocations: 4.109 MB / 3.775 GB, free: 48.72 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0028/12.92, allocations: 0.8697 MB / 3.776 GB, free: 48.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.102e-05/12.92, allocations: 3.312 kB / 3.776 GB, free: 48.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001769/12.92, allocations: 0.606 MB / 3.776 GB, free: 48.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/12.92, allocations: 389.3 kB / 3.777 GB, free: 48.69 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007564/12.93, allocations: 2.208 MB / 3.779 GB, free: 48.21 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006387/12.93, allocations: 1.113 MB / 3.78 GB, free: 47.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006073/12.93, allocations: 380.5 kB / 3.78 GB, free: 47.5 MB / 0.5417 GB Notification: Performance of SimCode: time 1.022e-06/12.93, allocations: 3.625 kB / 3.78 GB, free: 47.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.102/17.04, allocations: 44.41 MB / 3.824 GB, free: 44.9 MB / 0.5417 GB