Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters,fileNamePrefix="Buildings_7_0_0_Buildings_Experimental_DistrictHeatingCooling_Examples_IdealSystem3Clusters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.283/4.283, allocations: 460.4 MB / 472.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.891e-05/2.893e-05, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2661, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.026/2.292, allocations: 475.8 MB / 1.137 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/2.292, allocations: 87.03 kB / 1.137 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 53.82/56.11, allocations: 9.433 GB / 10.57 GB, free: 46.56 MB / 1.385 GB Notification: Performance of FrontEnd: time 1.994e-06/56.11, allocations: 0 / 10.57 GB, free: 46.56 MB / 1.385 GB Notification: Performance of Transformations before backend: time 0.005115/56.11, allocations: 0.5964 MB / 10.57 GB, free: 46.46 MB / 1.385 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.07454/56.19, allocations: 20.74 MB / 10.59 GB, free: 36.58 MB / 1.385 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/56.19, allocations: 15.84 kB / 10.59 GB, free: 36.58 MB / 1.385 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00825/56.2, allocations: 1.777 MB / 10.59 GB, free: 36.45 MB / 1.385 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04185/56.24, allocations: 5.158 MB / 10.6 GB, free: 34.91 MB / 1.385 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1397/56.38, allocations: 38.39 MB / 10.63 GB, free: 30.55 MB / 1.385 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00173/56.38, allocations: 1.103 MB / 10.64 GB, free: 30.53 MB / 1.385 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006448/56.39, allocations: 1.421 MB / 10.64 GB, free: 30.52 MB / 1.385 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05802/56.44, allocations: 17.47 MB / 10.65 GB, free: 27.91 MB / 1.385 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007008/56.44, allocations: 48.75 kB / 10.65 GB, free: 27.88 MB / 1.385 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00558/56.45, allocations: 0.5889 MB / 10.66 GB, free: 27.88 MB / 1.385 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003927/56.45, allocations: 378 kB / 10.66 GB, free: 27.88 MB / 1.385 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0438/56.49, allocations: 13.26 MB / 10.67 GB, free: 27.68 MB / 1.385 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.1941/56.69, allocations: 89.98 MB / 10.76 GB, free: 3.035 MB / 1.417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02919/56.72, allocations: 10.12 MB / 10.77 GB, free: 11.45 MB / 1.432 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01309/56.73, allocations: 5.007 MB / 10.77 GB, free: 6.801 MB / 1.432 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265/58, allocations: 19.47 MB / 10.79 GB, free: 183.1 MB / 1.432 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01453/58.01, allocations: 4.619 MB / 10.79 GB, free: 183 MB / 1.432 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02584/58.04, allocations: 3.919 MB / 10.8 GB, free: 183 MB / 1.432 GB Notification: Performance of pre-optimization done (n=703): time 4.866e-05/58.04, allocations: 0 / 10.8 GB, free: 183 MB / 1.432 GB Notification: Performance of matching and sorting (n=703): time 0.03163/58.07, allocations: 9.58 MB / 10.81 GB, free: 182.7 MB / 1.432 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/58.07, allocations: 122.2 kB / 10.81 GB, free: 182.6 MB / 1.432 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04792/58.12, allocations: 16.89 MB / 10.82 GB, free: 181.6 MB / 1.432 GB Notification: Performance of collectPreVariables (initialization): time 0.002755/58.12, allocations: 206.7 kB / 10.82 GB, free: 181.5 MB / 1.432 GB Notification: Performance of collectInitialEqns (initialization): time 0.01716/58.14, allocations: 11.25 MB / 10.84 GB, free: 179.8 MB / 1.432 GB Notification: Performance of collectInitialBindings (initialization): time 0.004623/58.14, allocations: 2.405 MB / 10.84 GB, free: 178.6 MB / 1.432 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001201/58.14, allocations: 197.7 kB / 10.84 GB, free: 178.6 MB / 1.432 GB Notification: Performance of setup shared object (initialization): time 0.0007076/58.14, allocations: 0.688 MB / 10.84 GB, free: 178.3 MB / 1.432 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01028/58.15, allocations: 3.567 MB / 10.84 GB, free: 178.2 MB / 1.432 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01387/58.17, allocations: 7.635 MB / 10.85 GB, free: 173.3 MB / 1.432 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01317/58.18, allocations: 4.808 MB / 10.85 GB, free: 173.1 MB / 1.432 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001397/58.18, allocations: 33.41 kB / 10.85 GB, free: 173.1 MB / 1.432 GB Notification: Performance of matching and sorting (n=1274) (initialization): time 0.04186/58.22, allocations: 13.19 MB / 10.87 GB, free: 171.9 MB / 1.432 GB Notification: Performance of prepare postOptimizeDAE: time 0.01663/58.24, allocations: 89.32 MB / 10.95 GB, free: 97.88 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004669/58.24, allocations: 117.8 kB / 10.95 GB, free: 97.88 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01347/58.25, allocations: 2.164 MB / 10.96 GB, free: 97.8 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01804/58.27, allocations: 2.377 MB / 10.96 GB, free: 97.8 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02225/58.29, allocations: 14.9 MB / 10.97 GB, free: 88.18 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02688/58.32, allocations: 1.256 MB / 10.97 GB, free: 88.14 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003116/58.32, allocations: 0.5823 MB / 10.98 GB, free: 88.14 MB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/58.32, allocations: 6.781 kB / 10.98 GB, free: 88.14 MB / 1.448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03425/58.36, allocations: 11.32 MB / 10.99 GB, free: 87.87 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002667/58.36, allocations: 110.9 kB / 10.99 GB, free: 87.87 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01302/58.37, allocations: 2.165 MB / 10.99 GB, free: 87.79 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01678/58.39, allocations: 2.295 MB / 10.99 GB, free: 87.79 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02152/58.41, allocations: 14.91 MB / 11.01 GB, free: 78.16 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02467/58.43, allocations: 1.224 MB / 11.01 GB, free: 78.12 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003066/58.44, allocations: 0.5425 MB / 11.01 GB, free: 78.12 MB / 1.448 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.004135/58.44, allocations: 0.7832 MB / 11.01 GB, free: 78.01 MB / 1.448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006599/58.45, allocations: 1.923 MB / 11.01 GB, free: 76.98 MB / 1.448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03779/58.49, allocations: 11.7 MB / 11.02 GB, free: 76.41 MB / 1.448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001113/58.49, allocations: 86.66 kB / 11.02 GB, free: 76.41 MB / 1.448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.201e-05/58.49, allocations: 6.531 kB / 11.02 GB, free: 76.41 MB / 1.448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0232/58.51, allocations: 8.502 MB / 11.03 GB, free: 75.7 MB / 1.448 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.0876/58.6, allocations: 27.13 MB / 11.06 GB, free: 74.29 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-05/58.6, allocations: 3.688 kB / 11.06 GB, free: 74.29 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01275/58.61, allocations: 1.38 MB / 11.06 GB, free: 74.29 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009026/58.62, allocations: 1.619 MB / 11.06 GB, free: 74.21 MB / 1.448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001606/58.62, allocations: 240.1 kB / 11.06 GB, free: 74.21 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02076/58.64, allocations: 14.43 MB / 11.07 GB, free: 80.59 MB / 1.464 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/58.64, allocations: 0.7656 kB / 11.07 GB, free: 80.59 MB / 1.464 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04166/58.68, allocations: 15.77 MB / 11.09 GB, free: 78.66 MB / 1.464 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01493/58.7, allocations: 3.509 MB / 11.09 GB, free: 77.52 MB / 1.464 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006867/58.71, allocations: 148.9 kB / 11.09 GB, free: 77.52 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02522/58.73, allocations: 1.213 MB / 11.09 GB, free: 77.48 MB / 1.464 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001961/58.73, allocations: 495.9 kB / 11.09 GB, free: 77.47 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001682/58.73, allocations: 404.5 kB / 11.09 GB, free: 77.47 MB / 1.464 GB Notification: Performance of sorting global known variables: time 0.03501/58.77, allocations: 13.08 MB / 11.11 GB, free: 76.78 MB / 1.464 GB Notification: Performance of sort global known variables: time 7.52e-07/58.77, allocations: 0.9375 kB / 11.11 GB, free: 76.78 MB / 1.464 GB Notification: Performance of remove unused functions: time 0.05597/58.83, allocations: 10.97 MB / 11.12 GB, free: 76.12 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.06941/58.89, allocations: 31.75 MB / 11.15 GB, free: 65.66 MB / 1.464 GB Notification: Performance of simCode: created initialization part: time 0.04872/58.94, allocations: 17.62 MB / 11.17 GB, free: 64.13 MB / 1.464 GB Notification: Performance of simCode: created event and clocks part: time 1.616e-05/58.94, allocations: 7.625 kB / 11.17 GB, free: 64.13 MB / 1.464 GB Notification: Performance of simCode: created simulation system equations: time 0.01499/58.96, allocations: 5.319 MB / 11.17 GB, free: 63.45 MB / 1.464 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06803/59.03, allocations: 9.499 MB / 11.18 GB, free: 63.31 MB / 1.464 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1126/59.14, allocations: 36.32 MB / 11.22 GB, free: 55.71 MB / 1.464 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02357/59.16, allocations: 11.25 MB / 11.23 GB, free: 54.42 MB / 1.464 GB Notification: Performance of simCode: alias equations: time 0.05885/59.22, allocations: 8.463 MB / 11.24 GB, free: 54.21 MB / 1.464 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02117/59.24, allocations: 10.23 MB / 11.25 GB, free: 54.2 MB / 1.464 GB Notification: Performance of SimCode: time 1.263e-06/59.24, allocations: 0 / 11.25 GB, free: 54.2 MB / 1.464 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.617/62.86, allocations: 0.6354 GB / 11.88 GB, free: 18.5 MB / 1.464 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/62.86, allocations: 262.5 kB / 11.88 GB, free: 18.17 MB / 1.464 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.65/101.5, allocations: 0 / 11.88 GB, free: 18.17 MB / 1.464 GB