Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadModel(Buildings): time 3.738/3.738, allocations: 402 MB / 416.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.645e-05/2.663e-05, allocations: 0 / 0.5009 GB, free: 8.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2019, allocations: 92.68 MB / 0.5915 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.6133/0.8152, allocations: 45.94 MB / 0.6363 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03252/0.8478, allocations: 13.54 MB / 0.6496 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003439/0.8513, allocations: 81.06 kB / 0.6496 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.004297/0.8557, allocations: 0.8145 MB / 0.6504 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.009676/0.8654, allocations: 1.92 MB / 0.6523 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0106/0.876, allocations: 2.155 MB / 0.6544 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.006225/0.8823, allocations: 1.808 MB / 0.6562 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001875/0.8842, allocations: 0.8065 MB / 0.657 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003261/0.8875, allocations: 0.9765 MB / 0.6579 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001899/0.8894, allocations: 0.6596 MB / 0.6586 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003811/0.8932, allocations: 0.9585 MB / 0.6595 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0006993/0.894, allocations: 71.16 kB / 0.6596 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0005833/0.8946, allocations: 291.2 kB / 0.6598 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000903/0.8955, allocations: 148.7 kB / 0.66 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.005255/0.9008, allocations: 2.229 MB / 0.6622 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.9008, allocations: 0 / 0.6622 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.216e-06/0.9009, allocations: 3.938 kB / 0.6622 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.619e-05/0.901, allocations: 4 kB / 0.6622 GB, free: 1.273 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.004338/0.9053, allocations: 1.533 MB / 0.6637 GB, free: 84 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.9054, allocations: 13.41 kB / 0.6637 GB, free: 80 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003369/0.9088, allocations: 412 kB / 0.6641 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00544/0.9142, allocations: 1.541 MB / 0.6656 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007073/0.915, allocations: 145.5 kB / 0.6657 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002636/0.9153, allocations: 90.16 kB / 0.6658 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003807/0.9191, allocations: 1.143 MB / 0.6669 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/0.9192, allocations: 2.062 kB / 0.6669 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/0.9194, allocations: 38.31 kB / 0.6669 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.108e-05/0.9194, allocations: 35.86 kB / 0.667 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003936/0.9234, allocations: 0.8743 MB / 0.6678 GB, free: 13.35 MB / 0.5417 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.01235/0.9358, allocations: 5.863 MB / 0.6736 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003039/0.9388, allocations: 0.6198 MB / 0.6742 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003971/0.9429, allocations: 1.595 MB / 0.6757 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001699/0.9446, allocations: 440.9 kB / 0.6761 GB, free: 5.941 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008487/0.9455, allocations: 86.42 kB / 0.6762 GB, free: 5.887 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=44): time 8.566e-06/0.9455, allocations: 4 kB / 0.6762 GB, free: 5.883 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44): time 0.004649/0.9502, allocations: 1.043 MB / 0.6772 GB, free: 5.309 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.9503, allocations: 137.3 kB / 0.6774 GB, free: 5.148 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002768/0.9531, allocations: 1.148 MB / 0.6785 GB, free: 4.516 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000199/0.9534, allocations: 42.42 kB / 0.6785 GB, free: 4.473 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.9544, allocations: 0.6975 MB / 0.6792 GB, free: 3.855 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/0.9547, allocations: 153.5 kB / 0.6794 GB, free: 3.723 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/0.9547, allocations: 11.28 kB / 0.6794 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.9549, allocations: 336.7 kB / 0.6797 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.9564, allocations: 309.4 kB / 0.68 GB, free: 3.148 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/0.9582, allocations: 0.6131 MB / 0.6806 GB, free: 2.395 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.9599, allocations: 401.9 kB / 0.681 GB, free: 1.992 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.9599, allocations: 4 kB / 0.681 GB, free: 1.988 MB / 0.5417 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.004204/0.9641, allocations: 1.048 MB / 0.682 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001903/0.966, allocations: 3.77 MB / 0.6857 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-05/0.9661, allocations: 11.95 kB / 0.6857 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.593e-05/0.9662, allocations: 16 kB / 0.6857 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.9679, allocations: 211.7 kB / 0.6859 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.335e-05/0.9679, allocations: 15.94 kB / 0.6859 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.97, allocations: 103.8 kB / 0.686 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.9701, allocations: 51.98 kB / 0.6861 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.9702, allocations: 7.938 kB / 0.6861 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00345/0.9736, allocations: 0.8912 MB / 0.687 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.9737, allocations: 8.938 kB / 0.687 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.9737, allocations: 16 kB / 0.687 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.9752, allocations: 207.7 kB / 0.6872 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.763e-05/0.9752, allocations: 19.94 kB / 0.6872 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.977, allocations: 107.8 kB / 0.6873 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.9771, allocations: 36 kB / 0.6873 GB, free: 11.24 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (84): * Single equations (assignments): 82 * 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.001198/0.9784, allocations: 439.1 kB / 0.6878 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003878/0.9788, allocations: 138.3 kB / 0.6879 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00377/0.9825, allocations: 0.8451 MB / 0.6887 GB, free: 9.797 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.9826, allocations: 0 / 0.6887 GB, free: 9.797 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.9826, allocations: 3.984 kB / 0.6887 GB, free: 9.793 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/0.9838, allocations: 299.1 kB / 0.689 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004093/0.9843, allocations: 15.94 kB / 0.689 GB, free: 9.465 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001771/0.9861, allocations: 95.91 kB / 0.6891 GB, free: 9.371 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.9863, allocations: 35.95 kB / 0.6891 GB, free: 9.336 MB / 0.5573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004111/0.9904, allocations: 1.035 MB / 0.6902 GB, free: 8.273 MB / 0.5573 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003699/0.9942, allocations: 1.16 MB / 0.6913 GB, free: 7.062 MB / 0.5573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001439/0.9956, allocations: 338 kB / 0.6916 GB, free: 6.734 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002172/0.9978, allocations: 0.8879 MB / 0.6925 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of Backend: time 9.72e-07/0.9979, allocations: 0 / 0.6925 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004592/1.002, allocations: 1.006 MB / 0.6935 GB, free: 4.832 MB / 0.5573 GB Notification: Performance of SimCode: time 0.01007/1.013, allocations: 3.561 MB / 0.6969 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of Templates: time 0.07512/1.088, allocations: 25.63 MB / 0.722 GB, free: 7.867 MB / 0.5886 GB