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_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") Notification: Performance of loadModel(ModelicaTest): time 2.356/2.356, allocations: 270 MB / 283.6 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.356e-05/4.385e-05, allocations: 4 kB / 348.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3315, allocations: 61.88 MB / 410.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.602/1.934, allocations: 0.5613 GB / 0.962 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/1.934, allocations: 74.05 kB / 0.9621 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.355/4.289, allocations: 0.506 GB / 1.468 GB, free: 42.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.9e-06/4.289, allocations: 0 / 1.468 GB, free: 42.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001927/4.289, allocations: 71.86 kB / 1.468 GB, free: 42.36 MB / 0.5261 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.008031/4.297, allocations: 2.79 MB / 1.471 GB, free: 39.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/4.297, allocations: 8.031 kB / 1.471 GB, free: 39.49 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003772/4.301, allocations: 452.7 kB / 1.471 GB, free: 39.05 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005807/4.307, allocations: 1.921 MB / 1.473 GB, free: 37.08 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/4.307, allocations: 131 kB / 1.473 GB, free: 36.95 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005859/4.307, allocations: 164 kB / 1.473 GB, free: 36.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005206/4.313, allocations: 2.595 MB / 1.476 GB, free: 34.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.562e-05/4.313, allocations: 0 / 1.476 GB, free: 34.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003427/4.313, allocations: 71.97 kB / 1.476 GB, free: 33.97 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002218/4.313, allocations: 158.9 kB / 1.476 GB, free: 33.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00468/4.318, allocations: 2.165 MB / 1.478 GB, free: 31.65 MB / 0.5261 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.01769/4.336, allocations: 11.02 MB / 1.489 GB, free: 19.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003484/4.339, allocations: 1.764 MB / 1.491 GB, free: 18.03 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00207/4.341, allocations: 1.051 MB / 1.492 GB, free: 16.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009156/4.342, allocations: 0.5066 MB / 1.492 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002438/4.345, allocations: 1.276 MB / 1.494 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=162): time 5.377e-06/4.345, allocations: 0 / 1.494 GB, free: 15.06 MB / 0.5261 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.02776/4.373, allocations: 8.68 MB / 1.502 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.384e-05/4.373, allocations: 360.1 kB / 1.502 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002446/4.375, allocations: 1.4 MB / 1.504 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005052/4.376, allocations: 61.7 kB / 1.504 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000743/4.376, allocations: 0.8821 MB / 1.505 GB, free: 3.469 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007368/4.377, allocations: 0.6238 MB / 1.505 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/4.377, allocations: 36 kB / 1.505 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001312/4.378, allocations: 393.8 kB / 1.506 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002068/4.38, allocations: 1.004 MB / 1.507 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002543/4.382, allocations: 1.432 MB / 1.508 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003094/4.385, allocations: 1.272 MB / 1.509 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.761e-06/4.385, allocations: 0 / 1.509 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.008045/4.393, allocations: 3.051 MB / 1.512 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002139/4.396, allocations: 3.779 MB / 1.516 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/4.396, allocations: 15.94 kB / 1.516 GB, free: 7.332 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006731/4.396, allocations: 183.3 kB / 1.516 GB, free: 7.141 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003543/4.4, allocations: 0.5461 MB / 1.517 GB, free: 6.594 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/4.402, allocations: 2.315 MB / 1.519 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003359/4.406, allocations: 215.9 kB / 1.519 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006246/4.406, allocations: 195.9 kB / 1.519 GB, free: 3.773 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/4.406, allocations: 0 / 1.519 GB, free: 3.773 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007079/4.413, allocations: 2.779 MB / 1.522 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-05/4.413, allocations: 12 kB / 1.522 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008156/4.414, allocations: 187.3 kB / 1.522 GB, free: 0.7617 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003127/4.417, allocations: 0.5345 MB / 1.523 GB, free: 232 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/4.42, allocations: 2.319 MB / 1.525 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/4.423, allocations: 219.7 kB / 1.525 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005125/4.423, allocations: 184 kB / 1.525 GB, free: 13.41 MB / 0.5573 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.0008508/4.424, allocations: 299.4 kB / 1.526 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006231/4.425, allocations: 213.5 kB / 1.526 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/4.437, allocations: 4.611 MB / 1.53 GB, free: 8.242 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.672e-05/4.437, allocations: 20 kB / 1.53 GB, free: 8.223 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/4.437, allocations: 0 / 1.53 GB, free: 8.223 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006085/4.443, allocations: 2.74 MB / 1.533 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4081/4.851, allocations: 6.957 MB / 1.54 GB, free: 78.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-05/4.851, allocations: 7.25 kB / 1.54 GB, free: 78.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002827/4.854, allocations: 434.5 kB / 1.54 GB, free: 78.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006787/4.855, allocations: 188.5 kB / 1.541 GB, free: 78.02 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004908/4.855, allocations: 101.3 kB / 1.541 GB, free: 78.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/4.857, allocations: 3.068 MB / 1.544 GB, free: 75.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.101e-06/4.857, allocations: 8.875 kB / 1.544 GB, free: 75.24 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009379/4.867, allocations: 4.724 MB / 1.548 GB, free: 74 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001893/4.869, allocations: 0.54 MB / 1.549 GB, free: 73.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000941/4.87, allocations: 63.77 kB / 1.549 GB, free: 73.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002727/4.872, allocations: 134.4 kB / 1.549 GB, free: 73.91 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005531/4.873, allocations: 172.1 kB / 1.549 GB, free: 73.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004276/4.873, allocations: 159.4 kB / 1.549 GB, free: 73.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002364/4.876, allocations: 1.097 MB / 1.55 GB, free: 73.74 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.261e-06/4.876, allocations: 0 / 1.55 GB, free: 73.74 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007818/4.884, allocations: 1.796 MB / 1.552 GB, free: 73.74 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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.006323/4.89, allocations: 2.174 MB / 1.554 GB, free: 73.47 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01007/4.9, allocations: 4.25 MB / 1.558 GB, free: 73.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/4.9, allocations: 3.969 kB / 1.558 GB, free: 73.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003104/4.903, allocations: 1.489 MB / 1.56 GB, free: 72.95 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006125/4.909, allocations: 0.9668 MB / 1.561 GB, free: 72.93 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009442/4.919, allocations: 4.082 MB / 1.565 GB, free: 71.97 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001538/4.92, allocations: 1.725 MB / 1.566 GB, free: 71.23 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01108/4.932, allocations: 3.227 MB / 1.57 GB, free: 71.17 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001961/4.934, allocations: 319.2 kB / 1.57 GB, free: 71.16 MB / 0.5573 GB Notification: Performance of SimCode: time 1.826e-06/4.934, allocations: 3.781 kB / 1.57 GB, free: 71.16 MB / 0.5573 GB Notification: Performance of Templates: time 0.1512/5.085, allocations: 77.86 MB / 1.646 GB, free: 66.98 MB / 0.5573 GB