Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_StandardWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_StandardWater") Notification: Performance of loadModel(ModelicaTest): time 2.36/2.36, allocations: 270 MB / 282.7 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.204e-05/3.215e-05, allocations: 7.922 kB / 347 MB, free: 3.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3282, allocations: 61.87 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.52/14.84, allocations: 6.236 GB / 6.635 GB, free: 78.87 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004063/14.84, allocations: 79.95 kB / 6.635 GB, free: 78.79 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.668/19.51, allocations: 0.9685 GB / 7.603 GB, free: 34.45 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.403e-06/19.51, allocations: 0 / 7.603 GB, free: 34.45 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.000475/19.51, allocations: 149.5 kB / 7.604 GB, free: 34.43 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1897 * Number of variables: 1897 Notification: Performance of Generate backend data structure: time 0.0349/19.55, allocations: 7.923 MB / 7.611 GB, free: 31.57 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/19.55, allocations: 8.125 kB / 7.611 GB, free: 31.57 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02438/19.57, allocations: 2.346 MB / 7.614 GB, free: 31.19 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01965/19.59, allocations: 5.394 MB / 7.619 GB, free: 30.43 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001005/19.59, allocations: 0.6087 MB / 7.619 GB, free: 30.42 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003698/19.6, allocations: 0.6534 MB / 7.62 GB, free: 30.4 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04257/19.64, allocations: 13.49 MB / 7.633 GB, free: 29.21 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002967/19.64, allocations: 25.12 kB / 7.633 GB, free: 29.21 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003136/19.64, allocations: 267.5 kB / 7.634 GB, free: 29.21 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008141/19.64, allocations: 0.6714 MB / 7.634 GB, free: 29.2 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04115/19.68, allocations: 13.91 MB / 7.648 GB, free: 29.16 MB / 0.573 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.1593/19.84, allocations: 51.85 MB / 7.698 GB, free: 19 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03794/19.88, allocations: 8.152 MB / 7.706 GB, free: 18.92 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01007/19.89, allocations: 4.932 MB / 7.711 GB, free: 18.87 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02277/19.91, allocations: 9.883 MB / 7.721 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001202/19.91, allocations: 106.5 kB / 7.721 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004778/19.92, allocations: 0.602 MB / 7.722 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=631): time 1.848e-05/19.92, allocations: 0 / 7.722 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of matching and sorting (n=733): time 0.09791/20.02, allocations: 31.19 MB / 7.752 GB, free: 0.875 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/20.02, allocations: 178.3 kB / 7.752 GB, free: 0.7422 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009201/20.03, allocations: 3.579 MB / 7.756 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001895/20.03, allocations: 156.4 kB / 7.756 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.002709/20.03, allocations: 2.402 MB / 7.758 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00438/20.04, allocations: 2.533 MB / 7.761 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/20.04, allocations: 158.5 kB / 7.761 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0007543/20.04, allocations: 0.6323 MB / 7.761 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01232/20.05, allocations: 5.108 MB / 7.766 GB, free: 7.758 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01501/20.07, allocations: 6.539 MB / 7.773 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0344/20.1, allocations: 6.986 MB / 7.78 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.877e-05/20.1, allocations: 12 kB / 7.78 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.04855/20.15, allocations: 16.89 MB / 7.796 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.4154/20.56, allocations: 14.99 MB / 7.811 GB, free: 62.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001292/20.56, allocations: 38.34 kB / 7.811 GB, free: 62.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1589/20.72, allocations: 39.41 MB / 7.849 GB, free: 61.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005061/20.73, allocations: 0.9026 MB / 7.85 GB, free: 61.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04467/20.77, allocations: 17.82 MB / 7.868 GB, free: 61.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01122/20.78, allocations: 0.9995 MB / 7.868 GB, free: 61.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002459/20.79, allocations: 363.1 kB / 7.869 GB, free: 61.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/20.79, allocations: 4.953 kB / 7.869 GB, free: 61.14 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03955/20.83, allocations: 15.55 MB / 7.884 GB, free: 60.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/20.83, allocations: 42.28 kB / 7.884 GB, free: 60.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1214/20.95, allocations: 33.18 MB / 7.916 GB, free: 60.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005177/20.95, allocations: 0.9837 MB / 7.917 GB, free: 59.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03843/20.99, allocations: 15.48 MB / 7.933 GB, free: 51.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009606/21, allocations: 0.9744 MB / 7.934 GB, free: 50.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002562/21, allocations: 352.1 kB / 7.934 GB, free: 50.4 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * Number of states: 0 () * Number of discrete variables: 30 (pipe4.state_b.phase,pipe4.state_a.phase,pipe3.state_b.phase,pipe3.state_a.phase,pipe1.state_b.phase,pipe1.state_a.phase,boundary1.medium.phase,pipe1.statesFM[2].phase,pipe1.statesFM[3].phase,pipe1.statesFM[4].phase,pipe1.statesFM[5].phase,pipe1.statesFM[6].phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,pipe2.statesFM[3].phase,pipe2.statesFM[4].phase,pipe2.statesFM[5].phase,pipe3.statesFM[2].phase,pipe3.statesFM[3].phase,pipe3.statesFM[4].phase,pipe3.statesFM[5].phase,pipe3.statesFM[6].phase,pipe4.statesFM[2].phase,pipe4.statesFM[3].phase,pipe4.statesFM[4].phase,pipe4.statesFM[5].phase,pipe4.statesFM[6].phase,boundary4.medium.phase,pipe2.state_b.phase,pipe2.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (500): * Single equations (assignments): 499 * 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 {67 453} Notification: Performance of prepare postOptimizeDAE: time 0.003935/21.01, allocations: 0.5035 MB / 7.934 GB, free: 50.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002659/21.01, allocations: 0.5149 MB / 7.935 GB, free: 49.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04992/21.06, allocations: 24.61 MB / 7.959 GB, free: 37.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002755/21.06, allocations: 277 kB / 7.959 GB, free: 37.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.405e-05/21.06, allocations: 6.844 kB / 7.959 GB, free: 37.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03986/21.1, allocations: 21.02 MB / 7.98 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08014/21.18, allocations: 37.34 MB / 8.016 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.351e-05/21.18, allocations: 0 / 8.016 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0208/21.2, allocations: 2.811 MB / 8.019 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4327/21.63, allocations: 1.922 MB / 8.021 GB, free: 88.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002175/21.64, allocations: 270.5 kB / 8.021 GB, free: 88.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02271/21.66, allocations: 34.08 MB / 8.054 GB, free: 59.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.804e-06/21.66, allocations: 4.875 kB / 8.054 GB, free: 59.47 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05719/21.72, allocations: 27.4 MB / 8.081 GB, free: 58.54 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003076/21.72, allocations: 1.101 MB / 8.082 GB, free: 58 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003161/21.72, allocations: 215.7 kB / 8.082 GB, free: 58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009464/21.73, allocations: 0.7942 MB / 8.083 GB, free: 57.97 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002829/21.74, allocations: 0.6973 MB / 8.084 GB, free: 57.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00167/21.74, allocations: 263.3 kB / 8.084 GB, free: 57.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.006032/21.74, allocations: 2.695 MB / 8.087 GB, free: 57.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.062e-06/21.74, allocations: 0 / 8.087 GB, free: 57.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.02417/21.77, allocations: 5.778 MB / 8.092 GB, free: 57.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 62 (pipe1.mediums[1].p,pipe1.mediums[1].h,pipe1.mediums[2].p,pipe1.mediums[2].h,pipe1.mediums[3].p,pipe1.mediums[3].h,pipe1.mediums[4].p,pipe1.mediums[4].h,pipe1.mediums[5].p,pipe1.mediums[5].h,pipe1.flowModel.m_flows[1],pipe1.flowModel.m_flows[2],pipe1.flowModel.m_flows[3],pipe1.flowModel.m_flows[4],pipe1.flowModel.m_flows[5],pipe1.flowModel.m_flows[6],pipe2.mediums[1].p,pipe2.mediums[1].h,pipe2.mediums[2].p,pipe2.mediums[2].h,pipe2.mediums[3].p,pipe2.mediums[3].h,pipe2.mediums[4].p,pipe2.mediums[4].h,pipe2.mediums[5].p,pipe2.mediums[5].h,pipe2.flowModel.m_flows[1],pipe2.flowModel.m_flows[2],pipe2.flowModel.m_flows[3],pipe2.flowModel.m_flows[4],pipe3.mediums[1].p,pipe3.mediums[1].h,pipe3.mediums[2].p,pipe3.mediums[2].h,pipe3.mediums[3].p,pipe3.mediums[3].h,pipe3.mediums[4].p,pipe3.mediums[4].h,pipe3.mediums[5].p,pipe3.mediums[5].h,pipe3.flowModel.m_flows[1],pipe3.flowModel.m_flows[2],pipe3.flowModel.m_flows[3],pipe3.flowModel.m_flows[4],pipe3.flowModel.m_flows[5],pipe3.flowModel.m_flows[6],pipe4.mediums[1].p,pipe4.mediums[1].h,pipe4.mediums[2].p,pipe4.mediums[2].h,pipe4.mediums[3].p,pipe4.mediums[3].h,pipe4.mediums[4].p,pipe4.mediums[4].h,pipe4.mediums[5].p,pipe4.mediums[5].h,pipe4.flowModel.m_flows[1],pipe4.flowModel.m_flows[2],pipe4.flowModel.m_flows[3],pipe4.flowModel.m_flows[4],pipe4.flowModel.m_flows[5],pipe4.flowModel.m_flows[6]) * Number of discrete variables: 126 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.region3boundary,$cse9.region3boundary,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse16.phase,$cse16.region,$cse17.region3boundary,$cse18.region3boundary,$cse19.phase,$cse19.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse30.region3boundary,$cse31.region3boundary,$cse32.phase,$cse32.region,$cse33.region3boundary,$cse34.region3boundary,$cse35.phase,$cse35.region,$cse36.region3boundary,$cse37.region3boundary,$cse38.phase,$cse38.region,$cse39.region3boundary,$cse40.region3boundary,$cse41.phase,$cse41.region,$cse42.region3boundary,$cse43.region3boundary,$cse44.phase,$cse44.region,$cse59.phase,$cse59.region,$cse61.phase,$cse61.region,$cse64.region3boundary,$cse65.region3boundary,$cse66.phase,$cse66.region,$cse67.region3boundary,$cse68.region3boundary,$cse69.phase,$cse69.region,$cse70.region3boundary,$cse71.region3boundary,$cse72.phase,$cse72.region,$cse73.region3boundary,$cse74.region3boundary,$cse75.phase,$cse75.region,$cse76.region3boundary,$cse77.region3boundary,$cse78.phase,$cse78.region,$cse85.phase,$cse85.region,$cse86.phase,$cse86.region,$cse88.region3boundary,$cse89.region3boundary,$cse90.phase,$cse90.region,$cse91.region3boundary,$cse92.region3boundary,$cse93.phase,$cse93.region,$cse94.region3boundary,$cse95.region3boundary,$cse96.phase,$cse96.region,$cse97.region3boundary,$cse98.region3boundary,$cse99.phase,$cse99.region,$cse100.region3boundary,$cse101.region3boundary,$cse102.phase,$cse102.region,$cse109.phase,$cse109.region,$cse110.phase,$cse110.region,$cse111.region3boundary,$cse112.region3boundary,$cse113.phase,$cse113.region,$cse114.phase,$cse114.region,boundary1.medium.phase,pipe1.statesFM[2].phase,pipe1.statesFM[3].phase,pipe1.statesFM[4].phase,pipe1.statesFM[5].phase,pipe1.statesFM[6].phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,pipe2.statesFM[3].phase,pipe2.statesFM[4].phase,pipe2.statesFM[5].phase,pipe3.statesFM[2].phase,pipe3.statesFM[3].phase,pipe3.statesFM[4].phase,pipe3.statesFM[5].phase,pipe3.statesFM[6].phase,pipe4.statesFM[2].phase,pipe4.statesFM[3].phase,pipe4.statesFM[4].phase,pipe4.statesFM[5].phase,pipe4.statesFM[6].phase,boundary4.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (819): * Single equations (assignments): 699 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 73 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 22 * Torn equation systems: 25 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 22 {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 20 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01564/21.78, allocations: 3.899 MB / 8.096 GB, free: 57.49 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.05787/21.84, allocations: 22.38 MB / 8.118 GB, free: 57.06 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/21.84, allocations: 4.531 kB / 8.118 GB, free: 57.06 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0309/21.87, allocations: 10.78 MB / 8.129 GB, free: 56.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01523/21.89, allocations: 2.209 MB / 8.131 GB, free: 56.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05623/21.94, allocations: 23.82 MB / 8.154 GB, free: 52.19 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01025/21.95, allocations: 5.547 MB / 8.159 GB, free: 51.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004201/21.96, allocations: 0.5225 MB / 8.16 GB, free: 51.21 MB / 0.6355 GB Notification: Performance of SimCode: time 1.89e-06/21.96, allocations: 0 / 8.16 GB, free: 51.21 MB / 0.6355 GB Notification: Performance of Templates: time 2.87/24.83, allocations: 0.8916 GB / 9.051 GB, free: 118.7 MB / 0.6667 GB