Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase") Notification: Performance of loadModel(Buildings): time 4.476/4.476, allocations: 431.3 MB / 445.8 MB, free: 7.352 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 7.564e-05/7.608e-05, allocations: 7.938 kB / 0.5354 GB, free: 1.297 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6709/0.671, allocations: 98.7 MB / 0.6318 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase): time 6.684/7.355, allocations: 1.561 GB / 2.193 GB, free: 51.69 MB / 1.214 GB Notification: Performance of NFInst.instExpressions: time 2.555/9.91, allocations: 457 MB / 2.639 GB, free: 17.82 MB / 1.432 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1428/10.05, allocations: 2.791 MB / 2.642 GB, free: 17.82 MB / 1.432 GB Notification: Performance of NFTyping.typeComponents: time 0.1305/10.18, allocations: 24.48 MB / 2.666 GB, free: 17.71 MB / 1.432 GB Notification: Performance of NFTyping.typeBindings: time 0.3016/10.48, allocations: 67.89 MB / 2.732 GB, free: 16.31 MB / 1.432 GB Notification: Performance of NFTyping.typeClassSections: time 0.2169/10.7, allocations: 45.99 MB / 2.777 GB, free: 3.117 MB / 1.432 GB Notification: Performance of NFFlatten.flatten: time 0.356/11.06, allocations: 131 MB / 2.905 GB, free: 12.32 MB / 1.464 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1097/11.17, allocations: 32.06 MB / 2.936 GB, free: 5.012 MB / 1.479 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1316/11.3, allocations: 36.2 MB / 2.972 GB, free: 2.109 MB / 1.495 GB Notification: Performance of NFSimplifyModel.simplify: time 0.077/11.38, allocations: 23.73 MB / 2.995 GB, free: 3.105 MB / 1.51 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1077/11.48, allocations: 16.36 MB / 3.011 GB, free: 7.09 MB / 1.526 GB Notification: Performance of NFPackage.collectConstants: time 0.02858/11.51, allocations: 1.727 MB / 3.013 GB, free: 5.363 MB / 1.526 GB Notification: Performance of NFScalarize.scalarize: time 0.03/11.54, allocations: 9.729 MB / 3.022 GB, free: 96 kB / 1.526 GB Notification: Performance of NFVerifyModel.verify: time 0.03712/11.58, allocations: 5.207 MB / 3.027 GB, free: 10.88 MB / 1.542 GB Notification: Performance of NFConvertDAE.convert: time 0.1654/11.75, allocations: 79.98 MB / 3.105 GB, free: 7.938 MB / 1.604 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/11.75, allocations: 3.781 kB / 3.105 GB, free: 7.938 MB / 1.604 GB Notification: Performance of FrontEnd: time 3.005e-06/11.75, allocations: 0 / 3.105 GB, free: 7.938 MB / 1.604 GB Notification: Performance of Transformations before backend: time 0.003465/11.75, allocations: 4 kB / 3.105 GB, free: 7.934 MB / 1.604 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8740 * Number of variables: 8740 Notification: Performance of Generate backend data structure: time 0.1417/11.89, allocations: 42 MB / 3.146 GB, free: 1.535 MB / 1.635 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/11.89, allocations: 12.03 kB / 3.146 GB, free: 1.523 MB / 1.635 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1726/12.06, allocations: 16.87 MB / 3.163 GB, free: 0.6836 MB / 1.651 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1862/12.25, allocations: 51.6 MB / 3.213 GB, free: 5.359 MB / 1.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.03254/12.28, allocations: 5.87 MB / 3.219 GB, free: 15.48 MB / 1.714 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02065/12.3, allocations: 3.547 MB / 3.222 GB, free: 11.95 MB / 1.714 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.934/13.24, allocations: 43.97 MB / 3.265 GB, free: 1.03 GB / 1.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00238/13.24, allocations: 80 kB / 3.265 GB, free: 1.03 GB / 1.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01563/13.25, allocations: 1.42 MB / 3.267 GB, free: 1.03 GB / 1.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002176/13.26, allocations: 0.8661 MB / 3.268 GB, free: 1.03 GB / 1.745 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1911/13.45, allocations: 39.38 MB / 3.306 GB, free: 1.03 GB / 1.745 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.5326/13.98, allocations: 215.1 MB / 3.516 GB, free: 0.8633 GB / 1.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2483/14.23, allocations: 41.55 MB / 3.557 GB, free: 0.8453 GB / 1.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1984/14.43, allocations: 66.31 MB / 3.621 GB, free: 0.7759 GB / 1.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.07229/14.5, allocations: 15.32 MB / 3.636 GB, free: 0.7611 GB / 1.745 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03099/14.53, allocations: 2.929 MB / 3.639 GB, free: 0.7583 GB / 1.745 GB Notification: Performance of pre-optimization done (n=1755): time 5.978e-05/14.53, allocations: 5.156 kB / 3.639 GB, free: 0.7583 GB / 1.745 GB Notification: Performance of matching and sorting (n=1755): time 0.4324/14.96, allocations: 63.74 MB / 3.701 GB, free: 0.6967 GB / 1.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004223/14.96, allocations: 1.158 MB / 3.703 GB, free: 0.6953 GB / 1.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1232/15.09, allocations: 39.81 MB / 3.742 GB, free: 0.6568 GB / 1.745 GB Notification: Performance of collectPreVariables (initialization): time 0.007307/15.09, allocations: 0.4898 MB / 3.742 GB, free: 0.6563 GB / 1.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.03957/15.13, allocations: 27.02 MB / 3.768 GB, free: 0.6296 GB / 1.745 GB Notification: Performance of collectInitialBindings (initialization): time 0.01161/15.15, allocations: 5.976 MB / 3.774 GB, free: 0.6239 GB / 1.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006336/15.15, allocations: 479.9 kB / 3.775 GB, free: 0.6234 GB / 1.745 GB Notification: Performance of setup shared object (initialization): time 5.832e-05/15.15, allocations: 305.1 kB / 3.775 GB, free: 0.6231 GB / 1.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06778/15.22, allocations: 12.76 MB / 3.787 GB, free: 0.6106 GB / 1.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.073/15.29, allocations: 22.92 MB / 3.81 GB, free: 0.584 GB / 1.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06886/15.36, allocations: 15.08 MB / 3.825 GB, free: 0.5692 GB / 1.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002437/15.36, allocations: 64 kB / 3.825 GB, free: 0.5691 GB / 1.745 GB Notification: Performance of matching and sorting (n=3077) (initialization): time 0.2365/15.6, allocations: 45.55 MB / 3.869 GB, free: 0.5244 GB / 1.745 GB Notification: Performance of prepare postOptimizeDAE: time 0.05017/15.65, allocations: 323.2 MB / 4.185 GB, free: 204.8 MB / 1.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006551/15.65, allocations: 224 kB / 4.185 GB, free: 204.5 MB / 1.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04135/15.69, allocations: 7.672 MB / 4.192 GB, free: 196.8 MB / 1.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05137/15.74, allocations: 6.291 MB / 4.199 GB, free: 190.5 MB / 1.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05362/15.8, allocations: 22.27 MB / 4.22 GB, free: 167.6 MB / 1.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08077/15.88, allocations: 4.64 MB / 4.225 GB, free: 163 MB / 1.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008428/15.89, allocations: 1.359 MB / 4.226 GB, free: 161.6 MB / 1.745 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/15.89, allocations: 11.94 kB / 4.226 GB, free: 161.6 MB / 1.745 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2715/16.16, allocations: 41.28 MB / 4.266 GB, free: 120.2 MB / 1.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006767/16.16, allocations: 233 kB / 4.267 GB, free: 120 MB / 1.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04127/16.2, allocations: 7.674 MB / 4.274 GB, free: 112.2 MB / 1.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05481/16.25, allocations: 6.213 MB / 4.28 GB, free: 106 MB / 1.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05265/16.31, allocations: 22.29 MB / 4.302 GB, free: 83.11 MB / 1.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07922/16.39, allocations: 4.644 MB / 4.307 GB, free: 78.48 MB / 1.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007822/16.39, allocations: 1.3 MB / 4.308 GB, free: 77.18 MB / 1.745 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1036 * 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.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2757): * Single equations (assignments): 2699 * 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.04144/16.44, allocations: 10.15 MB / 4.318 GB, free: 67.01 MB / 1.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01828/16.45, allocations: 4.587 MB / 4.322 GB, free: 62.37 MB / 1.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2501/16.7, allocations: 52.03 MB / 4.373 GB, free: 10.41 MB / 1.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000529/16.7, allocations: 240.1 kB / 4.373 GB, free: 10.18 MB / 1.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.612e-05/16.7, allocations: 8 kB / 4.373 GB, free: 10.17 MB / 1.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044/17.75, allocations: 33.04 MB / 4.406 GB, free: 0.9778 GB / 1.745 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 postOpt removeSimpleEquations (simulation): time 0.3645/18.11, allocations: 86.28 MB / 4.49 GB, free: 0.9559 GB / 1.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004391/18.11, allocations: 13.62 kB / 4.49 GB, free: 0.9559 GB / 1.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.05075/18.16, allocations: 4.157 MB / 4.494 GB, free: 0.9556 GB / 1.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04144/18.21, allocations: 7.38 MB / 4.501 GB, free: 0.9541 GB / 1.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005434/18.21, allocations: 0.5431 MB / 4.502 GB, free: 0.9539 GB / 1.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05555/18.27, allocations: 22.27 MB / 4.523 GB, free: 0.9388 GB / 1.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.775e-05/18.27, allocations: 23.44 kB / 4.523 GB, free: 0.9388 GB / 1.745 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2937/18.56, allocations: 75.43 MB / 4.597 GB, free: 0.8987 GB / 1.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03511/18.6, allocations: 9.158 MB / 4.606 GB, free: 0.8915 GB / 1.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02023/18.62, allocations: 359.1 kB / 4.606 GB, free: 0.8913 GB / 1.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.07449/18.69, allocations: 4.26 MB / 4.61 GB, free: 0.8899 GB / 1.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004939/18.7, allocations: 1.191 MB / 4.612 GB, free: 0.8893 GB / 1.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006808/18.7, allocations: 0.8622 MB / 4.612 GB, free: 0.8889 GB / 1.745 GB Notification: Performance of sorting global known variables: time 0.09619/18.8, allocations: 30.77 MB / 4.643 GB, free: 0.8596 GB / 1.745 GB Notification: Performance of sort global known variables: time 9.02e-07/18.8, allocations: 0 / 4.643 GB, free: 0.8596 GB / 1.745 GB Notification: Performance of remove unused functions: time 0.1214/18.92, allocations: 23.57 MB / 4.666 GB, free: 0.8384 GB / 1.745 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 65 * Number of states: 5 (EEleHea.y,EEleCoo.y,ETheHea.y,ETheHotWat.y,ETheCoo.y) * Number of discrete variables: 28 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,larOff1.loa.nextTimeEvent,larOff1.loa.nextTimeEventScaled,ret1.loa.nextTimeEvent,ret1.loa.nextTimeEventScaled,larOff2.loa.nextTimeEvent,larOff2.loa.nextTimeEventScaled,apa1.loa.nextTimeEvent,apa1.loa.nextTimeEventScaled,larOff3.loa.nextTimeEvent,larOff3.loa.nextTimeEventScaled,larOff4.loa.nextTimeEvent,larOff4.loa.nextTimeEventScaled,apa2.loa.nextTimeEvent,apa2.loa.nextTimeEventScaled,ret2.loa.nextTimeEvent,ret2.loa.nextTimeEventScaled,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 18 (ret2.loa.nextTimeEvent,apa2.loa.nextTimeEvent,larOff4.loa.nextTimeEvent,larOff3.loa.nextTimeEvent,apa1.loa.nextTimeEvent,larOff2.loa.nextTimeEvent,ret1.loa.nextTimeEvent,larOff1.loa.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTim1.tNext,ret2.loa.nextTimeEventScaled,apa2.loa.nextTimeEventScaled,larOff4.loa.nextTimeEventScaled,larOff3.loa.nextTimeEventScaled,apa1.loa.nextTimeEventScaled,larOff2.loa.nextTimeEventScaled,ret1.loa.nextTimeEventScaled,larOff1.loa.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1701): * Single equations (assignments): 1539 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 120 * When equations: 18 * 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 12,1 12,1 12,1 12,1 12,1 12,1 12,1 12,1 12,1 12,1 12,1 12,1 12,1 12,1 12,1 12,1 12,1 12,1 12,1 12,1 12,1 12,1 12,1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.03321/18.95, allocations: 11.88 MB / 4.677 GB, free: 0.8294 GB / 1.745 GB Notification: Performance of simCode: created initialization part: time 0.237/19.19, allocations: 52.38 MB / 4.728 GB, free: 0.779 GB / 1.745 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-05/19.19, allocations: 22.28 kB / 4.728 GB, free: 0.779 GB / 1.745 GB Notification: Performance of simCode: created simulation system equations: time 0.07259/19.26, allocations: 15.22 MB / 4.743 GB, free: 0.7642 GB / 1.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1832/19.45, allocations: 22.77 MB / 4.765 GB, free: 0.7423 GB / 1.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3381/19.78, allocations: 105 MB / 4.868 GB, free: 0.6396 GB / 1.745 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.05511/19.84, allocations: 21.88 MB / 4.889 GB, free: 0.6181 GB / 1.745 GB Notification: Performance of simCode: alias equations: time 0.1407/19.98, allocations: 14.73 MB / 4.904 GB, free: 0.6038 GB / 1.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0162/20, allocations: 2.576 MB / 4.906 GB, free: 0.6013 GB / 1.745 GB Notification: Performance of SimCode: time 1.954e-06/20, allocations: 0 / 4.906 GB, free: 0.6013 GB / 1.745 GB Notification: Performance of Templates: time 5.762/25.76, allocations: 0.9961 GB / 5.902 GB, free: 0.7853 GB / 1.745 GB