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.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17") Notification: Performance of loadModel(ModelicaTest): time 2.339/2.339, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.164e-05/3.17e-05, allocations: 4 kB / 323.4 MB, free: 4.32 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.319, allocations: 58.84 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.638/1.957, allocations: 0.6918 GB / 1.065 GB, free: 58.41 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/1.958, allocations: 81.7 kB / 1.065 GB, free: 58.37 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.907/4.865, allocations: 0.6197 GB / 1.685 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.554e-06/4.865, allocations: 0 / 1.685 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.00024/4.865, allocations: 67.92 kB / 1.685 GB, free: 23.48 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.01072/4.876, allocations: 3.193 MB / 1.688 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/4.876, allocations: 11.98 kB / 1.688 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004245/4.88, allocations: 456.7 kB / 1.688 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006576/4.887, allocations: 2 MB / 1.69 GB, free: 17.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/4.887, allocations: 143.2 kB / 1.691 GB, free: 17.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007526/4.888, allocations: 175.9 kB / 1.691 GB, free: 17.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005975/4.894, allocations: 2.7 MB / 1.693 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.584e-05/4.894, allocations: 1.781 kB / 1.693 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000379/4.894, allocations: 75.97 kB / 1.693 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002354/4.895, allocations: 163.1 kB / 1.694 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005219/4.9, allocations: 2.251 MB / 1.696 GB, free: 12.05 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.02032/4.92, allocations: 11.61 MB / 1.707 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004967/4.925, allocations: 1.836 MB / 1.709 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00287/4.928, allocations: 1.108 MB / 1.71 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/4.93, allocations: 457.1 kB / 1.71 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003458/4.933, allocations: 1.32 MB / 1.712 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=172): time 6.803e-06/4.933, allocations: 0 / 1.712 GB, free: 10.77 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 4: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=200): time 0.03762/4.971, allocations: 9.653 MB / 1.721 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002654/4.971, allocations: 372 kB / 1.722 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003417/4.974, allocations: 1.463 MB / 1.723 GB, free: 15.04 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0006382/4.975, allocations: 69.7 kB / 1.723 GB, free: 14.97 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001244/4.976, allocations: 0.9099 MB / 1.724 GB, free: 14.05 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001251/4.978, allocations: 0.6739 MB / 1.725 GB, free: 13.36 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000286/4.978, allocations: 44 kB / 1.725 GB, free: 13.32 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0002982/4.978, allocations: 394.3 kB / 1.725 GB, free: 12.93 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002774/4.981, allocations: 1.051 MB / 1.726 GB, free: 11.88 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00361/4.985, allocations: 1.513 MB / 1.727 GB, free: 10.18 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003516/4.988, allocations: 1.336 MB / 1.729 GB, free: 8.832 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.135e-05/4.988, allocations: 4 kB / 1.729 GB, free: 8.828 MB / 0.5418 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.009505/4.998, allocations: 3.278 MB / 1.732 GB, free: 5.512 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.002554/5, allocations: 4.335 MB / 1.736 GB, free: 0.832 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.914e-05/5.001, allocations: 12 kB / 1.736 GB, free: 0.8203 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/5.002, allocations: 300.1 kB / 1.737 GB, free: 0.5117 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3634/5.365, allocations: 0.5542 MB / 1.737 GB, free: 62.93 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004134/5.37, allocations: 2.997 MB / 1.74 GB, free: 60.36 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006811/5.377, allocations: 223.4 kB / 1.74 GB, free: 60.36 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001325/5.378, allocations: 207.9 kB / 1.74 GB, free: 60.36 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/5.378, allocations: 3.531 kB / 1.74 GB, free: 60.36 MB / 0.5418 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01482/5.393, allocations: 2.999 MB / 1.743 GB, free: 60.22 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-05/5.393, allocations: 11 kB / 1.743 GB, free: 60.22 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00178/5.395, allocations: 305.5 kB / 1.744 GB, free: 60.18 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006185/5.401, allocations: 0.5527 MB / 1.744 GB, free: 60.18 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003474/5.405, allocations: 2.995 MB / 1.747 GB, free: 57.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006227/5.411, allocations: 228.7 kB / 1.747 GB, free: 57.6 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009998/5.412, allocations: 196.9 kB / 1.747 GB, free: 57.6 MB / 0.5418 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 (261): * Single equations (assignments): 254 * 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.001228/5.413, allocations: 306.6 kB / 1.748 GB, free: 57.43 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/5.414, allocations: 232.8 kB / 1.748 GB, free: 57.43 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0204/5.435, allocations: 3.898 MB / 1.752 GB, free: 57.2 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.595e-05/5.435, allocations: 21.88 kB / 1.752 GB, free: 57.2 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.145e-05/5.435, allocations: 3.938 kB / 1.752 GB, free: 57.2 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007975/5.443, allocations: 2.983 MB / 1.755 GB, free: 56.61 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0181/5.461, allocations: 7.06 MB / 1.762 GB, free: 55.35 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-05/5.461, allocations: 7.125 kB / 1.762 GB, free: 55.35 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002748/5.464, allocations: 463.5 kB / 1.762 GB, free: 55.35 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001141/5.465, allocations: 310 kB / 1.762 GB, free: 55.31 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005332/5.466, allocations: 114.6 kB / 1.762 GB, free: 55.31 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002644/5.468, allocations: 3.743 MB / 1.766 GB, free: 52 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.885e-06/5.468, allocations: 10.53 kB / 1.766 GB, free: 52 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/5.478, allocations: 4.982 MB / 1.771 GB, free: 50.86 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/5.481, allocations: 0.5656 MB / 1.772 GB, free: 50.65 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008934/5.481, allocations: 63.16 kB / 1.772 GB, free: 50.65 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002742/5.484, allocations: 141.4 kB / 1.772 GB, free: 50.64 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005464/5.485, allocations: 186.6 kB / 1.772 GB, free: 50.63 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004644/5.485, allocations: 185.8 kB / 1.772 GB, free: 50.63 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.002325/5.488, allocations: 1.113 MB / 1.773 GB, free: 50.47 MB / 0.5418 GB Notification: Performance of sort global known variables: time 9.02e-07/5.488, allocations: 0 / 1.773 GB, free: 50.47 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.008761/5.496, allocations: 2.089 MB / 1.775 GB, free: 50.47 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (206): * Single equations (assignments): 199 * 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.007697/5.504, allocations: 2.64 MB / 1.778 GB, free: 50.14 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01058/5.515, allocations: 4.521 MB / 1.782 GB, free: 49.84 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/5.515, allocations: 3.969 kB / 1.782 GB, free: 49.84 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.003618/5.519, allocations: 1.598 MB / 1.784 GB, free: 49.61 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006891/5.525, allocations: 1.116 MB / 1.785 GB, free: 49.59 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/5.536, allocations: 4.318 MB / 1.789 GB, free: 48.61 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/5.538, allocations: 1.764 MB / 1.791 GB, free: 47.88 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.00982/5.547, allocations: 1.601 MB / 1.792 GB, free: 47.84 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001942/5.549, allocations: 299.3 kB / 1.793 GB, free: 47.84 MB / 0.5418 GB Notification: Performance of SimCode: time 1.964e-06/5.549, allocations: 0 / 1.793 GB, free: 47.84 MB / 0.5418 GB Notification: Performance of Templates: time 0.1757/5.725, allocations: 88.39 MB / 1.879 GB, free: 35.12 MB / 0.5418 GB