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.873/1.873, allocations: 209.3 MB / 223.8 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.026e-05/2.992e-05, allocations: 4 kB / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.348, allocations: 48.7 MB / 324.9 MB, free: 3.102 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15): time 0.6279/0.9759, allocations: 174.9 MB / 499.8 MB, free: 3.445 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0417/1.018, allocations: 20.35 MB / 0.5079 GB, free: 3.129 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003537/1.021, allocations: 107.5 kB / 0.508 GB, free: 3.129 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003731/1.025, allocations: 0.9034 MB / 0.5089 GB, free: 3.117 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01364/1.039, allocations: 3.142 MB / 0.512 GB, free: 3.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0186/1.057, allocations: 4.726 MB / 0.5166 GB, free: 2.508 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.007262/1.065, allocations: 2.872 MB / 0.5194 GB, free: 1.996 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00229/1.067, allocations: 1.042 MB / 0.5204 GB, free: 1.578 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005466/1.073, allocations: 1.721 MB / 0.5221 GB, free: 1.332 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004351/1.077, allocations: 1.488 MB / 0.5236 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01108/1.088, allocations: 3.148 MB / 0.5266 GB, free: 364 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002669/1.091, allocations: 252.9 kB / 0.5269 GB, free: 364 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0022/1.093, allocations: 0.7234 MB / 0.5276 GB, free: 156 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00191/1.095, allocations: 241.8 kB / 0.5278 GB, free: 156 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009668/1.105, allocations: 3.767 MB / 0.5315 GB, free: 14.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.105, allocations: 0 / 0.5315 GB, free: 14.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.424e-06/1.105, allocations: 0 / 0.5315 GB, free: 14.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001238/1.105, allocations: 0 / 0.5315 GB, free: 14.43 MB / 426.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.0102/1.115, allocations: 2.658 MB / 0.5341 GB, free: 12.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/1.115, allocations: 9.906 kB / 0.5341 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004379/1.12, allocations: 421.5 kB / 0.5345 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004637/1.124, allocations: 1.429 MB / 0.5359 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/1.125, allocations: 130.7 kB / 0.536 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006332/1.125, allocations: 160.8 kB / 0.5362 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006994/1.132, allocations: 2.503 MB / 0.5386 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.87e-05/1.132, allocations: 10.08 kB / 0.5386 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003277/1.133, allocations: 72.44 kB / 0.5387 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004107/1.133, allocations: 189.5 kB / 0.5389 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007174/1.14, allocations: 2.208 MB / 0.541 GB, free: 10.68 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.02557/1.166, allocations: 10.69 MB / 0.5515 GB, free: 2.445 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005219/1.171, allocations: 1.785 MB / 0.5532 GB, free: 1.086 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001515/1.173, allocations: 451 kB / 0.5536 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003347/1.176, allocations: 1.144 MB / 0.5548 GB, free: 15.76 MB / 442.7 MB Notification: Performance of pre-optimization done (n=158): time 6.252e-06/1.176, allocations: 0 / 0.5548 GB, free: 15.76 MB / 442.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 4: junctionIdeal.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=181): time 0.0471/1.223, allocations: 10.81 MB / 0.5653 GB, free: 7.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/1.223, allocations: 182.5 kB / 0.5655 GB, free: 6.949 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002784/1.226, allocations: 1.309 MB / 0.5668 GB, free: 5.949 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005449/1.227, allocations: 58.77 kB / 0.5668 GB, free: 5.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001/1.228, allocations: 0.8983 MB / 0.5677 GB, free: 5.355 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001138/1.229, allocations: 0.6164 MB / 0.5683 GB, free: 4.828 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/1.229, allocations: 37.94 kB / 0.5683 GB, free: 4.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002414/1.23, allocations: 397.2 kB / 0.5687 GB, free: 4.461 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002993/1.233, allocations: 1.005 MB / 0.5697 GB, free: 3.785 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003641/1.236, allocations: 1.497 MB / 0.5712 GB, free: 2.488 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003771/1.24, allocations: 1.289 MB / 0.5724 GB, free: 1.656 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.095e-05/1.24, allocations: 4 kB / 0.5724 GB, free: 1.652 MB / 442.7 MB Notification: Performance of matching and sorting (n=271) (initialization): time 0.009687/1.25, allocations: 3.107 MB / 0.5755 GB, free: 15.44 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00247/1.252, allocations: 5.26 MB / 0.5806 GB, free: 9.785 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-05/1.252, allocations: 12 kB / 0.5806 GB, free: 9.773 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008274/1.253, allocations: 198.9 kB / 0.5808 GB, free: 9.594 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004859/1.258, allocations: 0.5573 MB / 0.5813 GB, free: 9.082 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/1.26, allocations: 2.34 MB / 0.5836 GB, free: 6.734 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004075/1.265, allocations: 212.6 kB / 0.5838 GB, free: 6.559 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000845/1.265, allocations: 186.1 kB / 0.584 GB, free: 6.395 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.265, allocations: 4 kB / 0.584 GB, free: 6.391 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008614/1.274, allocations: 2.86 MB / 0.5868 GB, free: 4.434 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.446e-05/1.274, allocations: 16 kB / 0.5868 GB, free: 4.418 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000653/1.275, allocations: 194.9 kB / 0.587 GB, free: 4.242 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004644/1.28, allocations: 0.5495 MB / 0.5875 GB, free: 3.738 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/1.282, allocations: 2.34 MB / 0.5898 GB, free: 1.391 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003833/1.286, allocations: 200.8 kB / 0.59 GB, free: 1.227 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007353/1.286, allocations: 188.3 kB / 0.5902 GB, free: 1.062 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (259): * Single equations (assignments): 253 * 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.002006/1.288, allocations: 0.6114 MB / 0.5908 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008055/1.289, allocations: 209.5 kB / 0.591 GB, free: 436 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01327/1.303, allocations: 3.495 MB / 0.5944 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.24e-05/1.303, allocations: 23.95 kB / 0.5944 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.303, allocations: 0 / 0.5944 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007244/1.31, allocations: 2.72 MB / 0.5971 GB, free: 11.76 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0203/1.33, allocations: 6.765 MB / 0.6037 GB, free: 6.434 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-05/1.33, allocations: 4 kB / 0.6037 GB, free: 6.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003881/1.334, allocations: 447.8 kB / 0.6041 GB, free: 6.027 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007752/1.335, allocations: 192.8 kB / 0.6043 GB, free: 5.852 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005045/1.336, allocations: 99.06 kB / 0.6044 GB, free: 5.785 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002834/1.338, allocations: 3.085 MB / 0.6074 GB, free: 2.645 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/1.338, allocations: 10.72 kB / 0.6074 GB, free: 2.637 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/1.35, allocations: 4.621 MB / 0.6119 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001934/1.352, allocations: 0.5161 MB / 0.6124 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008561/1.353, allocations: 64.88 kB / 0.6125 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002804/1.356, allocations: 121.4 kB / 0.6126 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006752/1.357, allocations: 180.2 kB / 0.6128 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004823/1.357, allocations: 164.1 kB / 0.6129 GB, free: 14.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002533/1.36, allocations: 0.9848 MB / 0.6139 GB, free: 13.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.82e-07/1.36, allocations: 0 / 0.6139 GB, free: 13.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007741/1.368, allocations: 1.695 MB / 0.6156 GB, free: 11.8 MB / 490.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.00565/1.373, allocations: 1.256 MB / 0.6168 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0135/1.387, allocations: 4.352 MB / 0.621 GB, free: 7.551 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.448e-05/1.387, allocations: 0 / 0.621 GB, free: 7.551 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004169/1.391, allocations: 1.501 MB / 0.6225 GB, free: 6.422 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007961/1.399, allocations: 0.9083 MB / 0.6234 GB, free: 5.672 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01476/1.414, allocations: 5.644 MB / 0.6289 GB, free: 500 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002095/1.416, allocations: 1.724 MB / 0.6306 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01043/1.426, allocations: 1.535 MB / 0.6321 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00211/1.429, allocations: 289.3 kB / 0.6324 GB, free: 13 MB / 0.4948 GB Notification: Performance of SimCode: time 1.843e-06/1.429, allocations: 0 / 0.6324 GB, free: 13 MB / 0.4948 GB Notification: Performance of Templates: time 0.4156/1.844, allocations: 57.8 MB / 0.6888 GB, free: 226.4 MB / 0.5105 GB