Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4") Notification: Performance of loadModel(ModelicaTest): time 2.318/2.318, allocations: 270.1 MB / 282.7 MB, free: 1.891 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.095e-05/3.105e-05, allocations: 4 kB / 347 MB, free: 3.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3252, allocations: 61.87 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.902/7.227, allocations: 2.834 GB / 3.234 GB, free: 161.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/7.228, allocations: 76.62 kB / 3.234 GB, free: 161.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.979/11.21, allocations: 0.914 GB / 4.148 GB, free: 41.76 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.914e-06/11.21, allocations: 0 / 4.148 GB, free: 41.76 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002193/11.21, allocations: 65.59 kB / 4.148 GB, free: 41.75 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.01775/11.22, allocations: 4.036 MB / 4.152 GB, free: 39.73 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/11.22, allocations: 13.62 kB / 4.152 GB, free: 39.73 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01425/11.24, allocations: 0.8722 MB / 4.153 GB, free: 39.59 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/11.25, allocations: 2.069 MB / 4.155 GB, free: 39.08 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004382/11.25, allocations: 182.4 kB / 4.155 GB, free: 39.08 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001138/11.25, allocations: 205.9 kB / 4.155 GB, free: 39.08 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01813/11.27, allocations: 3.653 MB / 4.158 GB, free: 38.35 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001723/11.27, allocations: 6.938 kB / 4.158 GB, free: 38.34 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001065/11.27, allocations: 93.28 kB / 4.159 GB, free: 38.29 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005478/11.27, allocations: 169.8 kB / 4.159 GB, free: 38.26 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/11.29, allocations: 3.265 MB / 4.162 GB, free: 37.23 MB / 0.5573 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.02555/11.31, allocations: 15.59 MB / 4.177 GB, free: 25.55 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006188/11.32, allocations: 2.191 MB / 4.179 GB, free: 24.82 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002197/11.32, allocations: 1.059 MB / 4.18 GB, free: 24.4 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05616/11.38, allocations: 24.61 MB / 4.204 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006091/11.38, allocations: 1.727 MB / 4.206 GB, free: 2.406 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=163): time 5.933e-06/11.38, allocations: 0 / 4.206 GB, free: 2.406 MB / 0.5573 GB Notification: Performance of matching and sorting (n=179): time 0.03023/11.41, allocations: 7.753 MB / 4.214 GB, free: 12.08 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001958/11.41, allocations: 265.3 kB / 4.214 GB, free: 11.76 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003364/11.42, allocations: 1.493 MB / 4.215 GB, free: 10.43 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004898/11.42, allocations: 57.7 kB / 4.215 GB, free: 10.36 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/11.42, allocations: 0.9145 MB / 4.216 GB, free: 9.496 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/11.42, allocations: 0.597 MB / 4.217 GB, free: 8.957 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/11.42, allocations: 40 kB / 4.217 GB, free: 8.918 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002888/11.42, allocations: 386 kB / 4.217 GB, free: 8.555 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002613/11.42, allocations: 1.03 MB / 4.218 GB, free: 7.633 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003209/11.42, allocations: 1.442 MB / 4.22 GB, free: 6.156 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00314/11.43, allocations: 1.263 MB / 4.221 GB, free: 5.059 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.78e-05/11.43, allocations: 4 kB / 4.221 GB, free: 5.055 MB / 0.573 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.008171/11.44, allocations: 2.976 MB / 4.224 GB, free: 2.402 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.392/11.83, allocations: 4.332 MB / 4.228 GB, free: 55.49 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.626e-05/11.83, allocations: 14.2 kB / 4.228 GB, free: 55.49 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/11.83, allocations: 230.8 kB / 4.228 GB, free: 55.46 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003487/11.83, allocations: 0.512 MB / 4.229 GB, free: 55.46 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/11.83, allocations: 2.428 MB / 4.231 GB, free: 53.39 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003532/11.84, allocations: 269.6 kB / 4.231 GB, free: 53.39 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006031/11.84, allocations: 103.2 kB / 4.232 GB, free: 53.39 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/11.84, allocations: 3.906 kB / 4.232 GB, free: 53.39 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007262/11.85, allocations: 2.822 MB / 4.234 GB, free: 53.26 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.849e-05/11.85, allocations: 16.09 kB / 4.234 GB, free: 53.26 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/11.85, allocations: 229 kB / 4.235 GB, free: 53.23 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003268/11.85, allocations: 0.5037 MB / 4.235 GB, free: 53.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/11.85, allocations: 2.436 MB / 4.237 GB, free: 51.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/11.86, allocations: 270.1 kB / 4.238 GB, free: 51.16 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004987/11.86, allocations: 103.2 kB / 4.238 GB, free: 51.16 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 30 (pipe3.state_a.phase,pipe2.state_a.phase,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveIncompressible.state_b.phase,valveIncompressible.state_a.phase,pipe1.state_b.phase,pipe1.state_a.phase,$whenCondition1,$whenCondition2,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled,splitter.medium.phase,pipe3.state_b.phase,pipe2.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (243): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008049/11.86, allocations: 298.6 kB / 4.238 GB, free: 50.99 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006504/11.86, allocations: 210.3 kB / 4.238 GB, free: 50.99 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/11.87, allocations: 7.632 MB / 4.246 GB, free: 50.42 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001009/11.87, allocations: 93.17 kB / 4.246 GB, free: 50.42 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/11.87, allocations: 0 / 4.246 GB, free: 50.42 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01051/11.88, allocations: 6.649 MB / 4.252 GB, free: 49.48 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01945/11.9, allocations: 10.9 MB / 4.263 GB, free: 48.85 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/11.9, allocations: 2.844 kB / 4.263 GB, free: 48.85 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002554/11.9, allocations: 414.5 kB / 4.263 GB, free: 48.85 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001829/11.91, allocations: 340.4 kB / 4.264 GB, free: 48.82 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004517/11.91, allocations: 69.75 kB / 4.264 GB, free: 48.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/11.91, allocations: 2.508 MB / 4.266 GB, free: 46.75 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.992e-06/11.91, allocations: 0.6562 kB / 4.266 GB, free: 46.75 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01281/11.92, allocations: 6.93 MB / 4.273 GB, free: 46.12 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002356/11.92, allocations: 0.7834 MB / 4.274 GB, free: 45.86 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008298/11.92, allocations: 49.27 kB / 4.274 GB, free: 45.85 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002985/11.93, allocations: 225.5 kB / 4.274 GB, free: 45.84 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005322/11.93, allocations: 151.9 kB / 4.274 GB, free: 45.84 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000282/11.93, allocations: 70.98 kB / 4.274 GB, free: 45.84 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002765/11.93, allocations: 1.331 MB / 4.275 GB, free: 45.68 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.163e-06/11.93, allocations: 0 / 4.275 GB, free: 45.68 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01132/11.94, allocations: 2.88 MB / 4.278 GB, free: 45.68 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].h,pipe2.mediums[1].p,pipe2.mediums[1].h,pipe3.mediums[1].p,pipe3.mediums[1].h,splitter.medium.p,splitter.medium.h) * Number of discrete variables: 56 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse31.phase,$cse31.region,$cse33.region3boundary,$cse34.region3boundary,$cse35.phase,$cse35.region,$cse37.region3boundary,$cse38.region3boundary,$cse39.phase,$cse39.region,$cse41.region3boundary,$cse42.region3boundary,$cse43.phase,$cse43.region,$whenCondition1,$whenCondition2,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled,splitter.medium.phase) * Number of discrete states: 12 (valveOpening2.nextEvent,valveOpening2.last,valveOpening2.nextEventScaled,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 23 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0127/11.95, allocations: 3.003 MB / 4.281 GB, free: 45.37 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01114/11.97, allocations: 4.985 MB / 4.286 GB, free: 45.04 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/11.97, allocations: 3.062 kB / 4.286 GB, free: 45.04 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004471/11.97, allocations: 2.366 MB / 4.288 GB, free: 44.91 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006829/11.98, allocations: 1.028 MB / 4.289 GB, free: 44.89 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/11.99, allocations: 6.033 MB / 4.295 GB, free: 43.75 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002081/11.99, allocations: 2.233 MB / 4.297 GB, free: 43 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/11.99, allocations: 226.4 kB / 4.298 GB, free: 43 MB / 0.573 GB Notification: Performance of SimCode: time 2.001e-06/11.99, allocations: 0 / 4.298 GB, free: 43 MB / 0.573 GB Notification: Performance of Templates: time 0.1554/12.15, allocations: 119 MB / 4.414 GB, free: 5.266 MB / 0.573 GB