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.638/3.638, allocations: 403.9 MB / 411 MB, free: 380 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.663e-05/2.677e-05, allocations: 7.938 kB / 0.4942 GB, free: 1.391 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4837/0.4837, allocations: 92.69 MB / 0.5847 GB, free: 2.367 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9542/1.438, allocations: 416.8 MB / 0.9917 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/1.438, allocations: 90.94 kB / 0.9918 GB, free: 0.832 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.677/4.115, allocations: 0.6428 GB / 1.635 GB, free: 5.695 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.188e-06/4.115, allocations: 0 / 1.635 GB, free: 5.695 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002209/4.116, allocations: 43.92 kB / 1.635 GB, free: 5.652 MB / 0.7605 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.003925/4.12, allocations: 1.727 MB / 1.636 GB, free: 3.867 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/4.12, allocations: 12.03 kB / 1.636 GB, free: 3.855 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002525/4.122, allocations: 393.6 kB / 1.637 GB, free: 3.469 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02368/4.146, allocations: 8.127 MB / 1.645 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-05/4.146, allocations: 28 kB / 1.645 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002263/4.146, allocations: 59.94 kB / 1.645 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001836/4.148, allocations: 0.6444 MB / 1.645 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/4.15, allocations: 0.9505 MB / 1.646 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/4.15, allocations: 4 kB / 1.646 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/4.15, allocations: 4 kB / 1.646 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-05/4.151, allocations: 28 kB / 1.646 GB, free: 9.41 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.009294/4.16, allocations: 5.55 MB / 1.652 GB, free: 3.535 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/4.161, allocations: 0.5105 MB / 1.652 GB, free: 2.988 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004987/4.162, allocations: 249.6 kB / 1.652 GB, free: 2.734 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003168/4.165, allocations: 1.682 MB / 1.654 GB, free: 0.9453 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006911/4.166, allocations: 363.1 kB / 1.654 GB, free: 0.5625 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006269/4.166, allocations: 71.39 kB / 1.655 GB, free: 0.4922 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 4.057e-06/4.166, allocations: 0 / 1.655 GB, free: 0.4922 MB / 0.7761 GB Notification: Performance of matching and sorting (n=47): time 0.508/4.674, allocations: 0.6257 MB / 1.655 GB, free: 118.6 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/4.674, allocations: 166.3 kB / 1.655 GB, free: 118.4 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002426/4.677, allocations: 0.9767 MB / 1.656 GB, free: 118.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001538/4.677, allocations: 31.19 kB / 1.656 GB, free: 118.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008287/4.678, allocations: 0.7026 MB / 1.657 GB, free: 118.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/4.678, allocations: 155.7 kB / 1.657 GB, free: 118.1 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/4.678, allocations: 0.5938 kB / 1.657 GB, free: 118.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.045e-05/4.678, allocations: 338.1 kB / 1.657 GB, free: 117.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005476/4.679, allocations: 203.9 kB / 1.658 GB, free: 117.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006981/4.679, allocations: 0.5222 MB / 1.658 GB, free: 117.4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/4.681, allocations: 340.6 kB / 1.658 GB, free: 117.4 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/4.681, allocations: 2.969 kB / 1.658 GB, free: 117.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002827/4.684, allocations: 0.8751 MB / 1.659 GB, free: 117.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007992/4.684, allocations: 3.836 MB / 1.663 GB, free: 113.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/4.685, allocations: 9.922 kB / 1.663 GB, free: 113.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004024/4.685, allocations: 85.14 kB / 1.663 GB, free: 113.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009519/4.686, allocations: 185.4 kB / 1.663 GB, free: 113.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008215/4.687, allocations: 1.148 MB / 1.664 GB, free: 112.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/4.688, allocations: 65.84 kB / 1.665 GB, free: 112.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/4.688, allocations: 49.38 kB / 1.665 GB, free: 112.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/4.688, allocations: 3.25 kB / 1.665 GB, free: 112.3 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002451/4.691, allocations: 0.695 MB / 1.665 GB, free: 112.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/4.691, allocations: 9.125 kB / 1.665 GB, free: 112.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000333/4.691, allocations: 84.41 kB / 1.665 GB, free: 112.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009079/4.692, allocations: 179.2 kB / 1.666 GB, free: 112.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008331/4.693, allocations: 1.151 MB / 1.667 GB, free: 111.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/4.694, allocations: 73.91 kB / 1.667 GB, free: 111.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/4.695, allocations: 42.92 kB / 1.667 GB, free: 111.2 MB / 0.7761 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: subSta.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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.0003783/4.695, allocations: 173.5 kB / 1.667 GB, free: 111.1 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/4.695, allocations: 127.8 kB / 1.667 GB, free: 111 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/4.698, allocations: 0.6968 MB / 1.668 GB, free: 110.9 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/4.698, allocations: 5.406 kB / 1.668 GB, free: 110.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.069e-06/4.698, allocations: 1.375 kB / 1.668 GB, free: 110.9 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/4.698, allocations: 0.8125 kB / 1.668 GB, free: 110.9 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004186/4.702, allocations: 1.762 MB / 1.669 GB, free: 110.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/4.702, allocations: 1.344 kB / 1.669 GB, free: 110.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006677/4.703, allocations: 111.9 kB / 1.67 GB, free: 110.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002797/4.703, allocations: 62.31 kB / 1.67 GB, free: 110.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.468e-05/4.703, allocations: 15.38 kB / 1.67 GB, free: 110.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007788/4.704, allocations: 1.132 MB / 1.671 GB, free: 109.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.018e-06/4.704, allocations: 0.7031 kB / 1.671 GB, free: 109.4 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/4.706, allocations: 0.811 MB / 1.672 GB, free: 109.1 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006691/4.706, allocations: 266.7 kB / 1.672 GB, free: 108.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/4.707, allocations: 4.594 kB / 1.672 GB, free: 108.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/4.708, allocations: 85.23 kB / 1.672 GB, free: 108.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/4.708, allocations: 28.08 kB / 1.672 GB, free: 108.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/4.708, allocations: 30.11 kB / 1.672 GB, free: 108.9 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001451/4.709, allocations: 0.7446 MB / 1.673 GB, free: 108.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.55e-07/4.71, allocations: 3.172 kB / 1.673 GB, free: 108.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003316/4.713, allocations: 0.7313 MB / 1.673 GB, free: 108.8 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.001966/4.715, allocations: 0.9407 MB / 1.674 GB, free: 108.6 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002451/4.717, allocations: 1.106 MB / 1.675 GB, free: 108.4 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.614e-06/4.717, allocations: 0 / 1.675 GB, free: 108.4 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007284/4.718, allocations: 350.2 kB / 1.676 GB, free: 108.4 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003241/4.721, allocations: 0.5431 MB / 1.676 GB, free: 108.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/4.725, allocations: 1.586 MB / 1.678 GB, free: 107.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008829/4.726, allocations: 1.243 MB / 1.679 GB, free: 107.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002948/4.729, allocations: 416.1 kB / 1.679 GB, free: 107.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/4.729, allocations: 82.91 kB / 1.679 GB, free: 107.2 MB / 0.7761 GB Notification: Performance of SimCode: time 1.356e-06/4.729, allocations: 0 / 1.679 GB, free: 107.2 MB / 0.7761 GB Notification: Performance of Templates: time 0.06092/4.79, allocations: 27.11 MB / 1.706 GB, free: 106.6 MB / 0.7761 GB