Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters") Notification: Performance of loadModel(Buildings): time 4.092/4.092, allocations: 464.7 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.057e-05/3.067e-05, allocations: 4 kB / 0.5731 GB, free: 5.742 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.198, allocations: 107.2 MB / 0.6777 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.617/1.815, allocations: 476.2 MB / 1.143 GB, free: 259 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/1.815, allocations: 89.3 kB / 1.143 GB, free: 259 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 47.39/49.21, allocations: 9.432 GB / 10.58 GB, free: 80.79 MB / 1.401 GB Notification: Performance of FrontEnd: time 1.901e-06/49.21, allocations: 0 / 10.58 GB, free: 80.79 MB / 1.401 GB Notification: Performance of Transformations before backend: time 0.003931/49.21, allocations: 0.5905 MB / 10.58 GB, free: 80.7 MB / 1.401 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3531 * Number of variables: 3531 Notification: Performance of Generate backend data structure: time 0.05819/49.27, allocations: 20.74 MB / 10.6 GB, free: 71.02 MB / 1.401 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/49.27, allocations: 7.531 kB / 10.6 GB, free: 71.02 MB / 1.401 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03005/49.3, allocations: 5.158 MB / 10.6 GB, free: 69.48 MB / 1.401 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1097/49.41, allocations: 38.43 MB / 10.64 GB, free: 65.56 MB / 1.401 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001283/49.41, allocations: 1.09 MB / 10.64 GB, free: 65.54 MB / 1.401 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004627/49.41, allocations: 1.424 MB / 10.64 GB, free: 65.53 MB / 1.401 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04267/49.46, allocations: 17.47 MB / 10.66 GB, free: 63.02 MB / 1.401 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004028/49.46, allocations: 47.66 kB / 10.66 GB, free: 63.02 MB / 1.401 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00241/49.46, allocations: 0.5812 MB / 10.66 GB, free: 63.02 MB / 1.401 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003255/49.46, allocations: 389.1 kB / 10.66 GB, free: 63.02 MB / 1.401 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03369/49.49, allocations: 13.26 MB / 10.67 GB, free: 62.96 MB / 1.401 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.1427/49.64, allocations: 89.88 MB / 10.76 GB, free: 18.68 MB / 1.401 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01879/49.66, allocations: 10.02 MB / 10.77 GB, free: 18.29 MB / 1.401 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008519/49.66, allocations: 5.008 MB / 10.77 GB, free: 18.21 MB / 1.401 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04418/49.71, allocations: 19.54 MB / 10.79 GB, free: 12.25 MB / 1.401 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009089/49.72, allocations: 4.617 MB / 10.8 GB, free: 12.1 MB / 1.401 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01801/49.74, allocations: 3.917 MB / 10.8 GB, free: 11.34 MB / 1.401 GB Notification: Performance of pre-optimization done (n=703): time 2.147e-05/49.74, allocations: 0 / 10.8 GB, free: 11.34 MB / 1.401 GB Notification: Performance of matching and sorting (n=703): time 0.02231/49.76, allocations: 9.577 MB / 10.81 GB, free: 9.988 MB / 1.401 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/49.76, allocations: 131.7 kB / 10.81 GB, free: 9.918 MB / 1.401 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03398/49.79, allocations: 16.88 MB / 10.83 GB, free: 4.684 MB / 1.401 GB Notification: Performance of collectPreVariables (initialization): time 0.002037/49.79, allocations: 207.6 kB / 10.83 GB, free: 4.535 MB / 1.401 GB Notification: Performance of collectInitialEqns (initialization): time 0.01705/49.81, allocations: 11.52 MB / 10.84 GB, free: 12.78 MB / 1.417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004105/49.81, allocations: 2.408 MB / 10.84 GB, free: 10.92 MB / 1.417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008242/49.82, allocations: 206.6 kB / 10.84 GB, free: 10.76 MB / 1.417 GB Notification: Performance of setup shared object (initialization): time 0.000687/49.82, allocations: 0.6923 MB / 10.84 GB, free: 10.28 MB / 1.417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007328/49.82, allocations: 3.563 MB / 10.85 GB, free: 8.895 MB / 1.417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01075/49.83, allocations: 7.639 MB / 10.85 GB, free: 2.102 MB / 1.417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009503/49.84, allocations: 4.806 MB / 10.86 GB, free: 96 kB / 1.417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.765e-05/49.84, allocations: 32.81 kB / 10.86 GB, free: 96 kB / 1.417 GB Notification: Performance of matching and sorting (n=1274) (initialization): time 0.02998/49.87, allocations: 13.2 MB / 10.87 GB, free: 10.89 MB / 1.432 GB Notification: Performance of prepare postOptimizeDAE: time 1.04/50.91, allocations: 89.3 MB / 10.96 GB, free: 199.3 MB / 1.479 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002714/50.91, allocations: 112.1 kB / 10.96 GB, free: 199.3 MB / 1.479 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0108/50.93, allocations: 2.168 MB / 10.96 GB, free: 199.2 MB / 1.479 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0129/50.94, allocations: 2.382 MB / 10.96 GB, free: 199.2 MB / 1.479 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01864/50.96, allocations: 14.9 MB / 10.98 GB, free: 189.8 MB / 1.479 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02117/50.98, allocations: 1.255 MB / 10.98 GB, free: 189.8 MB / 1.479 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002603/50.98, allocations: 0.5825 MB / 10.98 GB, free: 189.8 MB / 1.479 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/50.98, allocations: 6.906 kB / 10.98 GB, free: 189.8 MB / 1.479 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02568/51.01, allocations: 11.33 MB / 10.99 GB, free: 189.5 MB / 1.479 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001816/51.01, allocations: 110 kB / 10.99 GB, free: 189.5 MB / 1.479 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009512/51.02, allocations: 2.165 MB / 10.99 GB, free: 189.4 MB / 1.479 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01084/51.03, allocations: 2.291 MB / 10.99 GB, free: 189.4 MB / 1.479 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01612/51.04, allocations: 14.9 MB / 11.01 GB, free: 179.9 MB / 1.479 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01901/51.06, allocations: 1.225 MB / 11.01 GB, free: 179.9 MB / 1.479 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002101/51.06, allocations: 0.5434 MB / 11.01 GB, free: 179.9 MB / 1.479 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 504 * Number of states: 0 () * Number of discrete variables: 60 ($whenCondition12,$PRE.QCoo5.nextTimeEvent,$whenCondition11,$PRE.QHea7.nextTimeEvent,$whenCondition10,$PRE.QHea6.nextTimeEvent,$whenCondition9,$PRE.QHea5.nextTimeEvent,$whenCondition8,$PRE.QCoo4.nextTimeEvent,$whenCondition7,$PRE.QCoo3.nextTimeEvent,$whenCondition6,$PRE.QHea4.nextTimeEvent,$whenCondition5,$PRE.QHea3.nextTimeEvent,$whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled,QHea3.nextTimeEvent,$PRE.QHea3.nextTimeEventScaled,QHea3.nextTimeEventScaled,QHea4.nextTimeEvent,$PRE.QHea4.nextTimeEventScaled,QHea4.nextTimeEventScaled,QCoo3.nextTimeEvent,$PRE.QCoo3.nextTimeEventScaled,QCoo3.nextTimeEventScaled,QCoo4.nextTimeEvent,$PRE.QCoo4.nextTimeEventScaled,QCoo4.nextTimeEventScaled,QHea5.nextTimeEvent,$PRE.QHea5.nextTimeEventScaled,QHea5.nextTimeEventScaled,QHea6.nextTimeEvent,$PRE.QHea6.nextTimeEventScaled,QHea6.nextTimeEventScaled,QHea7.nextTimeEvent,$PRE.QHea7.nextTimeEventScaled,QHea7.nextTimeEventScaled,QCoo5.nextTimeEvent,$PRE.QCoo5.nextTimeEventScaled,QCoo5.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1145): * Single equations (assignments): 1124 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 3 {4 24,5 30,5 16} Notification: Performance of prepare postOptimizeDAE: time 0.00313/51.07, allocations: 0.7944 MB / 11.01 GB, free: 179.8 MB / 1.479 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005391/51.07, allocations: 1.915 MB / 11.01 GB, free: 179.8 MB / 1.479 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02839/51.1, allocations: 11.7 MB / 11.03 GB, free: 179.3 MB / 1.479 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.116e-05/51.1, allocations: 89.86 kB / 11.03 GB, free: 179.3 MB / 1.479 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-05/51.1, allocations: 7.859 kB / 11.03 GB, free: 179.3 MB / 1.479 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01676/51.12, allocations: 8.491 MB / 11.03 GB, free: 178.6 MB / 1.479 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 postOpt removeSimpleEquations (simulation): time 0.06523/51.18, allocations: 27.2 MB / 11.06 GB, free: 177.2 MB / 1.479 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/51.18, allocations: 0 / 11.06 GB, free: 177.2 MB / 1.479 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008054/51.19, allocations: 1.38 MB / 11.06 GB, free: 177.2 MB / 1.479 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00689/51.2, allocations: 1.628 MB / 11.06 GB, free: 177.1 MB / 1.479 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006999/51.2, allocations: 236.7 kB / 11.06 GB, free: 177.1 MB / 1.479 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01499/51.21, allocations: 14.42 MB / 11.08 GB, free: 167.7 MB / 1.479 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.17e-06/51.21, allocations: 0 / 11.08 GB, free: 167.7 MB / 1.479 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03245/51.25, allocations: 15.79 MB / 11.09 GB, free: 166.1 MB / 1.479 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01242/51.26, allocations: 3.515 MB / 11.1 GB, free: 164.9 MB / 1.479 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00503/51.26, allocations: 151.9 kB / 11.1 GB, free: 164.9 MB / 1.479 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01684/51.28, allocations: 1.207 MB / 11.1 GB, free: 164.9 MB / 1.479 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001296/51.28, allocations: 486.7 kB / 11.1 GB, free: 164.9 MB / 1.479 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001419/51.28, allocations: 407.7 kB / 11.1 GB, free: 164.9 MB / 1.479 GB Notification: Performance of sorting global known variables: time 0.03207/51.32, allocations: 13.08 MB / 11.11 GB, free: 164.2 MB / 1.479 GB Notification: Performance of sort global known variables: time 1.215e-06/51.32, allocations: 0 / 11.11 GB, free: 164.2 MB / 1.479 GB Notification: Performance of remove unused functions: time 0.04607/51.36, allocations: 11.18 MB / 11.12 GB, free: 163.5 MB / 1.479 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 20 (pla.coo.outCon.T,pla.hea.outCon.T,pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip2.vol[1].dynBal.U,pip2.vol[2].dynBal.U,pip2.vol[3].dynBal.U,pip3.vol[1].dynBal.U,pip3.vol[2].dynBal.U,pip3.vol[3].dynBal.U,pip4.vol[1].dynBal.U,pip4.vol[2].dynBal.U,pip4.vol[3].dynBal.U,pip5.vol[1].dynBal.U,pip5.vol[2].dynBal.U,pip5.vol[3].dynBal.U) * Number of discrete variables: 36 ($whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,QHea1.nextTimeEvent,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,QCoo2.nextTimeEventScaled,QHea3.nextTimeEvent,QHea3.nextTimeEventScaled,QHea4.nextTimeEvent,QHea4.nextTimeEventScaled,QCoo3.nextTimeEvent,QCoo3.nextTimeEventScaled,QCoo4.nextTimeEvent,QCoo4.nextTimeEventScaled,QHea5.nextTimeEvent,QHea5.nextTimeEventScaled,QHea6.nextTimeEvent,QHea6.nextTimeEventScaled,QHea7.nextTimeEvent,QHea7.nextTimeEventScaled,QCoo5.nextTimeEvent,QCoo5.nextTimeEventScaled) * Number of discrete states: 24 (QCoo5.nextTimeEvent,QHea7.nextTimeEvent,QHea6.nextTimeEvent,QHea5.nextTimeEvent,QCoo4.nextTimeEvent,QCoo3.nextTimeEvent,QHea4.nextTimeEvent,QHea3.nextTimeEvent,QCoo2.nextTimeEvent,QCoo1.nextTimeEvent,QHea2.nextTimeEvent,QHea1.nextTimeEvent,QCoo5.nextTimeEventScaled,QHea7.nextTimeEventScaled,QHea6.nextTimeEventScaled,QHea5.nextTimeEventScaled,QCoo4.nextTimeEventScaled,QCoo3.nextTimeEventScaled,QHea4.nextTimeEventScaled,QHea3.nextTimeEventScaled,QCoo2.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QHea2.nextTimeEventScaled,QHea1.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (683): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 24 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 3 {5 13,4 20,5 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.02938/51.39, allocations: 15.61 MB / 11.14 GB, free: 155.5 MB / 1.479 GB Notification: Performance of simCode: created initialization part: time 0.03853/51.43, allocations: 17.62 MB / 11.15 GB, free: 154 MB / 1.479 GB Notification: Performance of simCode: created event and clocks part: time 1.608e-05/51.43, allocations: 11.47 kB / 11.15 GB, free: 154 MB / 1.479 GB Notification: Performance of simCode: created simulation system equations: time 0.01124/51.44, allocations: 5.327 MB / 11.16 GB, free: 153.3 MB / 1.479 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04731/51.49, allocations: 9.513 MB / 11.17 GB, free: 153.1 MB / 1.479 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06861/51.56, allocations: 31.03 MB / 11.2 GB, free: 146.2 MB / 1.479 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01735/51.58, allocations: 11.25 MB / 11.21 GB, free: 144.9 MB / 1.479 GB Notification: Performance of simCode: alias equations: time 0.04697/51.62, allocations: 8.458 MB / 11.22 GB, free: 144.7 MB / 1.479 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003789/51.63, allocations: 1.105 MB / 11.22 GB, free: 144.7 MB / 1.479 GB Notification: Performance of SimCode: time 1.577e-06/51.63, allocations: 0 / 11.22 GB, free: 144.7 MB / 1.479 GB Notification: Performance of Templates: time 2.935/54.56, allocations: 455.1 MB / 11.66 GB, free: 221.4 MB / 1.479 GB