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 3.95/3.95, allocations: 432.8 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.422e-05/3.405e-05, allocations: 4.438 kB / 0.5337 GB, free: 12.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1762, allocations: 98.73 MB / 0.6301 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.145/1.322, allocations: 426.7 MB / 1.047 GB, free: 6.273 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/1.322, allocations: 97.59 kB / 1.047 GB, free: 6.223 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.855/4.177, allocations: 0.6682 GB / 1.715 GB, free: 13.98 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.294e-06/4.177, allocations: 0 / 1.715 GB, free: 13.98 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002252/4.177, allocations: 35.98 kB / 1.715 GB, free: 13.94 MB / 0.823 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.004049/4.182, allocations: 1.715 MB / 1.717 GB, free: 12.17 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/4.182, allocations: 8.031 kB / 1.717 GB, free: 12.16 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002435/4.184, allocations: 390.3 kB / 1.717 GB, free: 11.78 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02291/4.207, allocations: 8.264 MB / 1.725 GB, free: 3.387 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/4.207, allocations: 70 kB / 1.725 GB, free: 3.316 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/4.207, allocations: 91.94 kB / 1.725 GB, free: 3.227 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/4.209, allocations: 0.9532 MB / 1.726 GB, free: 2.219 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/4.21, allocations: 3.938 kB / 1.726 GB, free: 2.215 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/4.21, allocations: 32 kB / 1.726 GB, free: 2.184 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/4.21, allocations: 20 kB / 1.726 GB, free: 2.164 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/4.211, allocations: 0.6287 MB / 1.727 GB, free: 1.535 MB / 0.823 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.5193/4.731, allocations: 4.702 MB / 1.732 GB, free: 119.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/4.732, allocations: 439.4 kB / 1.732 GB, free: 119.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005608/4.732, allocations: 215.7 kB / 1.732 GB, free: 119.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003399/4.736, allocations: 1.654 MB / 1.734 GB, free: 118.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007415/4.737, allocations: 355.7 kB / 1.734 GB, free: 118.3 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007553/4.737, allocations: 81.75 kB / 1.734 GB, free: 118.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 4.421e-06/4.737, allocations: 0 / 1.734 GB, free: 118.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.001785/4.739, allocations: 0.6326 MB / 1.735 GB, free: 118.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/4.739, allocations: 113.4 kB / 1.735 GB, free: 118 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/4.742, allocations: 1.094 MB / 1.736 GB, free: 117.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001865/4.742, allocations: 39.58 kB / 1.736 GB, free: 117.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007412/4.743, allocations: 0.6642 MB / 1.737 GB, free: 117.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/4.743, allocations: 149.4 kB / 1.737 GB, free: 117.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/4.743, allocations: 15.59 kB / 1.737 GB, free: 117.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.056e-05/4.743, allocations: 329.5 kB / 1.737 GB, free: 117.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005166/4.744, allocations: 201.4 kB / 1.737 GB, free: 117.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006707/4.744, allocations: 480.9 kB / 1.738 GB, free: 116.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006514/4.745, allocations: 291.9 kB / 1.738 GB, free: 116.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.831e-06/4.745, allocations: 3.062 kB / 1.738 GB, free: 116.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002347/4.747, allocations: 0.8347 MB / 1.739 GB, free: 116.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005953/4.748, allocations: 2.788 MB / 1.742 GB, free: 113.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/4.748, allocations: 7.188 kB / 1.742 GB, free: 113.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005161/4.749, allocations: 85.83 kB / 1.742 GB, free: 113.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009956/4.75, allocations: 154.5 kB / 1.742 GB, free: 113.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007277/4.75, allocations: 1.131 MB / 1.743 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/4.752, allocations: 80.22 kB / 1.743 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/4.752, allocations: 44.02 kB / 1.743 GB, free: 112.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/4.752, allocations: 3.688 kB / 1.743 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001852/4.754, allocations: 0.6784 MB / 1.744 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/4.754, allocations: 7 kB / 1.744 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004296/4.754, allocations: 95.34 kB / 1.744 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007898/4.755, allocations: 144.8 kB / 1.744 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006707/4.756, allocations: 1.133 MB / 1.745 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/4.757, allocations: 82.58 kB / 1.745 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/4.757, allocations: 39.12 kB / 1.745 GB, free: 111.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (69): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003348/4.758, allocations: 185.1 kB / 1.745 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/4.758, allocations: 136.5 kB / 1.746 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/4.761, allocations: 0.8145 MB / 1.746 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/4.761, allocations: 12.52 kB / 1.746 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.94e-06/4.761, allocations: 3.953 kB / 1.746 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/4.761, allocations: 7.516 kB / 1.746 GB, free: 111.4 MB / 0.823 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.004686/4.765, allocations: 1.872 MB / 1.748 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.152e-06/4.765, allocations: 4.781 kB / 1.748 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007159/4.766, allocations: 93.19 kB / 1.748 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004647/4.767, allocations: 74.27 kB / 1.748 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/4.767, allocations: 20.39 kB / 1.748 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006642/4.767, allocations: 1.115 MB / 1.75 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.026e-06/4.767, allocations: 7.328 kB / 1.75 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/4.769, allocations: 0.9467 MB / 1.75 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008497/4.77, allocations: 290.4 kB / 1.751 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002744/4.771, allocations: 19.64 kB / 1.751 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/4.772, allocations: 82.81 kB / 1.751 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/4.772, allocations: 42.94 kB / 1.751 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/4.772, allocations: 28.95 kB / 1.751 GB, free: 109.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001914/4.774, allocations: 0.8618 MB / 1.752 GB, free: 109.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.03e-07/4.774, allocations: 0 / 1.752 GB, free: 109.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003586/4.778, allocations: 0.7549 MB / 1.752 GB, free: 109.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (42): * Single equations (assignments): 35 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002278/4.78, allocations: 1.024 MB / 1.753 GB, free: 109 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002525/4.783, allocations: 1.085 MB / 1.755 GB, free: 108.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.801e-06/4.783, allocations: 0 / 1.755 GB, free: 108.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007482/4.784, allocations: 355 kB / 1.755 GB, free: 108.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003818/4.787, allocations: 0.625 MB / 1.755 GB, free: 108.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/4.792, allocations: 1.622 MB / 1.757 GB, free: 108.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/4.793, allocations: 1.231 MB / 1.758 GB, free: 107.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002911/4.796, allocations: 414.4 kB / 1.759 GB, free: 107.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/4.796, allocations: 79.41 kB / 1.759 GB, free: 107.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.874e-06/4.796, allocations: 0 / 1.759 GB, free: 107.5 MB / 0.823 GB Notification: Performance of Templates: time 0.07612/4.872, allocations: 34.82 MB / 1.793 GB, free: 106.6 MB / 0.823 GB