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.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") Notification: Performance of loadModel(ModelicaTest): time 1.813/1.813, allocations: 209.3 MB / 221.5 MB, free: 1.867 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.471e-05, allocations: 4 kB / 273.1 MB, free: 252 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1016, allocations: 48.7 MB / 321.8 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.894/1.996, allocations: 0.681 GB / 0.9952 GB, free: 121.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/1.996, allocations: 74.39 kB / 0.9953 GB, free: 121.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.658/4.654, allocations: 0.5492 GB / 1.544 GB, free: 36.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.987e-06/4.654, allocations: 0 / 1.544 GB, free: 36.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002441/4.654, allocations: 67.94 kB / 1.545 GB, free: 36.22 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.01029/4.664, allocations: 2.997 MB / 1.547 GB, free: 35.02 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/4.664, allocations: 10.53 kB / 1.547 GB, free: 35.02 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004373/4.669, allocations: 440 kB / 1.548 GB, free: 34.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006682/4.675, allocations: 1.927 MB / 1.55 GB, free: 34.46 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/4.676, allocations: 127.4 kB / 1.55 GB, free: 34.46 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007583/4.676, allocations: 169 kB / 1.55 GB, free: 34.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006286/4.683, allocations: 2.549 MB / 1.553 GB, free: 34.03 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.54e-05/4.683, allocations: 8.469 kB / 1.553 GB, free: 34.03 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003777/4.683, allocations: 70.2 kB / 1.553 GB, free: 34.03 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002254/4.683, allocations: 152.1 kB / 1.553 GB, free: 34.03 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005581/4.689, allocations: 2.137 MB / 1.555 GB, free: 34.02 MB / 458.7 MB 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.02/4.709, allocations: 10.93 MB / 1.566 GB, free: 28.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003752/4.713, allocations: 1.738 MB / 1.567 GB, free: 27.82 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002318/4.715, allocations: 1.021 MB / 1.568 GB, free: 27.81 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/4.716, allocations: 458.8 kB / 1.569 GB, free: 27.52 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00252/4.719, allocations: 1.137 MB / 1.57 GB, free: 27.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=158): time 6.635e-06/4.719, allocations: 2.156 kB / 1.57 GB, free: 27.4 MB / 458.7 MB 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=181): time 0.02942/4.748, allocations: 8.478 MB / 1.578 GB, free: 26.22 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/4.749, allocations: 259.5 kB / 1.578 GB, free: 25.94 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/4.751, allocations: 1.326 MB / 1.58 GB, free: 25.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005433/4.752, allocations: 63.73 kB / 1.58 GB, free: 25.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007821/4.752, allocations: 0.8673 MB / 1.581 GB, free: 25.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007454/4.753, allocations: 0.6152 MB / 1.581 GB, free: 25.01 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/4.753, allocations: 42.91 kB / 1.581 GB, free: 25.01 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/4.754, allocations: 391.8 kB / 1.582 GB, free: 24.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/4.756, allocations: 0.9725 MB / 1.582 GB, free: 24.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002842/4.759, allocations: 1.41 MB / 1.584 GB, free: 24.26 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002914/4.762, allocations: 1.258 MB / 1.585 GB, free: 24.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/4.762, allocations: 3.688 kB / 1.585 GB, free: 24.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.007627/4.769, allocations: 2.995 MB / 1.588 GB, free: 23.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000895/4.77, allocations: 4.292 MB / 1.592 GB, free: 19.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/4.77, allocations: 9.719 kB / 1.592 GB, free: 19.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00063/4.771, allocations: 189.5 kB / 1.592 GB, free: 19.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003516/4.774, allocations: 0.5411 MB / 1.593 GB, free: 19.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/4.776, allocations: 2.326 MB / 1.595 GB, free: 17.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003509/4.78, allocations: 211.8 kB / 1.595 GB, free: 17.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000724/4.78, allocations: 186.6 kB / 1.596 GB, free: 17.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/4.78, allocations: 3.25 kB / 1.596 GB, free: 17.28 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006792/4.787, allocations: 2.719 MB / 1.598 GB, free: 17.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-05/4.787, allocations: 12.44 kB / 1.598 GB, free: 17.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005184/4.788, allocations: 192.7 kB / 1.598 GB, free: 17.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003201/4.791, allocations: 0.5373 MB / 1.599 GB, free: 17.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/4.793, allocations: 2.329 MB / 1.601 GB, free: 15.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003156/4.796, allocations: 211.7 kB / 1.601 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007724/4.797, allocations: 191 kB / 1.602 GB, free: 15.02 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 244 * 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.0008279/4.797, allocations: 288.3 kB / 1.602 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006185/4.798, allocations: 204.3 kB / 1.602 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/4.808, allocations: 3.479 MB / 1.605 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/4.808, allocations: 18.72 kB / 1.605 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/4.808, allocations: 0 / 1.605 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005742/4.814, allocations: 2.712 MB / 1.608 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01622/4.83, allocations: 6.843 MB / 1.615 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/4.831, allocations: 3.875 kB / 1.615 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002873/4.833, allocations: 449.6 kB / 1.615 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006477/4.834, allocations: 192.9 kB / 1.615 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004187/4.835, allocations: 103.3 kB / 1.616 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002767/4.837, allocations: 3.056 MB / 1.619 GB, free: 25.59 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.853e-06/4.837, allocations: 10.91 kB / 1.619 GB, free: 25.59 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008958/4.846, allocations: 4.647 MB / 1.623 GB, free: 24.37 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001802/4.848, allocations: 0.526 MB / 1.624 GB, free: 24.16 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006872/4.849, allocations: 55.92 kB / 1.624 GB, free: 24.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002414/4.851, allocations: 129.8 kB / 1.624 GB, free: 24.16 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004428/4.852, allocations: 175 kB / 1.624 GB, free: 24.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003819/4.852, allocations: 169.3 kB / 1.624 GB, free: 24.15 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001957/4.854, allocations: 1.009 MB / 1.625 GB, free: 24.03 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.459e-06/4.854, allocations: 0 / 1.625 GB, free: 24.03 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007919/4.862, allocations: 1.941 MB / 1.627 GB, free: 23.62 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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: 10 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent) * Number of discrete states: 10 (valveOpening2.last,valveOpening2.nextEvent,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 190 * 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.00706/4.869, allocations: 2.477 MB / 1.629 GB, free: 22.96 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01026/4.88, allocations: 4.149 MB / 1.633 GB, free: 21.46 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/4.88, allocations: 4 kB / 1.633 GB, free: 21.46 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003253/4.883, allocations: 1.465 MB / 1.635 GB, free: 20.83 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005782/4.889, allocations: 0.9201 MB / 1.636 GB, free: 20.64 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/4.904, allocations: 5.458 MB / 1.641 GB, free: 17.82 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0018/4.906, allocations: 1.719 MB / 1.643 GB, free: 16.43 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009121/4.915, allocations: 1.529 MB / 1.644 GB, free: 15.38 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001792/4.917, allocations: 288.1 kB / 1.645 GB, free: 15.13 MB / 474.7 MB Notification: Performance of SimCode: time 1.798e-06/4.917, allocations: 4 kB / 1.645 GB, free: 15.13 MB / 474.7 MB Notification: Performance of Templates: time 0.4748/5.392, allocations: 78.33 MB / 1.721 GB, free: 46.75 MB / 474.7 MB