Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters,fileNamePrefix="Buildings_latest_Buildings_Experimental_DistrictHeatingCooling_Examples_IdealSystem3Clusters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.447/4.447, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.522e-05/3.529e-05, allocations: 4 kB / 0.5732 GB, free: 5.629 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2293, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.965/2.194, allocations: 476.2 MB / 1.143 GB, free: 258.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/2.195, allocations: 86.08 kB / 1.143 GB, free: 258.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 54.86/57.06, allocations: 9.433 GB / 10.58 GB, free: 81.22 MB / 1.401 GB Notification: Performance of FrontEnd: time 2.254e-06/57.06, allocations: 0 / 10.58 GB, free: 81.22 MB / 1.401 GB Notification: Performance of Transformations before backend: time 0.005159/57.06, allocations: 0.5851 MB / 10.58 GB, free: 81.12 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.07628/57.14, allocations: 20.75 MB / 10.6 GB, free: 71.46 MB / 1.401 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/57.14, allocations: 16.94 kB / 10.6 GB, free: 71.45 MB / 1.401 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008372/57.15, allocations: 1.778 MB / 10.6 GB, free: 71.33 MB / 1.401 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04306/57.19, allocations: 5.156 MB / 10.6 GB, free: 69.79 MB / 1.401 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1441/57.33, allocations: 38.42 MB / 10.64 GB, free: 65.87 MB / 1.401 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001859/57.34, allocations: 1.097 MB / 10.64 GB, free: 65.84 MB / 1.401 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00669/57.34, allocations: 1.423 MB / 10.64 GB, free: 65.84 MB / 1.401 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05984/57.4, allocations: 17.46 MB / 10.66 GB, free: 63.33 MB / 1.401 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007472/57.4, allocations: 51.69 kB / 10.66 GB, free: 63.33 MB / 1.401 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005763/57.41, allocations: 0.5867 MB / 10.66 GB, free: 63.33 MB / 1.401 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004252/57.41, allocations: 384.4 kB / 10.66 GB, free: 63.32 MB / 1.401 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04387/57.45, allocations: 13.26 MB / 10.67 GB, free: 63.27 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.1878/57.64, allocations: 89.87 MB / 10.76 GB, free: 18.97 MB / 1.401 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02506/57.67, allocations: 10.02 MB / 10.77 GB, free: 18.57 MB / 1.401 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01143/57.68, allocations: 5.009 MB / 10.78 GB, free: 18.48 MB / 1.401 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05887/57.74, allocations: 19.54 MB / 10.8 GB, free: 12.53 MB / 1.401 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01172/57.75, allocations: 4.619 MB / 10.8 GB, free: 12.37 MB / 1.401 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02381/57.77, allocations: 3.915 MB / 10.8 GB, free: 11.61 MB / 1.401 GB Notification: Performance of pre-optimization done (n=703): time 3.587e-05/57.77, allocations: 0 / 10.8 GB, free: 11.61 MB / 1.401 GB Notification: Performance of matching and sorting (n=703): time 0.02977/57.8, allocations: 9.584 MB / 10.81 GB, free: 8.996 MB / 1.401 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/57.8, allocations: 125.2 kB / 10.81 GB, free: 8.926 MB / 1.401 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04481/57.85, allocations: 16.88 MB / 10.83 GB, free: 2.844 MB / 1.401 GB Notification: Performance of collectPreVariables (initialization): time 0.002587/57.85, allocations: 215.5 kB / 10.83 GB, free: 2.691 MB / 1.401 GB Notification: Performance of collectInitialEqns (initialization): time 0.02347/57.87, allocations: 11.65 MB / 10.84 GB, free: 11.42 MB / 1.417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004908/57.88, allocations: 2.411 MB / 10.84 GB, free: 9.508 MB / 1.417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/57.88, allocations: 195.6 kB / 10.84 GB, free: 9.355 MB / 1.417 GB Notification: Performance of setup shared object (initialization): time 0.0007801/57.88, allocations: 0.6958 MB / 10.85 GB, free: 8.867 MB / 1.417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01/57.89, allocations: 3.559 MB / 10.85 GB, free: 7.484 MB / 1.417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01488/57.9, allocations: 7.649 MB / 10.86 GB, free: 0.6836 MB / 1.417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0131/57.92, allocations: 4.798 MB / 10.86 GB, free: 14.68 MB / 1.432 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.064e-05/57.92, allocations: 31.03 kB / 10.86 GB, free: 14.68 MB / 1.432 GB Notification: Performance of matching and sorting (n=1274) (initialization): time 0.04096/57.96, allocations: 13.19 MB / 10.87 GB, free: 8.121 MB / 1.432 GB Notification: Performance of prepare postOptimizeDAE: time 1.226/59.19, allocations: 89.31 MB / 10.96 GB, free: 164.5 MB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003254/59.19, allocations: 110.8 kB / 10.96 GB, free: 164.5 MB / 1.464 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01521/59.2, allocations: 2.163 MB / 10.96 GB, free: 164.4 MB / 1.464 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02003/59.22, allocations: 2.374 MB / 10.97 GB, free: 164.4 MB / 1.464 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02335/59.24, allocations: 14.91 MB / 10.98 GB, free: 154.9 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02738/59.27, allocations: 1.257 MB / 10.98 GB, free: 154.9 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003044/59.27, allocations: 0.5808 MB / 10.98 GB, free: 154.9 MB / 1.464 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/59.27, allocations: 3.875 kB / 10.98 GB, free: 154.9 MB / 1.464 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03392/59.31, allocations: 11.32 MB / 10.99 GB, free: 154.6 MB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002466/59.31, allocations: 111.9 kB / 10.99 GB, free: 154.6 MB / 1.464 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01292/59.32, allocations: 2.167 MB / 11 GB, free: 154.6 MB / 1.464 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01647/59.34, allocations: 2.296 MB / 11 GB, free: 154.6 MB / 1.464 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02105/59.36, allocations: 14.9 MB / 11.01 GB, free: 145.1 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02579/59.39, allocations: 1.224 MB / 11.01 GB, free: 145.1 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00298/59.39, allocations: 0.5449 MB / 11.01 GB, free: 145.1 MB / 1.464 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.004039/59.39, allocations: 0.7807 MB / 11.01 GB, free: 144.9 MB / 1.464 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006678/59.4, allocations: 1.917 MB / 11.02 GB, free: 144.9 MB / 1.464 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03945/59.44, allocations: 11.71 MB / 11.03 GB, free: 144.4 MB / 1.464 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001137/59.44, allocations: 82.47 kB / 11.03 GB, free: 144.4 MB / 1.464 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.453e-05/59.44, allocations: 9.438 kB / 11.03 GB, free: 144.4 MB / 1.464 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02407/59.46, allocations: 8.495 MB / 11.04 GB, free: 143.7 MB / 1.464 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.08768/59.55, allocations: 27.2 MB / 11.06 GB, free: 142.4 MB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.231e-05/59.55, allocations: 5.312 kB / 11.06 GB, free: 142.4 MB / 1.464 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01359/59.56, allocations: 1.379 MB / 11.06 GB, free: 142.4 MB / 1.464 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009756/59.57, allocations: 1.63 MB / 11.07 GB, free: 142.3 MB / 1.464 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001698/59.58, allocations: 234 kB / 11.07 GB, free: 142.3 MB / 1.464 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01873/59.59, allocations: 14.42 MB / 11.08 GB, free: 132.8 MB / 1.464 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/59.59, allocations: 7.562 kB / 11.08 GB, free: 132.8 MB / 1.464 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04258/59.64, allocations: 15.78 MB / 11.1 GB, free: 131.2 MB / 1.464 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01504/59.65, allocations: 3.515 MB / 11.1 GB, free: 130.1 MB / 1.464 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007003/59.66, allocations: 153.2 kB / 11.1 GB, free: 130.1 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02514/59.68, allocations: 1.21 MB / 11.1 GB, free: 130.1 MB / 1.464 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002008/59.69, allocations: 488.3 kB / 11.1 GB, free: 130.1 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001663/59.69, allocations: 407.1 kB / 11.1 GB, free: 130.1 MB / 1.464 GB Notification: Performance of sorting global known variables: time 0.03597/59.72, allocations: 13.07 MB / 11.11 GB, free: 129.4 MB / 1.464 GB Notification: Performance of sort global known variables: time 2.384e-06/59.72, allocations: 3.094 kB / 11.11 GB, free: 129.4 MB / 1.464 GB Notification: Performance of remove unused functions: time 0.05739/59.78, allocations: 11.18 MB / 11.12 GB, free: 128.7 MB / 1.464 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.0715/59.85, allocations: 31.91 MB / 11.16 GB, free: 118.4 MB / 1.464 GB Notification: Performance of simCode: created initialization part: time 0.05092/59.9, allocations: 17.62 MB / 11.17 GB, free: 116.9 MB / 1.464 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/59.9, allocations: 5.719 kB / 11.17 GB, free: 116.9 MB / 1.464 GB Notification: Performance of simCode: created simulation system equations: time 0.01553/59.92, allocations: 5.321 MB / 11.18 GB, free: 116.2 MB / 1.464 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07117/59.99, allocations: 9.514 MB / 11.19 GB, free: 116 MB / 1.464 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1135/60.1, allocations: 36.4 MB / 11.22 GB, free: 108.6 MB / 1.464 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0225/60.13, allocations: 11.25 MB / 11.23 GB, free: 107.3 MB / 1.464 GB Notification: Performance of simCode: alias equations: time 0.06014/60.19, allocations: 8.463 MB / 11.24 GB, free: 107.1 MB / 1.464 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02147/60.21, allocations: 10.23 MB / 11.25 GB, free: 107.1 MB / 1.464 GB Notification: Performance of SimCode: time 1.253e-06/60.21, allocations: 4.672 kB / 11.25 GB, free: 107.1 MB / 1.464 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.666/63.88, allocations: 0.6363 GB / 11.89 GB, free: 112.9 MB / 1.464 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/63.88, allocations: 267.6 kB / 11.89 GB, free: 112.5 MB / 1.464 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.75/102.6, allocations: 0 / 11.89 GB, free: 112.5 MB / 1.464 GB