Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase") Notification: Performance of loadModel(Buildings): time 3.763/3.763, allocations: 402 MB / 416.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.679e-05/4.703e-05, allocations: 4 kB / 0.5009 GB, free: 8.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2292, allocations: 92.7 MB / 0.5915 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase): time 6.636/6.866, allocations: 1.556 GB / 2.148 GB, free: 47.5 MB / 1.198 GB Notification: Performance of NFInst.instExpressions: time 0.917/7.783, allocations: 446.9 MB / 2.584 GB, free: 0.9336 MB / 1.385 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1169/7.9, allocations: 2.81 MB / 2.587 GB, free: 14.11 MB / 1.401 GB Notification: Performance of NFTyping.typeComponents: time 1.66/9.559, allocations: 24.22 MB / 2.611 GB, free: 20.57 MB / 1.401 GB Notification: Performance of NFTyping.typeBindings: time 0.2952/9.855, allocations: 66.26 MB / 2.675 GB, free: 19.54 MB / 1.401 GB Notification: Performance of NFTyping.typeClassSections: time 0.1721/10.03, allocations: 37.72 MB / 2.712 GB, free: 18.25 MB / 1.401 GB Notification: Performance of NFFlatten.flatten: time 0.3973/10.42, allocations: 130.2 MB / 2.839 GB, free: 4.168 MB / 1.401 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1108/10.53, allocations: 31.79 MB / 2.87 GB, free: 3.055 MB / 1.417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3413/10.88, allocations: 98.8 MB / 2.967 GB, free: 0.9688 MB / 1.479 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0855/10.96, allocations: 24.54 MB / 2.991 GB, free: 1.207 MB / 1.495 GB Notification: Performance of NFFlatten.collectFunctions: time 0.09823/11.06, allocations: 13.47 MB / 3.004 GB, free: 7.25 MB / 1.51 GB Notification: Performance of NFPackage.collectConstants: time 0.02707/11.09, allocations: 1.605 MB / 3.006 GB, free: 5.645 MB / 1.51 GB Notification: Performance of NFScalarize.scalarize: time 0.03821/11.13, allocations: 9.659 MB / 3.015 GB, free: 360 kB / 1.51 GB Notification: Performance of NFVerifyModel.verify: time 0.04454/11.17, allocations: 5.441 MB / 3.02 GB, free: 10.91 MB / 1.526 GB Notification: Performance of NFConvertDAE.convert: time 0.1675/11.34, allocations: 78.93 MB / 3.097 GB, free: 8.707 MB / 1.589 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/11.34, allocations: 8 kB / 3.097 GB, free: 8.699 MB / 1.589 GB Notification: Performance of FrontEnd: time 3.056e-06/11.34, allocations: 0 / 3.097 GB, free: 8.699 MB / 1.589 GB Notification: Performance of Transformations before backend: time 0.003279/11.34, allocations: 0 / 3.097 GB, free: 8.699 MB / 1.589 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9348 * Number of variables: 9348 Notification: Performance of Generate backend data structure: time 0.1361/11.48, allocations: 42.53 MB / 3.139 GB, free: 1.805 MB / 1.62 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/11.48, allocations: 15.97 kB / 3.139 GB, free: 1.789 MB / 1.62 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1486/11.63, allocations: 17.17 MB / 3.156 GB, free: 0.6523 MB / 1.635 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1791/11.81, allocations: 51.49 MB / 3.206 GB, free: 14.37 MB / 1.682 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.03637/11.84, allocations: 5.982 MB / 3.212 GB, free: 8.391 MB / 1.682 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01646/11.86, allocations: 3.701 MB / 3.215 GB, free: 4.703 MB / 1.682 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.491/13.35, allocations: 48.54 MB / 3.263 GB, free: 1.001 GB / 1.714 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00264/13.35, allocations: 131.2 kB / 3.263 GB, free: 1.001 GB / 1.714 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01482/13.37, allocations: 1.554 MB / 3.264 GB, free: 1.001 GB / 1.714 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002477/13.37, allocations: 1.04 MB / 3.265 GB, free: 1.001 GB / 1.714 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2289/13.6, allocations: 41.78 MB / 3.306 GB, free: 0.9962 GB / 1.714 GB 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.4948/14.09, allocations: 241.8 MB / 3.542 GB, free: 0.8018 GB / 1.714 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2487/14.34, allocations: 39.82 MB / 3.581 GB, free: 0.7839 GB / 1.714 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1851/14.53, allocations: 69.36 MB / 3.649 GB, free: 0.7267 GB / 1.714 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.08864/14.62, allocations: 16.8 MB / 3.665 GB, free: 0.7121 GB / 1.714 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03021/14.65, allocations: 3.474 MB / 3.669 GB, free: 0.7088 GB / 1.714 GB Notification: Performance of pre-optimization done (n=1723): time 6.847e-05/14.65, allocations: 0 / 3.669 GB, free: 0.7088 GB / 1.714 GB Notification: Performance of matching and sorting (n=1723): time 0.5032/15.15, allocations: 63.5 MB / 3.731 GB, free: 0.647 GB / 1.714 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001012/15.15, allocations: 3.147 MB / 3.734 GB, free: 0.6432 GB / 1.714 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1292/15.28, allocations: 38.96 MB / 3.772 GB, free: 0.6055 GB / 1.714 GB Notification: Performance of collectPreVariables (initialization): time 0.006998/15.29, allocations: 477.5 kB / 3.772 GB, free: 0.6051 GB / 1.714 GB Notification: Performance of collectInitialEqns (initialization): time 0.04064/15.33, allocations: 27.98 MB / 3.8 GB, free: 0.5776 GB / 1.714 GB Notification: Performance of collectInitialBindings (initialization): time 0.01175/15.34, allocations: 5.921 MB / 3.805 GB, free: 0.5718 GB / 1.714 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006815/15.35, allocations: 0.5155 MB / 3.806 GB, free: 0.5713 GB / 1.714 GB Notification: Performance of setup shared object (initialization): time 7.027e-05/15.35, allocations: 309.1 kB / 3.806 GB, free: 0.571 GB / 1.714 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.07036/15.42, allocations: 13.11 MB / 3.819 GB, free: 0.5582 GB / 1.714 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07482/15.49, allocations: 24.67 MB / 3.843 GB, free: 0.5291 GB / 1.714 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07098/15.56, allocations: 15.82 MB / 3.859 GB, free: 0.5135 GB / 1.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003251/15.56, allocations: 91.94 kB / 3.859 GB, free: 0.5135 GB / 1.714 GB Notification: Performance of matching and sorting (n=3373) (initialization): time 0.2697/15.83, allocations: 48.08 MB / 3.906 GB, free: 477.5 MB / 1.714 GB Notification: Performance of prepare postOptimizeDAE: time 0.07002/15.9, allocations: 428.3 MB / 4.324 GB, free: 37.63 MB / 1.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000902/15.9, allocations: 300 kB / 4.324 GB, free: 37.34 MB / 1.714 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03996/15.94, allocations: 7.614 MB / 4.332 GB, free: 29.64 MB / 1.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05904/16, allocations: 7.063 MB / 4.339 GB, free: 22.57 MB / 1.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504/17.51, allocations: 22.38 MB / 4.36 GB, free: 0.9603 GB / 1.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0865/17.59, allocations: 4.436 MB / 4.365 GB, free: 0.9603 GB / 1.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00971/17.6, allocations: 1.488 MB / 4.366 GB, free: 0.9603 GB / 1.714 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/17.6, allocations: 4.656 kB / 4.366 GB, free: 0.9603 GB / 1.714 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2396/17.84, allocations: 42.56 MB / 4.408 GB, free: 0.9582 GB / 1.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001241/17.84, allocations: 303.5 kB / 4.408 GB, free: 0.9582 GB / 1.714 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04088/17.89, allocations: 7.612 MB / 4.415 GB, free: 0.958 GB / 1.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05482/17.94, allocations: 6.774 MB / 4.422 GB, free: 0.9576 GB / 1.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05473/17.99, allocations: 22.37 MB / 4.444 GB, free: 0.9452 GB / 1.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0785/18.07, allocations: 4.226 MB / 4.448 GB, free: 0.9448 GB / 1.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008698/18.08, allocations: 1.426 MB / 4.449 GB, free: 0.9445 GB / 1.714 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1372 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition8,$PRE.ret2.loa.nextTimeEvent,$whenCondition7,$PRE.apa2.loa.nextTimeEvent,$whenCondition6,$PRE.larOff4.loa.nextTimeEvent,$whenCondition5,$PRE.larOff3.loa.nextTimeEvent,$whenCondition4,$PRE.apa1.loa.nextTimeEvent,$whenCondition3,$PRE.larOff2.loa.nextTimeEvent,$whenCondition2,$PRE.ret1.loa.nextTimeEvent,$whenCondition1,$PRE.larOff1.loa.nextTimeEvent,$whenCondition10,$whenCondition9,larOff1.loa.nextTimeEvent,$PRE.larOff1.loa.nextTimeEventScaled,larOff1.loa.nextTimeEventScaled,ret1.loa.nextTimeEvent,$PRE.ret1.loa.nextTimeEventScaled,ret1.loa.nextTimeEventScaled,larOff2.loa.nextTimeEvent,$PRE.larOff2.loa.nextTimeEventScaled,larOff2.loa.nextTimeEventScaled,apa1.loa.nextTimeEvent,$PRE.apa1.loa.nextTimeEventScaled,apa1.loa.nextTimeEventScaled,larOff3.loa.nextTimeEvent,$PRE.larOff3.loa.nextTimeEventScaled,larOff3.loa.nextTimeEventScaled,larOff4.loa.nextTimeEvent,$PRE.larOff4.loa.nextTimeEventScaled,larOff4.loa.nextTimeEventScaled,apa2.loa.nextTimeEvent,$PRE.apa2.loa.nextTimeEventScaled,apa2.loa.nextTimeEventScaled,ret2.loa.nextTimeEvent,$PRE.ret2.loa.nextTimeEventScaled,ret2.loa.nextTimeEventScaled,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3053): * Single equations (assignments): 2995 * Array equations: 24 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 24 {1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.04506/18.13, allocations: 10.5 MB / 4.46 GB, free: 0.9386 GB / 1.714 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01945/18.15, allocations: 4.683 MB / 4.464 GB, free: 0.9386 GB / 1.714 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2533/18.4, allocations: 49.72 MB / 4.513 GB, free: 0.9233 GB / 1.714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2039/18.6, allocations: 32.42 MB / 4.544 GB, free: 0.9146 GB / 1.714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002192/18.6, allocations: 13 kB / 4.544 GB, free: 0.9146 GB / 1.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0339/18.64, allocations: 8.507 MB / 4.553 GB, free: 0.9092 GB / 1.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0197/18.66, allocations: 343 kB / 4.553 GB, free: 0.909 GB / 1.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.07492/18.73, allocations: 4.04 MB / 4.557 GB, free: 0.9086 GB / 1.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005522/18.74, allocations: 1.126 MB / 4.558 GB, free: 0.9085 GB / 1.714 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2497/18.99, allocations: 43.66 MB / 4.601 GB, free: 0.868 GB / 1.714 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.2286/19.22, allocations: 70.64 MB / 4.67 GB, free: 0.7981 GB / 1.714 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.06062/19.28, allocations: 12.94 MB / 4.682 GB, free: 0.7855 GB / 1.714 GB Notification: Performance of sorting global known variables: time 0.1177/19.4, allocations: 30.05 MB / 4.712 GB, free: 0.7564 GB / 1.714 GB Notification: Performance of Backend: time 1.764e-06/19.4, allocations: 4 kB / 4.712 GB, free: 0.7564 GB / 1.714 GB Notification: Performance of simCode: created initialization part: time 0.1743/19.57, allocations: 31.79 MB / 4.743 GB, free: 0.7271 GB / 1.714 GB Notification: Performance of SimCode: time 0.3609/19.93, allocations: 115.5 MB / 4.856 GB, free: 0.6145 GB / 1.714 GB Notification: Performance of Templates: time 7.182/27.11, allocations: 1.199 GB / 6.055 GB, free: 0.8766 GB / 1.715 GB