Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|junctionVolume.medium.T|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.BranchingPipes17") Notification: Performance of loadModel(ModelicaTest): time 2.271/2.271, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.766e-05/4.787e-05, allocations: 8 kB / 304.9 MB, free: 5.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.3985, allocations: 54.85 MB / 359.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.649/2.048, allocations: 0.6877 GB / 1.039 GB, free: 43.21 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/2.048, allocations: 73.28 kB / 1.039 GB, free: 43.18 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.258/5.307, allocations: 0.6141 GB / 1.653 GB, free: 36.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.982e-06/5.307, allocations: 5.375 kB / 1.653 GB, free: 36.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002592/5.307, allocations: 63.38 kB / 1.653 GB, free: 36.21 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.01073/5.318, allocations: 3.192 MB / 1.656 GB, free: 35.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/5.318, allocations: 8.875 kB / 1.656 GB, free: 35.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00425/5.322, allocations: 458 kB / 1.657 GB, free: 35.08 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007073/5.329, allocations: 2.003 MB / 1.659 GB, free: 34.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/5.329, allocations: 135 kB / 1.659 GB, free: 34.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000616/5.33, allocations: 173.7 kB / 1.659 GB, free: 34.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006163/5.336, allocations: 2.68 MB / 1.662 GB, free: 34.28 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-05/5.336, allocations: 11 kB / 1.662 GB, free: 34.28 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003486/5.337, allocations: 79.08 kB / 1.662 GB, free: 34.28 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002441/5.337, allocations: 153.1 kB / 1.662 GB, free: 34.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005761/5.343, allocations: 2.241 MB / 1.664 GB, free: 34.27 MB / 0.4948 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.02015/5.363, allocations: 11.53 MB / 1.675 GB, free: 28.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004037/5.367, allocations: 1.809 MB / 1.677 GB, free: 27.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002416/5.369, allocations: 1.088 MB / 1.678 GB, free: 27.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/5.371, allocations: 464.5 kB / 1.679 GB, free: 27.51 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0024/5.373, allocations: 1.19 MB / 1.68 GB, free: 27.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=172): time 6.437e-06/5.373, allocations: 5.969 kB / 1.68 GB, free: 27.38 MB / 0.4948 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=200): time 0.03468/5.408, allocations: 9.511 MB / 1.689 GB, free: 26.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.392e-05/5.408, allocations: 260.8 kB / 1.689 GB, free: 25.92 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002511/5.41, allocations: 1.386 MB / 1.691 GB, free: 25.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005348/5.411, allocations: 67.55 kB / 1.691 GB, free: 25.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008128/5.412, allocations: 0.9249 MB / 1.692 GB, free: 25.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007828/5.413, allocations: 0.6719 MB / 1.692 GB, free: 24.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/5.413, allocations: 46.38 kB / 1.692 GB, free: 24.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001511/5.413, allocations: 394.6 kB / 1.693 GB, free: 24.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002289/5.415, allocations: 1.035 MB / 1.694 GB, free: 24.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002781/5.418, allocations: 1.52 MB / 1.695 GB, free: 24.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002953/5.421, allocations: 1.331 MB / 1.697 GB, free: 24.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/5.421, allocations: 3.688 kB / 1.697 GB, free: 24.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.007897/5.429, allocations: 3.192 MB / 1.7 GB, free: 23.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009972/5.43, allocations: 4.843 MB / 1.704 GB, free: 18.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/5.43, allocations: 14.25 kB / 1.704 GB, free: 18.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/5.431, allocations: 297.8 kB / 1.705 GB, free: 18.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003513/5.435, allocations: 0.5724 MB / 1.705 GB, free: 18.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/5.437, allocations: 3.001 MB / 1.708 GB, free: 16.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003581/5.44, allocations: 215.5 kB / 1.708 GB, free: 16.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005627/5.441, allocations: 210.1 kB / 1.709 GB, free: 16.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/5.441, allocations: 6.062 kB / 1.709 GB, free: 16.04 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006693/5.448, allocations: 2.921 MB / 1.712 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-05/5.448, allocations: 10.91 kB / 1.712 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/5.449, allocations: 309.5 kB / 1.712 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003046/5.452, allocations: 0.5593 MB / 1.712 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00303/5.455, allocations: 3.004 MB / 1.715 GB, free: 29.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003185/5.458, allocations: 227.2 kB / 1.716 GB, free: 29.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004776/5.459, allocations: 202.6 kB / 1.716 GB, free: 29.24 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (265): * Single equations (assignments): 258 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008361/5.46, allocations: 308.2 kB / 1.716 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005426/5.46, allocations: 219.6 kB / 1.716 GB, free: 28.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/5.471, allocations: 3.737 MB / 1.72 GB, free: 28.69 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/5.471, allocations: 24.56 kB / 1.72 GB, free: 28.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/5.471, allocations: 0 / 1.72 GB, free: 28.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005952/5.477, allocations: 2.886 MB / 1.723 GB, free: 28.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01604/5.493, allocations: 6.971 MB / 1.729 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.741e-05/5.493, allocations: 9.141 kB / 1.73 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002792/5.496, allocations: 460.8 kB / 1.73 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001187/5.497, allocations: 327 kB / 1.73 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003676/5.497, allocations: 111.4 kB / 1.73 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003549/5.501, allocations: 3.738 MB / 1.734 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.926e-06/5.501, allocations: 11.47 kB / 1.734 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009415/5.51, allocations: 4.869 MB / 1.739 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001919/5.512, allocations: 0.5547 MB / 1.739 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006333/5.513, allocations: 65.75 kB / 1.739 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002208/5.515, allocations: 134.7 kB / 1.74 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004106/5.516, allocations: 185.1 kB / 1.74 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003986/5.516, allocations: 187.3 kB / 1.74 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002052/5.518, allocations: 1.044 MB / 1.741 GB, free: 21.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.127e-06/5.518, allocations: 0 / 1.741 GB, free: 21.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009441/5.528, allocations: 2.064 MB / 1.743 GB, free: 21.65 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 9 (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,junctionVolume.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 (205): * Single equations (assignments): 198 * 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: 5 * 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: 4 {1 6,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007607/5.535, allocations: 2.623 MB / 1.745 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009973/5.545, allocations: 4.525 MB / 1.75 GB, free: 20.72 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/5.545, allocations: 3.875 kB / 1.75 GB, free: 20.72 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003313/5.549, allocations: 1.606 MB / 1.751 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006618/5.555, allocations: 1.05 MB / 1.752 GB, free: 20.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01613/5.572, allocations: 5.719 MB / 1.758 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001809/5.573, allocations: 1.762 MB / 1.76 GB, free: 18.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009518/5.583, allocations: 1.579 MB / 1.761 GB, free: 18.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001911/5.585, allocations: 304.7 kB / 1.762 GB, free: 18.64 MB / 0.5105 GB Notification: Performance of SimCode: time 2.491e-06/5.585, allocations: 0 / 1.762 GB, free: 18.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.1721/5.757, allocations: 85.28 MB / 1.845 GB, free: 13.87 MB / 0.5417 GB