Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|pipe1.mediums.1..T|pipe1.mediums.1..p|pipe2.mediums.1..T|pipe2.mediums.1..p|pipe3.mediums.1..T|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") Notification: Performance of loadModel(ModelicaTest): time 2.246/2.246, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.17e-05, allocations: 4 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3299, allocations: 58.82 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.657/1.987, allocations: 0.6917 GB / 1.065 GB, free: 58.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/1.987, allocations: 77.66 kB / 1.065 GB, free: 58.27 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.667/4.655, allocations: 0.5545 GB / 1.619 GB, free: 45.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.613e-06/4.655, allocations: 5.906 kB / 1.619 GB, free: 45.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002868/4.655, allocations: 62.44 kB / 1.62 GB, free: 45.27 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.01046/4.666, allocations: 3.028 MB / 1.622 GB, free: 43.78 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/4.666, allocations: 14.5 kB / 1.623 GB, free: 43.78 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004051/4.67, allocations: 446.2 kB / 1.623 GB, free: 43.65 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00653/4.676, allocations: 1.934 MB / 1.625 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002303/4.677, allocations: 127 kB / 1.625 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008968/4.677, allocations: 166.6 kB / 1.625 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006557/4.684, allocations: 2.572 MB / 1.628 GB, free: 42.78 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-05/4.684, allocations: 5.906 kB / 1.628 GB, free: 42.78 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003555/4.685, allocations: 74.09 kB / 1.628 GB, free: 42.78 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002302/4.685, allocations: 155.8 kB / 1.628 GB, free: 42.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005183/4.69, allocations: 2.159 MB / 1.63 GB, free: 42.77 MB / 0.5105 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.0192/4.709, allocations: 11.04 MB / 1.641 GB, free: 36.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003793/4.713, allocations: 1.749 MB / 1.642 GB, free: 36.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002137/4.715, allocations: 1.043 MB / 1.643 GB, free: 36.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/4.716, allocations: 460 kB / 1.644 GB, free: 36.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00253/4.719, allocations: 1.264 MB / 1.645 GB, free: 36.08 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=162): time 5.754e-06/4.719, allocations: 0 / 1.645 GB, free: 36.08 MB / 0.5105 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipe1.mediums[1].T 2: pipe2.mediums[1].T 3: pipe3.mediums[1].T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.03005/4.749, allocations: 8.667 MB / 1.654 GB, free: 34.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/4.749, allocations: 363.6 kB / 1.654 GB, free: 34.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/4.752, allocations: 1.398 MB / 1.655 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005672/4.752, allocations: 64.64 kB / 1.655 GB, free: 34.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007729/4.753, allocations: 0.8654 MB / 1.656 GB, free: 33.87 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007471/4.754, allocations: 0.6239 MB / 1.657 GB, free: 33.39 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/4.754, allocations: 38.56 kB / 1.657 GB, free: 33.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001388/4.754, allocations: 388.3 kB / 1.657 GB, free: 33.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002273/4.757, allocations: 1 MB / 1.658 GB, free: 32.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002762/4.759, allocations: 1.43 MB / 1.66 GB, free: 31.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00275/4.762, allocations: 1.268 MB / 1.661 GB, free: 31.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/4.762, allocations: 3.969 kB / 1.661 GB, free: 31.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.007233/4.769, allocations: 3.039 MB / 1.664 GB, free: 30.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007835/4.77, allocations: 3.768 MB / 1.667 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/4.77, allocations: 12.97 kB / 1.668 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/4.771, allocations: 197.5 kB / 1.668 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003355/4.774, allocations: 0.5325 MB / 1.668 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/4.776, allocations: 2.321 MB / 1.67 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00337/4.779, allocations: 222.9 kB / 1.671 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000643/4.78, allocations: 193 kB / 1.671 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/4.78, allocations: 5.312 kB / 1.671 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006229/4.786, allocations: 2.768 MB / 1.674 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/4.786, allocations: 12.53 kB / 1.674 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005097/4.787, allocations: 191 kB / 1.674 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003107/4.79, allocations: 0.5237 MB / 1.674 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/4.791, allocations: 2.321 MB / 1.677 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003111/4.794, allocations: 214.3 kB / 1.677 GB, free: 20.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005246/4.795, allocations: 187.8 kB / 1.677 GB, free: 20.51 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (246): * Single equations (assignments): 240 * 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.0007738/4.796, allocations: 300.4 kB / 1.677 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005752/4.796, allocations: 209.5 kB / 1.677 GB, free: 20 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009376/4.806, allocations: 3.711 MB / 1.681 GB, free: 16.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/4.806, allocations: 20 kB / 1.681 GB, free: 16.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/4.806, allocations: 0 / 1.681 GB, free: 16.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005059/4.811, allocations: 2.729 MB / 1.684 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01475/4.826, allocations: 6.582 MB / 1.69 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/4.826, allocations: 4 kB / 1.69 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002538/4.828, allocations: 429.7 kB / 1.691 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005919/4.829, allocations: 185.6 kB / 1.691 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003762/4.829, allocations: 99.58 kB / 1.691 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002481/4.832, allocations: 3.064 MB / 1.694 GB, free: 21.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.755e-06/4.832, allocations: 5.844 kB / 1.694 GB, free: 21.01 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008322/4.84, allocations: 4.615 MB / 1.698 GB, free: 16.53 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001777/4.842, allocations: 0.5475 MB / 1.699 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006244/4.843, allocations: 59.66 kB / 1.699 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002133/4.845, allocations: 129 kB / 1.699 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004031/4.845, allocations: 166.6 kB / 1.699 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003549/4.846, allocations: 164.4 kB / 1.699 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001979/4.848, allocations: 1.086 MB / 1.7 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.6e-07/4.848, allocations: 0 / 1.7 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0083/4.856, allocations: 1.976 MB / 1.702 GB, free: 12.68 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe3.mediums[1].p,pipe3.mediums[1].T,junctionIdeal.medium.p,junctionIdeal.medium.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * 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 (191): * Single equations (assignments): 185 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007429/4.863, allocations: 2.484 MB / 1.705 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01098/4.874, allocations: 4.245 MB / 1.709 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/4.874, allocations: 0 / 1.709 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003568/4.878, allocations: 1.481 MB / 1.71 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006212/4.884, allocations: 0.979 MB / 1.711 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/4.895, allocations: 4.035 MB / 1.715 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003074/4.898, allocations: 1.782 MB / 1.717 GB, free: 15.96 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.00936/4.907, allocations: 1.537 MB / 1.719 GB, free: 14.89 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001823/4.909, allocations: 282.2 kB / 1.719 GB, free: 14.64 MB / 0.5418 GB Notification: Performance of SimCode: time 2.126e-06/4.909, allocations: 3.938 kB / 1.719 GB, free: 14.64 MB / 0.5418 GB Notification: Performance of Templates: time 0.5072/5.416, allocations: 80.85 MB / 1.798 GB, free: 68.77 MB / 0.5418 GB