Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadModel(Buildings): time 4.055/4.055, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.09e-05/3.104e-05, allocations: 1.25 kB / 0.5731 GB, free: 5.754 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1947, allocations: 107.2 MB / 0.6777 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.654/1.849, allocations: 435.6 MB / 1.103 GB, free: 320.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/1.849, allocations: 93.89 kB / 1.103 GB, free: 320.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.403/4.252, allocations: 0.6743 GB / 1.778 GB, free: 16.44 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.203e-06/4.252, allocations: 0 / 1.778 GB, free: 16.44 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002539/4.252, allocations: 39.98 kB / 1.778 GB, free: 16.4 MB / 0.8855 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.004252/4.257, allocations: 1.71 MB / 1.779 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/4.257, allocations: 12.03 kB / 1.779 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/4.259, allocations: 345.7 kB / 1.78 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02353/4.282, allocations: 8.334 MB / 1.788 GB, free: 5.82 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/4.283, allocations: 70 kB / 1.788 GB, free: 5.75 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002774/4.283, allocations: 84 kB / 1.788 GB, free: 5.668 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/4.285, allocations: 0.957 MB / 1.789 GB, free: 4.656 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/4.285, allocations: 3.938 kB / 1.789 GB, free: 4.652 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/4.285, allocations: 40 kB / 1.789 GB, free: 4.613 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/4.285, allocations: 24 kB / 1.789 GB, free: 4.59 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/4.287, allocations: 0.6326 MB / 1.789 GB, free: 3.957 MB / 0.8855 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.5794/4.866, allocations: 4.726 MB / 1.794 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/4.868, allocations: 424.8 kB / 1.794 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005503/4.868, allocations: 239.5 kB / 1.795 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003142/4.871, allocations: 1.682 MB / 1.796 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007701/4.872, allocations: 382.2 kB / 1.797 GB, free: 141 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006558/4.873, allocations: 81.95 kB / 1.797 GB, free: 141 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=47): time 4.431e-06/4.873, allocations: 0 / 1.797 GB, free: 141 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47): time 0.001863/4.875, allocations: 0.6809 MB / 1.797 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/4.875, allocations: 110.2 kB / 1.798 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002589/4.877, allocations: 1.098 MB / 1.799 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/4.878, allocations: 37.58 kB / 1.799 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006945/4.878, allocations: 0.6541 MB / 1.799 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/4.879, allocations: 152.7 kB / 1.799 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.636e-05/4.879, allocations: 12.19 kB / 1.799 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.784e-05/4.879, allocations: 339.5 kB / 1.8 GB, free: 140 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004921/4.879, allocations: 212.7 kB / 1.8 GB, free: 140 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005998/4.88, allocations: 484.9 kB / 1.8 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006005/4.88, allocations: 300.4 kB / 1.801 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.548e-06/4.88, allocations: 2.719 kB / 1.801 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002211/4.883, allocations: 0.8795 MB / 1.802 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005593/4.883, allocations: 2.791 MB / 1.804 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/4.883, allocations: 5.531 kB / 1.804 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004855/4.884, allocations: 82.23 kB / 1.804 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008918/4.885, allocations: 155.1 kB / 1.805 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000743/4.885, allocations: 1.126 MB / 1.806 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/4.887, allocations: 82.5 kB / 1.806 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/4.887, allocations: 44.47 kB / 1.806 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/4.887, allocations: 7.531 kB / 1.806 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001944/4.889, allocations: 0.7424 MB / 1.807 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/4.889, allocations: 11.27 kB / 1.807 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004143/4.89, allocations: 83.53 kB / 1.807 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007759/4.89, allocations: 154.5 kB / 1.807 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006401/4.891, allocations: 1.127 MB / 1.808 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/4.892, allocations: 79.36 kB / 1.808 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/4.893, allocations: 40.89 kB / 1.808 GB, free: 134.5 MB / 0.8855 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 (70): * Single equations (assignments): 66 * 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.0003136/4.893, allocations: 192 kB / 1.808 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/4.893, allocations: 134.8 kB / 1.808 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/4.896, allocations: 0.8819 MB / 1.809 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/4.896, allocations: 6.672 kB / 1.809 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.789e-06/4.896, allocations: 1.609 kB / 1.809 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/4.896, allocations: 8.688 kB / 1.809 GB, free: 134.2 MB / 0.8855 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.004697/4.9, allocations: 1.991 MB / 1.811 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.142e-06/4.9, allocations: 1.781 kB / 1.811 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006535/4.901, allocations: 104.3 kB / 1.811 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004079/4.902, allocations: 75.39 kB / 1.811 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-05/4.902, allocations: 20.22 kB / 1.811 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006497/4.902, allocations: 1.115 MB / 1.812 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.07e-06/4.902, allocations: 3.375 kB / 1.812 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/4.904, allocations: 1.062 MB / 1.813 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006729/4.905, allocations: 293.3 kB / 1.814 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/4.905, allocations: 13.05 kB / 1.814 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/4.906, allocations: 90.48 kB / 1.814 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/4.907, allocations: 34.86 kB / 1.814 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/4.907, allocations: 33.22 kB / 1.814 GB, free: 132 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001838/4.909, allocations: 0.8565 MB / 1.815 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.055e-06/4.909, allocations: 0 / 1.815 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003384/4.912, allocations: 0.7739 MB / 1.815 GB, free: 131.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (45): * Single equations (assignments): 38 * 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.002333/4.914, allocations: 1.049 MB / 1.816 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002538/4.917, allocations: 1.095 MB / 1.818 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.426e-06/4.917, allocations: 0 / 1.818 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007961/4.918, allocations: 369.1 kB / 1.818 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003595/4.921, allocations: 0.6209 MB / 1.819 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004444/4.926, allocations: 1.648 MB / 1.82 GB, free: 131 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/4.927, allocations: 1.237 MB / 1.821 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003126/4.93, allocations: 432.2 kB / 1.822 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003297/4.931, allocations: 83.5 kB / 1.822 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.781e-06/4.931, allocations: 0 / 1.822 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.07713/5.008, allocations: 35.12 MB / 1.856 GB, free: 129.4 MB / 0.8855 GB