Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.493/2.493, allocations: 270 MB / 282.6 MB, free: 1.938 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.132e-05/4.133e-05, allocations: 7.938 kB / 347.1 MB, free: 3.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4057, allocations: 61.87 MB / 408.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.836/9.242, allocations: 2.8 GB / 3.2 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/9.243, allocations: 92.25 kB / 3.2 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.581/11.82, allocations: 0.4982 GB / 3.698 GB, free: 17.26 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.513e-06/11.82, allocations: 0 / 3.698 GB, free: 17.26 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.648e-05/11.82, allocations: 26.78 kB / 3.698 GB, free: 17.24 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.007834/11.83, allocations: 1.72 MB / 3.7 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/11.83, allocations: 8.031 kB / 3.7 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002554/11.83, allocations: 113.6 kB / 3.7 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003445/11.83, allocations: 323 kB / 3.7 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/11.84, allocations: 0.6025 MB / 3.701 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/11.84, allocations: 108.7 kB / 3.701 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/11.84, allocations: 63.83 kB / 3.701 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003936/11.84, allocations: 1.193 MB / 3.702 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/11.84, allocations: 3.938 kB / 3.702 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/11.84, allocations: 31.91 kB / 3.702 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.404e-05/11.84, allocations: 45.23 kB / 3.702 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002538/11.84, allocations: 0.8338 MB / 3.703 GB, free: 12.04 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.00882/11.85, allocations: 5.498 MB / 3.708 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/11.85, allocations: 0.5918 MB / 3.709 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000478/11.86, allocations: 221.7 kB / 3.709 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.629/12.48, allocations: 46.08 MB / 3.754 GB, free: 54.55 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/12.48, allocations: 44.22 kB / 3.754 GB, free: 54.51 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=42): time 3.196e-06/12.48, allocations: 0 / 3.754 GB, free: 54.51 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46): time 0.007028/12.49, allocations: 1.84 MB / 3.756 GB, free: 54.09 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/12.49, allocations: 159.8 kB / 3.756 GB, free: 53.91 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000956/12.49, allocations: 0.539 MB / 3.757 GB, free: 53.77 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/12.49, allocations: 35.67 kB / 3.757 GB, free: 53.74 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000263/12.49, allocations: 427.8 kB / 3.757 GB, free: 53.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/12.49, allocations: 169.8 kB / 3.757 GB, free: 53.41 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/12.49, allocations: 14.69 kB / 3.757 GB, free: 53.41 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.632e-05/12.49, allocations: 336.4 kB / 3.758 GB, free: 53.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005307/12.49, allocations: 220.1 kB / 3.758 GB, free: 53.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000715/12.49, allocations: 0.5483 MB / 3.758 GB, free: 52.68 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006988/12.5, allocations: 328.6 kB / 3.759 GB, free: 52.68 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/12.5, allocations: 3.875 kB / 3.759 GB, free: 52.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001907/12.5, allocations: 0.7904 MB / 3.759 GB, free: 52.61 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/12.5, allocations: 7.719 kB / 3.759 GB, free: 52.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/12.5, allocations: 14.75 kB / 3.759 GB, free: 52.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004058/12.5, allocations: 63.39 kB / 3.76 GB, free: 52.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002423/12.5, allocations: 285.9 kB / 3.76 GB, free: 52.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/12.5, allocations: 1.965 MB / 3.762 GB, free: 50.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/12.5, allocations: 64.22 kB / 3.762 GB, free: 50.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/12.5, allocations: 40.59 kB / 3.762 GB, free: 50.77 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (95): * Single equations (assignments): 93 * 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.0002809/12.5, allocations: 166.9 kB / 3.762 GB, free: 50.66 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/12.5, allocations: 73.16 kB / 3.762 GB, free: 50.62 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003307/12.51, allocations: 2.214 MB / 3.764 GB, free: 50.37 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.265e-05/12.51, allocations: 34 kB / 3.764 GB, free: 50.37 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/12.51, allocations: 0 / 3.764 GB, free: 50.37 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/12.51, allocations: 3.75 kB / 3.764 GB, free: 50.37 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005249/12.51, allocations: 3.276 MB / 3.767 GB, free: 49.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/12.51, allocations: 6.016 kB / 3.767 GB, free: 49.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00189/12.51, allocations: 191.4 kB / 3.768 GB, free: 49.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005371/12.52, allocations: 82.56 kB / 3.768 GB, free: 49.91 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/12.52, allocations: 19.53 kB / 3.768 GB, free: 49.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/12.52, allocations: 1.987 MB / 3.77 GB, free: 48.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/12.52, allocations: 7.281 kB / 3.77 GB, free: 48.07 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003/12.52, allocations: 1.971 MB / 3.772 GB, free: 47.71 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007012/12.52, allocations: 293.2 kB / 3.772 GB, free: 47.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/12.52, allocations: 11.62 kB / 3.772 GB, free: 47.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/12.52, allocations: 57.86 kB / 3.772 GB, free: 47.56 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/12.52, allocations: 29.7 kB / 3.772 GB, free: 47.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.407e-05/12.52, allocations: 26.7 kB / 3.772 GB, free: 47.56 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009581/12.52, allocations: 0.4942 MB / 3.772 GB, free: 47.46 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.72e-07/12.52, allocations: 0 / 3.772 GB, free: 47.46 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006309/12.53, allocations: 1.125 MB / 3.774 GB, free: 47.46 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01355/12.54, allocations: 4.063 MB / 3.778 GB, free: 46.49 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002943/12.55, allocations: 0.8956 MB / 3.778 GB, free: 46.48 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/12.55, allocations: 3.438 kB / 3.778 GB, free: 46.48 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001857/12.55, allocations: 0.6467 MB / 3.779 GB, free: 46.47 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/12.55, allocations: 371.3 kB / 3.779 GB, free: 46.46 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00852/12.56, allocations: 2.287 MB / 3.782 GB, free: 45.99 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006854/12.56, allocations: 1.132 MB / 3.783 GB, free: 45.29 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007512/12.56, allocations: 404.5 kB / 3.783 GB, free: 45.28 MB / 0.5417 GB Notification: Performance of SimCode: time 1.933e-06/12.56, allocations: 2.906 kB / 3.783 GB, free: 45.28 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.069/16.63, allocations: 44.95 MB / 3.827 GB, free: 42.66 MB / 0.5417 GB