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.533/3.533, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.148e-05/3.172e-05, allocations: 7.938 kB / 0.499 GB, free: 13.45 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4952/0.4952, allocations: 92.69 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9513/1.447, allocations: 417.4 MB / 0.9972 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/1.447, allocations: 96.5 kB / 0.9973 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.772/4.219, allocations: 0.6463 GB / 1.644 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.261e-06/4.219, allocations: 0 / 1.644 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002404/4.22, allocations: 35.98 kB / 1.644 GB, free: 4.637 MB / 0.7761 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.004845/4.224, allocations: 1.749 MB / 1.645 GB, free: 2.824 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/4.224, allocations: 8.031 kB / 1.645 GB, free: 2.816 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002883/4.227, allocations: 393.6 kB / 1.646 GB, free: 2.43 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5383/4.766, allocations: 8.129 MB / 1.654 GB, free: 116.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.824e-05/4.766, allocations: 72.95 kB / 1.654 GB, free: 116.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/4.766, allocations: 94.47 kB / 1.654 GB, free: 116.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/4.768, allocations: 1.057 MB / 1.655 GB, free: 116.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.423e-05/4.768, allocations: 9.953 kB / 1.655 GB, free: 116.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/4.769, allocations: 48.77 kB / 1.655 GB, free: 116.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-05/4.769, allocations: 26.75 kB / 1.655 GB, free: 116.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/4.771, allocations: 0.6777 MB / 1.656 GB, free: 116.5 MB / 0.7761 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.008049/4.779, allocations: 5.747 MB / 1.661 GB, free: 113.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/4.78, allocations: 0.4913 MB / 1.662 GB, free: 113.1 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000488/4.78, allocations: 247.4 kB / 1.662 GB, free: 113.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002843/4.783, allocations: 1.724 MB / 1.664 GB, free: 111.9 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006429/4.784, allocations: 382.2 kB / 1.664 GB, free: 111.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006531/4.785, allocations: 92.2 kB / 1.664 GB, free: 111.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 4.202e-06/4.785, allocations: 3.719 kB / 1.664 GB, free: 111.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=47): time 0.001489/4.786, allocations: 0.6199 MB / 1.665 GB, free: 111.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/4.786, allocations: 161.1 kB / 1.665 GB, free: 111.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/4.788, allocations: 1.128 MB / 1.666 GB, free: 111.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/4.788, allocations: 39.58 kB / 1.666 GB, free: 111.3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007089/4.789, allocations: 0.6893 MB / 1.667 GB, free: 111.1 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000225/4.789, allocations: 163.8 kB / 1.667 GB, free: 111 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/4.789, allocations: 14.12 kB / 1.667 GB, free: 111 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.106e-05/4.79, allocations: 332.4 kB / 1.667 GB, free: 110.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000477/4.79, allocations: 212.6 kB / 1.667 GB, free: 110.7 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006225/4.791, allocations: 0.5232 MB / 1.668 GB, free: 110.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005936/4.791, allocations: 322.8 kB / 1.668 GB, free: 110.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.273e-06/4.791, allocations: 3.781 kB / 1.668 GB, free: 110.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002113/4.793, allocations: 0.8908 MB / 1.669 GB, free: 110.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007866/4.794, allocations: 3.864 MB / 1.673 GB, free: 106.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/4.794, allocations: 9.625 kB / 1.673 GB, free: 106.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005211/4.795, allocations: 84.64 kB / 1.673 GB, free: 106.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009908/4.796, allocations: 186.1 kB / 1.673 GB, free: 106.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006866/4.797, allocations: 1.126 MB / 1.674 GB, free: 105.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/4.798, allocations: 83.86 kB / 1.674 GB, free: 105.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/4.798, allocations: 45.78 kB / 1.674 GB, free: 105.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/4.798, allocations: 7.25 kB / 1.674 GB, free: 105.1 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001766/4.8, allocations: 0.7495 MB / 1.675 GB, free: 105.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/4.8, allocations: 15.7 kB / 1.675 GB, free: 105.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000403/4.8, allocations: 84.53 kB / 1.675 GB, free: 105.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008565/4.801, allocations: 176.1 kB / 1.675 GB, free: 105.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006438/4.802, allocations: 1.135 MB / 1.676 GB, free: 104 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/4.803, allocations: 78.17 kB / 1.676 GB, free: 104 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/4.803, allocations: 44.03 kB / 1.676 GB, free: 104 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (79): * Single equations (assignments): 75 * 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.0002966/4.804, allocations: 188.3 kB / 1.677 GB, free: 103.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/4.804, allocations: 146.9 kB / 1.677 GB, free: 103.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/4.806, allocations: 0.7497 MB / 1.678 GB, free: 103.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/4.806, allocations: 8.062 kB / 1.678 GB, free: 103.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.058e-06/4.806, allocations: 3.125 kB / 1.678 GB, free: 103.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.745e-06/4.806, allocations: 3.891 kB / 1.678 GB, free: 103.7 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003844/4.81, allocations: 1.906 MB / 1.679 GB, free: 103.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/4.81, allocations: 7.547 kB / 1.679 GB, free: 103.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006837/4.811, allocations: 108.4 kB / 1.68 GB, free: 103.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003855/4.811, allocations: 78.19 kB / 1.68 GB, free: 103.1 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.424e-05/4.811, allocations: 18.64 kB / 1.68 GB, free: 103.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000616/4.812, allocations: 1.116 MB / 1.681 GB, free: 102.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.206e-06/4.812, allocations: 2.938 kB / 1.681 GB, free: 102.1 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/4.814, allocations: 0.8475 MB / 1.682 GB, free: 101.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000818/4.814, allocations: 284.2 kB / 1.682 GB, free: 101.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003847/4.815, allocations: 18.84 kB / 1.682 GB, free: 101.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/4.816, allocations: 80.8 kB / 1.682 GB, free: 101.6 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/4.816, allocations: 37.81 kB / 1.682 GB, free: 101.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/4.817, allocations: 36.3 kB / 1.682 GB, free: 101.6 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001918/4.818, allocations: 0.8776 MB / 1.683 GB, free: 101.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.103e-06/4.818, allocations: 0 / 1.683 GB, free: 101.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003552/4.822, allocations: 0.751 MB / 1.684 GB, free: 101.4 MB / 0.7761 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): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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.001939/4.824, allocations: 0.9837 MB / 1.685 GB, free: 101.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002436/4.826, allocations: 1.122 MB / 1.686 GB, free: 101.1 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.929e-06/4.827, allocations: 0 / 1.686 GB, free: 101.1 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006423/4.827, allocations: 348.9 kB / 1.686 GB, free: 101 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003446/4.831, allocations: 0.6309 MB / 1.687 GB, free: 101 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003754/4.834, allocations: 1.63 MB / 1.688 GB, free: 100.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008701/4.835, allocations: 1.243 MB / 1.689 GB, free: 99.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003045/4.838, allocations: 438.5 kB / 1.69 GB, free: 99.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/4.839, allocations: 82.25 kB / 1.69 GB, free: 99.8 MB / 0.7761 GB Notification: Performance of SimCode: time 1.719e-06/4.839, allocations: 0 / 1.69 GB, free: 99.8 MB / 0.7761 GB Notification: Performance of Templates: time 0.07101/4.91, allocations: 34.42 MB / 1.723 GB, free: 98.77 MB / 0.7761 GB