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.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") Notification: Performance of loadModel(ModelicaTest): time 2.149/2.149, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.45e-05/3.433e-05, allocations: 4 kB / 304.9 MB, free: 5.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3279, allocations: 54.85 MB / 359.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.541/1.869, allocations: 0.6876 GB / 1.039 GB, free: 43.65 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/1.869, allocations: 80.36 kB / 1.039 GB, free: 43.61 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.681/4.55, allocations: 0.5495 GB / 1.589 GB, free: 38.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.153e-06/4.55, allocations: 3.938 kB / 1.589 GB, free: 38.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002693/4.55, allocations: 63.41 kB / 1.589 GB, free: 38.68 MB / 490.7 MB 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.01109/4.561, allocations: 3.013 MB / 1.592 GB, free: 36.97 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/4.561, allocations: 11.59 kB / 1.592 GB, free: 36.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004389/4.566, allocations: 450.2 kB / 1.592 GB, free: 36.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006833/4.572, allocations: 1.933 MB / 1.594 GB, free: 35.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000216/4.573, allocations: 128.5 kB / 1.594 GB, free: 35.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007618/4.574, allocations: 161.7 kB / 1.594 GB, free: 35.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006163/4.58, allocations: 2.553 MB / 1.597 GB, free: 34.69 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.253e-05/4.58, allocations: 6.969 kB / 1.597 GB, free: 34.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003729/4.58, allocations: 74.97 kB / 1.597 GB, free: 34.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002368/4.58, allocations: 157.8 kB / 1.597 GB, free: 34.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005679/4.586, allocations: 2.148 MB / 1.599 GB, free: 33.88 MB / 490.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.01972/4.606, allocations: 10.96 MB / 1.61 GB, free: 24.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003652/4.61, allocations: 1.733 MB / 1.611 GB, free: 22.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002128/4.612, allocations: 1.032 MB / 1.612 GB, free: 21.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/4.613, allocations: 459.6 kB / 1.613 GB, free: 21.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002511/4.615, allocations: 1.141 MB / 1.614 GB, free: 20.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=162): time 6.148e-06/4.615, allocations: 4 kB / 1.614 GB, free: 20.28 MB / 490.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=185): time 0.02883/4.644, allocations: 8.478 MB / 1.622 GB, free: 11.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/4.644, allocations: 257.3 kB / 1.622 GB, free: 11.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002503/4.647, allocations: 1.322 MB / 1.624 GB, free: 10.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005574/4.648, allocations: 65.7 kB / 1.624 GB, free: 9.996 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000771/4.648, allocations: 0.8716 MB / 1.625 GB, free: 9.117 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000814/4.649, allocations: 0.6314 MB / 1.625 GB, free: 8.492 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/4.649, allocations: 40 kB / 1.625 GB, free: 8.453 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/4.65, allocations: 390 kB / 1.626 GB, free: 8.066 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002076/4.652, allocations: 0.9841 MB / 1.627 GB, free: 7.078 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/4.654, allocations: 1.422 MB / 1.628 GB, free: 5.492 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002662/4.657, allocations: 1.264 MB / 1.629 GB, free: 4.223 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/4.657, allocations: 8 kB / 1.629 GB, free: 4.215 MB / 490.7 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.007024/4.664, allocations: 2.966 MB / 1.632 GB, free: 1.215 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001991/4.666, allocations: 4.286 MB / 1.636 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/4.666, allocations: 8 kB / 1.636 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006949/4.667, allocations: 191.3 kB / 1.637 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003841/4.671, allocations: 0.55 MB / 1.637 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/4.673, allocations: 2.327 MB / 1.639 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003608/4.677, allocations: 218.9 kB / 1.64 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008021/4.677, allocations: 188 kB / 1.64 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/4.677, allocations: 6.5 kB / 1.64 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007482/4.685, allocations: 2.689 MB / 1.642 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-05/4.685, allocations: 12 kB / 1.642 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006082/4.686, allocations: 199.4 kB / 1.643 GB, free: 6.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00361/4.689, allocations: 0.5267 MB / 1.643 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/4.692, allocations: 2.334 MB / 1.645 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003311/4.695, allocations: 207.8 kB / 1.646 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007702/4.696, allocations: 188 kB / 1.646 GB, free: 2.672 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (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.0009668/4.697, allocations: 300.8 kB / 1.646 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007121/4.698, allocations: 209.4 kB / 1.646 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/4.709, allocations: 3.469 MB / 1.65 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.974e-05/4.709, allocations: 20 kB / 1.65 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/4.709, allocations: 0 / 1.65 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006444/4.715, allocations: 2.701 MB / 1.652 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01847/4.734, allocations: 6.859 MB / 1.659 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/4.734, allocations: 4.844 kB / 1.659 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002933/4.737, allocations: 447.4 kB / 1.659 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000677/4.737, allocations: 187.3 kB / 1.66 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004682/4.738, allocations: 107.9 kB / 1.66 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003089/4.741, allocations: 3.061 MB / 1.663 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/4.741, allocations: 11.94 kB / 1.663 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3356/5.077, allocations: 4.642 MB / 1.667 GB, free: 67 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002005/5.079, allocations: 0.5273 MB / 1.668 GB, free: 66.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009164/5.08, allocations: 63.33 kB / 1.668 GB, free: 66.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002642/5.082, allocations: 129.8 kB / 1.668 GB, free: 66.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005788/5.083, allocations: 174.5 kB / 1.668 GB, free: 66.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004845/5.084, allocations: 172.4 kB / 1.668 GB, free: 66.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00237/5.086, allocations: 1.005 MB / 1.669 GB, free: 66.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.43e-07/5.086, allocations: 0 / 1.669 GB, free: 66.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009055/5.095, allocations: 1.948 MB / 1.671 GB, free: 66.79 MB / 0.5105 GB 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: 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 (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.008033/5.103, allocations: 2.464 MB / 1.674 GB, free: 66.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01078/5.114, allocations: 4.271 MB / 1.678 GB, free: 66.19 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.538e-05/5.114, allocations: 4.156 kB / 1.678 GB, free: 66.19 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003643/5.118, allocations: 1.523 MB / 1.679 GB, free: 65.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006404/5.124, allocations: 0.9226 MB / 1.68 GB, free: 65.94 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/5.141, allocations: 5.487 MB / 1.685 GB, free: 65 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001638/5.143, allocations: 1.726 MB / 1.687 GB, free: 64.26 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009223/5.152, allocations: 1.531 MB / 1.689 GB, free: 64.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001852/5.154, allocations: 286.5 kB / 1.689 GB, free: 64.23 MB / 0.5105 GB Notification: Performance of SimCode: time 1.672e-06/5.154, allocations: 0 / 1.689 GB, free: 64.23 MB / 0.5105 GB Notification: Performance of Templates: time 0.1507/5.305, allocations: 78.26 MB / 1.765 GB, free: 59.23 MB / 0.5105 GB