Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadModel(Buildings): time 4.427/4.427, allocations: 458.9 MB / 473.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.753e-05/2.746e-05, allocations: 2.688 kB / 0.5697 GB, free: 9.801 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.222, allocations: 106.2 MB / 0.6734 GB, free: 2.613 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.0773/0.2994, allocations: 46.58 MB / 0.7189 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.03182/0.3313, allocations: 14.11 MB / 0.7327 GB, free: 5.773 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002505/0.3338, allocations: 79.56 kB / 0.7328 GB, free: 5.695 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003841/0.3377, allocations: 0.824 MB / 0.7336 GB, free: 4.867 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008562/0.3463, allocations: 2.006 MB / 0.7355 GB, free: 2.855 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01076/0.3571, allocations: 2.551 MB / 0.738 GB, free: 312 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005628/0.3627, allocations: 1.843 MB / 0.7398 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001974/0.3648, allocations: 0.8103 MB / 0.7406 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003124/0.3679, allocations: 0.9581 MB / 0.7416 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/0.3697, allocations: 0.6422 MB / 0.7422 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003767/0.3735, allocations: 1.049 MB / 0.7432 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0006826/0.3743, allocations: 76 kB / 0.7433 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005823/0.3749, allocations: 294.9 kB / 0.7436 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006955/0.3756, allocations: 148 kB / 0.7437 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004868/0.3804, allocations: 2.295 MB / 0.7459 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3805, allocations: 0 / 0.7459 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.395e-06/0.3805, allocations: 0 / 0.7459 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.994e-05/0.3806, allocations: 0 / 0.7459 GB, free: 8.184 MB / 0.6198 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.004048/0.3846, allocations: 1.521 MB / 0.7474 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.3847, allocations: 8.031 kB / 0.7474 GB, free: 6.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003209/0.3879, allocations: 397.7 kB / 0.7478 GB, free: 6.199 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004484/0.3925, allocations: 1.469 MB / 0.7493 GB, free: 4.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001339/0.3938, allocations: 205.8 kB / 0.7494 GB, free: 4.477 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003257/0.3942, allocations: 88 kB / 0.7495 GB, free: 4.391 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004148/0.3984, allocations: 1.103 MB / 0.7506 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.3984, allocations: 3.938 kB / 0.7506 GB, free: 3.242 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.3986, allocations: 32 kB / 0.7506 GB, free: 3.211 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.3986, allocations: 24 kB / 0.7507 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004631/0.4033, allocations: 0.9329 MB / 0.7516 GB, free: 2.25 MB / 0.6198 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.01189/0.4152, allocations: 5.176 MB / 0.7566 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003854/0.4191, allocations: 0.7102 MB / 0.7573 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004135/0.4233, allocations: 1.852 MB / 0.7591 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002087/0.4254, allocations: 473.5 kB / 0.7596 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006749/0.4261, allocations: 79.34 kB / 0.7597 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=44): time 4.198e-06/0.4261, allocations: 0 / 0.7597 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.006176/0.4323, allocations: 1.245 MB / 0.7609 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.83e-05/0.4325, allocations: 93.06 kB / 0.761 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/0.4355, allocations: 1.203 MB / 0.7621 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002239/0.4358, allocations: 37.7 kB / 0.7622 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009323/0.4367, allocations: 0.6609 MB / 0.7628 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/0.437, allocations: 149.9 kB / 0.763 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.4371, allocations: 12 kB / 0.763 GB, free: 6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4373, allocations: 330 kB / 0.7633 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/0.4392, allocations: 357.1 kB / 0.7636 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/0.4415, allocations: 0.6156 MB / 0.7642 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.4435, allocations: 434.1 kB / 0.7646 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.4435, allocations: 4 kB / 0.7646 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004968/0.4485, allocations: 1.132 MB / 0.7658 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001352/0.4499, allocations: 2.705 MB / 0.7684 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.142e-05/0.4499, allocations: 8 kB / 0.7684 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.741e-05/0.45, allocations: 11.95 kB / 0.7684 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.4517, allocations: 199.8 kB / 0.7686 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-05/0.4518, allocations: 19.94 kB / 0.7686 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/0.454, allocations: 140.4 kB / 0.7688 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/0.4543, allocations: 39.98 kB / 0.7688 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.4543, allocations: 4 kB / 0.7688 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003995/0.4583, allocations: 0.9499 MB / 0.7697 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.4584, allocations: 8.625 kB / 0.7697 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.4584, allocations: 15.98 kB / 0.7698 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.4598, allocations: 179.8 kB / 0.7699 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.481e-05/0.4599, allocations: 19.92 kB / 0.7699 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.4619, allocations: 120.5 kB / 0.7701 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/0.4621, allocations: 39.98 kB / 0.7701 GB, free: 14.39 MB / 0.6511 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 (75): * Single equations (assignments): 73 * 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.001148/0.4633, allocations: 419.2 kB / 0.7705 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004353/0.4638, allocations: 134.3 kB / 0.7706 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004885/0.4687, allocations: 1.072 MB / 0.7717 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.4687, allocations: 4 kB / 0.7717 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.4687, allocations: 4 kB / 0.7717 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.4688, allocations: 7.922 kB / 0.7717 GB, free: 12.73 MB / 0.6511 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.007491/0.4763, allocations: 2.29 MB / 0.7739 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.4763, allocations: 4 kB / 0.7739 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.4775, allocations: 139.9 kB / 0.7741 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.415e-05/0.4776, allocations: 4 kB / 0.7741 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.462e-05/0.4777, allocations: 19.98 kB / 0.7741 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.4777, allocations: 3.953 kB / 0.7741 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.4777, allocations: 7.938 kB / 0.7741 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004577/0.4823, allocations: 1.139 MB / 0.7752 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.4833, allocations: 327.2 kB / 0.7755 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003807/0.4838, allocations: 19.98 kB / 0.7755 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/0.4859, allocations: 127.9 kB / 0.7757 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.4861, allocations: 43.66 kB / 0.7757 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/0.4862, allocations: 35.92 kB / 0.7757 GB, free: 8.406 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002447/0.4887, allocations: 0.934 MB / 0.7766 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.11e-07/0.4887, allocations: 4 kB / 0.7767 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00331/0.492, allocations: 0.6938 MB / 0.7773 GB, free: 6.773 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 41 * 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.00161/0.4937, allocations: 462.4 kB / 0.7778 GB, free: 6.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006528/0.5003, allocations: 1.52 MB / 0.7793 GB, free: 4.77 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.5003, allocations: 0 / 0.7793 GB, free: 4.77 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002117/0.5025, allocations: 0.4888 MB / 0.7797 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005089/0.5076, allocations: 0.6027 MB / 0.7803 GB, free: 3.668 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008285/0.5159, allocations: 2.793 MB / 0.783 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/0.5172, allocations: 1.24 MB / 0.7843 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003294/0.5205, allocations: 440.6 kB / 0.7847 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004163/0.521, allocations: 83.39 kB / 0.7848 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of SimCode: time 3.287e-06/0.521, allocations: 0 / 0.7848 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of Templates: time 0.649/1.17, allocations: 29.55 MB / 0.8136 GB, free: 115.1 MB / 0.6667 GB