Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase") Notification: Performance of loadModel(Buildings): time 4.515/4.515, allocations: 458.9 MB / 473.4 MB, free: 11.9 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.093e-05, allocations: 2.469 kB / 0.5697 GB, free: 9.836 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2236, allocations: 106.2 MB / 0.6734 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase): time 6.568/6.792, allocations: 1.578 GB / 2.251 GB, free: 53.27 MB / 1.245 GB Notification: Performance of NFInst.instExpressions: time 2.671/9.463, allocations: 457 MB / 2.697 GB, free: 12.56 MB / 1.448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1217/9.585, allocations: 2.731 MB / 2.7 GB, free: 12.56 MB / 1.448 GB Notification: Performance of NFTyping.typeComponents: time 0.123/9.708, allocations: 24.5 MB / 2.724 GB, free: 12.32 MB / 1.448 GB Notification: Performance of NFTyping.typeBindings: time 0.3364/10.04, allocations: 67.95 MB / 2.79 GB, free: 4.383 MB / 1.448 GB Notification: Performance of NFTyping.typeClassSections: time 0.2133/10.26, allocations: 48.46 MB / 2.838 GB, free: 5.918 MB / 1.464 GB Notification: Performance of NFFlatten.flatten: time 0.3777/10.64, allocations: 131.2 MB / 2.966 GB, free: 14.06 MB / 1.51 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1164/10.75, allocations: 32.13 MB / 2.997 GB, free: 6.68 MB / 1.526 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1354/10.89, allocations: 36.01 MB / 3.032 GB, free: 3.852 MB / 1.542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07773/10.97, allocations: 23.7 MB / 3.055 GB, free: 1.039 MB / 1.557 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1152/11.08, allocations: 16.17 MB / 3.071 GB, free: 1.508 MB / 1.573 GB Notification: Performance of NFPackage.collectConstants: time 0.02754/11.11, allocations: 1.715 MB / 3.073 GB, free: 15.79 MB / 1.589 GB Notification: Performance of NFScalarize.scalarize: time 0.03019/11.14, allocations: 9.863 MB / 3.083 GB, free: 6.203 MB / 1.589 GB Notification: Performance of NFVerifyModel.verify: time 0.03571/11.17, allocations: 5.211 MB / 3.088 GB, free: 0.9922 MB / 1.589 GB Notification: Performance of NFConvertDAE.convert: time 0.1678/11.34, allocations: 79.9 MB / 3.166 GB, free: 3.773 MB / 1.667 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/11.34, allocations: 0 / 3.166 GB, free: 3.773 MB / 1.667 GB Notification: Performance of FrontEnd: time 3.016e-06/11.34, allocations: 0 / 3.166 GB, free: 3.773 MB / 1.667 GB Notification: Performance of Transformations before backend: time 0.003396/11.35, allocations: 0 / 3.166 GB, free: 3.773 MB / 1.667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8753 * Number of variables: 8753 Notification: Performance of Generate backend data structure: time 0.1336/11.48, allocations: 41.52 MB / 3.206 GB, free: 10.32 MB / 1.714 GB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/11.48, allocations: 8.031 kB / 3.206 GB, free: 10.31 MB / 1.714 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1412/11.62, allocations: 16.76 MB / 3.223 GB, free: 9.453 MB / 1.729 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.561/13.18, allocations: 51.08 MB / 3.272 GB, free: 1.004 GB / 1.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0321/13.21, allocations: 5.861 MB / 3.278 GB, free: 1.003 GB / 1.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01494/13.23, allocations: 3.553 MB / 3.282 GB, free: 1.002 GB / 1.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.176/13.4, allocations: 44.1 MB / 3.325 GB, free: 0.9826 GB / 1.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001747/13.41, allocations: 82.66 kB / 3.325 GB, free: 0.9826 GB / 1.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01167/13.42, allocations: 1.417 MB / 3.326 GB, free: 0.9815 GB / 1.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009727/13.42, allocations: 0.8725 MB / 3.327 GB, free: 0.9815 GB / 1.745 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1773/13.6, allocations: 39.32 MB / 3.365 GB, free: 0.9654 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.4986/14.1, allocations: 216.3 MB / 3.577 GB, free: 0.7799 GB / 1.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2368/14.33, allocations: 42.34 MB / 3.618 GB, free: 0.7407 GB / 1.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1657/14.5, allocations: 66.26 MB / 3.683 GB, free: 0.6712 GB / 1.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.07016/14.57, allocations: 15.64 MB / 3.698 GB, free: 0.6561 GB / 1.745 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03148/14.6, allocations: 2.925 MB / 3.701 GB, free: 0.6533 GB / 1.745 GB Notification: Performance of pre-optimization done (n=1819): time 7.733e-05/14.6, allocations: 0 / 3.701 GB, free: 0.6533 GB / 1.745 GB Notification: Performance of matching and sorting (n=1819): time 0.4535/15.05, allocations: 64.59 MB / 3.764 GB, free: 0.5898 GB / 1.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003961/15.05, allocations: 1.183 MB / 3.765 GB, free: 0.5884 GB / 1.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1162/15.17, allocations: 39.73 MB / 3.804 GB, free: 0.55 GB / 1.745 GB Notification: Performance of collectPreVariables (initialization): time 0.006723/15.18, allocations: 0.4899 MB / 3.804 GB, free: 0.5495 GB / 1.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.03724/15.21, allocations: 26.92 MB / 3.831 GB, free: 0.5229 GB / 1.745 GB Notification: Performance of collectInitialBindings (initialization): time 0.01128/15.23, allocations: 6.177 MB / 3.837 GB, free: 0.5169 GB / 1.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005857/15.23, allocations: 475.8 kB / 3.837 GB, free: 0.5165 GB / 1.745 GB Notification: Performance of setup shared object (initialization): time 6.461e-05/15.23, allocations: 301.1 kB / 3.837 GB, free: 0.5162 GB / 1.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06127/15.29, allocations: 12.69 MB / 3.85 GB, free: 0.5038 GB / 1.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0707/15.36, allocations: 22.91 MB / 3.872 GB, free: 488.6 MB / 1.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06545/15.43, allocations: 14.73 MB / 3.887 GB, free: 473.8 MB / 1.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002467/15.43, allocations: 68 kB / 3.887 GB, free: 473.7 MB / 1.745 GB Notification: Performance of matching and sorting (n=3045) (initialization): time 0.2241/15.65, allocations: 42.35 MB / 3.928 GB, free: 431.2 MB / 1.745 GB Notification: Performance of prepare postOptimizeDAE: time 0.05948/15.71, allocations: 325.1 MB / 4.245 GB, free: 96.14 MB / 1.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008184/15.71, allocations: 232 kB / 4.246 GB, free: 95.91 MB / 1.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05087/15.76, allocations: 7.681 MB / 4.253 GB, free: 88.16 MB / 1.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05076/15.82, allocations: 6.283 MB / 4.259 GB, free: 81.87 MB / 1.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05373/15.87, allocations: 22.28 MB / 4.281 GB, free: 58.98 MB / 1.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08111/15.95, allocations: 4.651 MB / 4.286 GB, free: 54.35 MB / 1.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009958/15.96, allocations: 1.339 MB / 4.287 GB, free: 53.02 MB / 1.745 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/15.96, allocations: 4 kB / 4.287 GB, free: 53.01 MB / 1.745 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1959/16.16, allocations: 37.94 MB / 4.324 GB, free: 14.98 MB / 1.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008638/16.16, allocations: 228 kB / 4.324 GB, free: 14.76 MB / 1.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04122/16.2, allocations: 7.678 MB / 4.332 GB, free: 7 MB / 1.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05015/16.25, allocations: 6.205 MB / 4.338 GB, free: 0.7852 MB / 1.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8626/17.11, allocations: 22.29 MB / 4.36 GB, free: 0.9422 GB / 1.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08011/17.19, allocations: 4.638 MB / 4.364 GB, free: 0.9421 GB / 1.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008455/17.2, allocations: 1.293 MB / 4.365 GB, free: 0.9421 GB / 1.745 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1046 * Number of states: 0 () * Number of discrete variables: 51 ($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.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,ETheCoo.local_reset,ETheHotWat.local_reset,ETheHea.local_reset,EEleCoo.local_reset,EEleHea.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2757): * Single equations (assignments): 2709 * Array equations: 24 * Algorithm blocks: 0 * 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.04163/17.24, allocations: 10.17 MB / 4.375 GB, free: 0.9381 GB / 1.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01931/17.26, allocations: 4.613 MB / 4.38 GB, free: 0.9378 GB / 1.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2685/17.53, allocations: 53.43 MB / 4.432 GB, free: 0.9212 GB / 1.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005783/17.53, allocations: 250.5 kB / 4.432 GB, free: 0.9212 GB / 1.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001206/17.53, allocations: 7.938 kB / 4.432 GB, free: 0.9212 GB / 1.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2061/17.74, allocations: 33.97 MB / 4.465 GB, free: 0.9122 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.3985/18.13, allocations: 92.35 MB / 4.556 GB, free: 0.8674 GB / 1.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003508/18.14, allocations: 27.62 kB / 4.556 GB, free: 0.8674 GB / 1.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0394/18.17, allocations: 4.251 MB / 4.56 GB, free: 0.8663 GB / 1.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04089/18.22, allocations: 7.408 MB / 4.567 GB, free: 0.8608 GB / 1.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005413/18.22, allocations: 0.5738 MB / 4.568 GB, free: 0.8602 GB / 1.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05334/18.27, allocations: 22.12 MB / 4.589 GB, free: 0.8384 GB / 1.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.171e-05/18.27, allocations: 51.75 kB / 4.589 GB, free: 0.8384 GB / 1.745 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3052/18.58, allocations: 94.37 MB / 4.681 GB, free: 0.7451 GB / 1.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03702/18.62, allocations: 9.406 MB / 4.691 GB, free: 0.7359 GB / 1.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02145/18.64, allocations: 392 kB / 4.691 GB, free: 0.7355 GB / 1.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0751/18.71, allocations: 4.274 MB / 4.695 GB, free: 0.7314 GB / 1.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004881/18.72, allocations: 1.285 MB / 4.696 GB, free: 0.7301 GB / 1.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006678/18.73, allocations: 0.9289 MB / 4.697 GB, free: 0.7292 GB / 1.745 GB Notification: Performance of sorting global known variables: time 0.0915/18.82, allocations: 30.75 MB / 4.727 GB, free: 0.6994 GB / 1.745 GB Notification: Performance of sort global known variables: time 9.02e-07/18.82, allocations: 0 / 4.727 GB, free: 0.6994 GB / 1.745 GB Notification: Performance of remove unused functions: time 0.117/18.93, allocations: 23.42 MB / 4.75 GB, free: 0.6781 GB / 1.745 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 129 * 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.conTimMin.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.conTimMin.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 (1769): * Single equations (assignments): 1607 * 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.02759/18.96, allocations: 10.46 MB / 4.76 GB, free: 0.6686 GB / 1.745 GB Notification: Performance of simCode: created initialization part: time 0.2144/19.18, allocations: 50.91 MB / 4.81 GB, free: 0.619 GB / 1.745 GB Notification: Performance of simCode: created event and clocks part: time 5.168e-05/19.18, allocations: 28.14 kB / 4.81 GB, free: 0.6189 GB / 1.745 GB Notification: Performance of simCode: created simulation system equations: time 0.06945/19.25, allocations: 15.39 MB / 4.825 GB, free: 0.6039 GB / 1.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2019/19.45, allocations: 22.89 MB / 4.847 GB, free: 0.5821 GB / 1.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3529/19.8, allocations: 105.9 MB / 4.951 GB, free: 489.8 MB / 1.745 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0466/19.85, allocations: 21.95 MB / 4.972 GB, free: 467.8 MB / 1.745 GB Notification: Performance of simCode: alias equations: time 0.13/19.98, allocations: 14.89 MB / 4.987 GB, free: 452.9 MB / 1.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01526/19.99, allocations: 2.584 MB / 4.989 GB, free: 450.4 MB / 1.745 GB Notification: Performance of SimCode: time 2.174e-06/19.99, allocations: 0 / 4.989 GB, free: 450.4 MB / 1.745 GB Notification: Performance of Templates: time 5.768/25.76, allocations: 0.9928 GB / 5.982 GB, free: 0.7326 GB / 1.745 GB