Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadModel(Buildings): time 4.306/4.306, allocations: 431.3 MB / 445.8 MB, free: 5.426 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/4.002e-05, allocations: 7.984 kB / 0.5354 GB, free: 14.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6527/0.6527, allocations: 98.71 MB / 0.6318 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.08011/0.7329, allocations: 46.1 MB / 0.6768 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03183/0.7648, allocations: 14.07 MB / 0.6906 GB, free: 15.66 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002543/0.7674, allocations: 75.62 kB / 0.6906 GB, free: 15.58 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.003704/0.7712, allocations: 0.824 MB / 0.6914 GB, free: 14.75 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.008738/0.78, allocations: 1.998 MB / 0.6934 GB, free: 12.75 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0144/0.7944, allocations: 2.465 MB / 0.6958 GB, free: 10.28 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005632/0.8001, allocations: 1.832 MB / 0.6976 GB, free: 8.445 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.802, allocations: 0.8143 MB / 0.6984 GB, free: 7.629 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002921/0.8049, allocations: 0.9581 MB / 0.6993 GB, free: 6.668 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.8066, allocations: 0.6422 MB / 0.6999 GB, free: 6.023 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003548/0.8101, allocations: 1.045 MB / 0.701 GB, free: 4.977 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005646/0.8107, allocations: 76 kB / 0.701 GB, free: 4.902 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005016/0.8112, allocations: 294.8 kB / 0.7013 GB, free: 4.613 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006063/0.8119, allocations: 143.9 kB / 0.7014 GB, free: 4.473 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004464/0.8163, allocations: 2.287 MB / 0.7037 GB, free: 2.18 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.8164, allocations: 0 / 0.7037 GB, free: 2.18 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.445e-06/0.8164, allocations: 0 / 0.7037 GB, free: 2.18 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.881e-05/0.8165, allocations: 0 / 0.7037 GB, free: 2.18 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.003901/0.8204, allocations: 1.525 MB / 0.7052 GB, free: 0.5898 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.8205, allocations: 8.031 kB / 0.7052 GB, free: 0.582 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003144/0.8236, allocations: 401.7 kB / 0.7056 GB, free: 192 kB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004432/0.8281, allocations: 1.465 MB / 0.707 GB, free: 14.67 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001318/0.8295, allocations: 201.9 kB / 0.7072 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003403/0.8298, allocations: 83.94 kB / 0.7073 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004051/0.8339, allocations: 1.107 MB / 0.7083 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.834, allocations: 0 / 0.7083 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/0.8341, allocations: 32 kB / 0.7084 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.057e-05/0.8342, allocations: 20 kB / 0.7084 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004588/0.8388, allocations: 0.9368 MB / 0.7093 GB, free: 12.25 MB / 0.5886 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.01188/0.8507, allocations: 5.152 MB / 0.7143 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003828/0.8546, allocations: 0.6999 MB / 0.715 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003857/0.8585, allocations: 1.836 MB / 0.7168 GB, free: 4.078 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002029/0.8606, allocations: 456.6 kB / 0.7173 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006736/0.8613, allocations: 79.34 kB / 0.7173 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=42): time 4.128e-06/0.8613, allocations: 0 / 0.7173 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of matching and sorting (n=42): time 0.005777/0.8671, allocations: 1.182 MB / 0.7185 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.8673, allocations: 89.09 kB / 0.7186 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002831/0.8701, allocations: 1.207 MB / 0.7197 GB, free: 1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001924/0.8704, allocations: 37.7 kB / 0.7198 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009037/0.8713, allocations: 0.6609 MB / 0.7204 GB, free: 296 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/0.8715, allocations: 145.9 kB / 0.7206 GB, free: 148 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.313e-05/0.8716, allocations: 12 kB / 0.7206 GB, free: 136 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.8718, allocations: 330 kB / 0.7209 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001859/0.8737, allocations: 353.1 kB / 0.7212 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/0.8759, allocations: 0.6077 MB / 0.7218 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/0.878, allocations: 430.1 kB / 0.7222 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/0.8781, allocations: 4 kB / 0.7222 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004904/0.883, allocations: 1.077 MB / 0.7233 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001205/0.8842, allocations: 2.703 MB / 0.7259 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/0.8843, allocations: 8 kB / 0.7259 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.675e-05/0.8844, allocations: 12 kB / 0.726 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.886, allocations: 203.7 kB / 0.7261 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-05/0.8861, allocations: 15.94 kB / 0.7262 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/0.8883, allocations: 135 kB / 0.7263 GB, free: 9.992 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/0.8885, allocations: 43.92 kB / 0.7263 GB, free: 9.949 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.8886, allocations: 6.5 kB / 0.7263 GB, free: 9.945 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00401/0.8926, allocations: 0.8995 MB / 0.7272 GB, free: 9.039 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.8927, allocations: 4 kB / 0.7272 GB, free: 9.035 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.8927, allocations: 12 kB / 0.7272 GB, free: 9.023 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.8941, allocations: 188.1 kB / 0.7274 GB, free: 8.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.873e-05/0.8942, allocations: 23.88 kB / 0.7274 GB, free: 8.816 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/0.8962, allocations: 124.4 kB / 0.7276 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/0.8964, allocations: 39.98 kB / 0.7276 GB, free: 8.656 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 72 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001138/0.8976, allocations: 419.3 kB / 0.728 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004127/0.898, allocations: 134.3 kB / 0.7281 GB, free: 8.098 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004668/0.9027, allocations: 1.004 MB / 0.7291 GB, free: 7.074 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/0.9028, allocations: 8 kB / 0.7291 GB, free: 7.066 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.9028, allocations: 4 kB / 0.7291 GB, free: 7.062 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.9028, allocations: 3.984 kB / 0.7291 GB, free: 7.059 MB / 0.6042 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.007368/0.9102, allocations: 2.184 MB / 0.7312 GB, free: 4.789 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.9102, allocations: 0 / 0.7312 GB, free: 4.789 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.9115, allocations: 135.9 kB / 0.7314 GB, free: 4.656 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.357e-06/0.9115, allocations: 0 / 0.7314 GB, free: 4.656 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.778e-05/0.9116, allocations: 23.98 kB / 0.7314 GB, free: 4.633 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.9116, allocations: 8 kB / 0.7314 GB, free: 4.625 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.9116, allocations: 0 / 0.7314 GB, free: 4.625 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004354/0.916, allocations: 1.047 MB / 0.7324 GB, free: 3.527 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.9171, allocations: 319.2 kB / 0.7327 GB, free: 3.195 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003727/0.9175, allocations: 12 kB / 0.7327 GB, free: 3.184 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002161/0.9196, allocations: 135.8 kB / 0.7329 GB, free: 3.051 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.9198, allocations: 39.91 kB / 0.7329 GB, free: 3.012 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.92, allocations: 27.97 kB / 0.7329 GB, free: 2.984 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002341/0.9223, allocations: 0.9418 MB / 0.7339 GB, free: 2.043 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.61e-07/0.9224, allocations: 0 / 0.7339 GB, free: 2.043 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003203/0.9256, allocations: 0.69 MB / 0.7345 GB, free: 1.352 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001479/0.9271, allocations: 455.7 kB / 0.735 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006389/0.9335, allocations: 1.499 MB / 0.7364 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/0.9336, allocations: 4 kB / 0.7364 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002464/0.9361, allocations: 488.1 kB / 0.7369 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00502/0.9411, allocations: 0.6105 MB / 0.7375 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008211/0.9494, allocations: 2.774 MB / 0.7402 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/0.9507, allocations: 1.232 MB / 0.7414 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.003223/0.9539, allocations: 427.8 kB / 0.7418 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000405/0.9543, allocations: 91.39 kB / 0.7419 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of SimCode: time 1.072e-06/0.9544, allocations: 3.938 kB / 0.7419 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of Templates: time 0.08053/1.035, allocations: 29.34 MB / 0.7706 GB, free: 12.68 MB / 0.6511 GB