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.048/4.048, allocations: 460.4 MB / 472.6 MB, free: 5.387 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.221e-05, allocations: 4 kB / 0.5681 GB, free: 10.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1989, allocations: 106.2 MB / 0.6718 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.674/1.873, allocations: 435.2 MB / 1.097 GB, free: 310.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004501/1.873, allocations: 94.12 kB / 1.097 GB, free: 310.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.02/4.893, allocations: 0.6743 GB / 1.771 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.525e-06/4.893, allocations: 0 / 1.771 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002578/4.894, allocations: 38.09 kB / 1.771 GB, free: 145.8 MB / 0.8698 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.004588/4.898, allocations: 1.711 MB / 1.773 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/4.898, allocations: 12 kB / 1.773 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/4.901, allocations: 344.7 kB / 1.773 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02499/4.926, allocations: 8.332 MB / 1.781 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/4.926, allocations: 69.02 kB / 1.781 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003134/4.926, allocations: 88.09 kB / 1.782 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/4.929, allocations: 0.9536 MB / 1.782 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/4.929, allocations: 5.812 kB / 1.782 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/4.929, allocations: 37 kB / 1.783 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/4.929, allocations: 23.52 kB / 1.783 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/4.931, allocations: 0.6362 MB / 1.783 GB, free: 144.5 MB / 0.8698 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.008301/4.939, allocations: 4.735 MB / 1.788 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/4.94, allocations: 435 kB / 1.788 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005185/4.941, allocations: 235.3 kB / 1.788 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003139/4.944, allocations: 1.676 MB / 1.79 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007198/4.945, allocations: 386.9 kB / 1.79 GB, free: 141 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007363/4.945, allocations: 84.22 kB / 1.791 GB, free: 141 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 4.124e-06/4.946, allocations: 2.781 kB / 1.791 GB, free: 141 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.00189/4.947, allocations: 0.6759 MB / 1.791 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/4.948, allocations: 108.6 kB / 1.791 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002265/4.95, allocations: 1.101 MB / 1.792 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001712/4.95, allocations: 38.39 kB / 1.792 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006735/4.951, allocations: 0.6527 MB / 1.793 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/4.951, allocations: 156.2 kB / 1.793 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/4.951, allocations: 10.72 kB / 1.793 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.418e-05/4.951, allocations: 330.2 kB / 1.794 GB, free: 140 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/4.952, allocations: 210.9 kB / 1.794 GB, free: 140 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000656/4.952, allocations: 488.6 kB / 1.794 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006156/4.953, allocations: 300 kB / 1.794 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/4.953, allocations: 4.062 kB / 1.794 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002146/4.955, allocations: 0.876 MB / 1.795 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005555/4.956, allocations: 2.788 MB / 1.798 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/4.956, allocations: 6.438 kB / 1.798 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004761/4.956, allocations: 90.66 kB / 1.798 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008401/4.957, allocations: 161.8 kB / 1.798 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006663/4.958, allocations: 1.121 MB / 1.799 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/4.959, allocations: 76.88 kB / 1.799 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/4.959, allocations: 48.09 kB / 1.8 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/4.959, allocations: 12.42 kB / 1.8 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001705/4.961, allocations: 0.7345 MB / 1.8 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/4.961, allocations: 7.312 kB / 1.8 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003912/4.962, allocations: 89.53 kB / 1.8 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/4.962, allocations: 146.8 kB / 1.8 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006221/4.963, allocations: 1.122 MB / 1.802 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/4.964, allocations: 86.66 kB / 1.802 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/4.964, allocations: 41.28 kB / 1.802 GB, free: 134.4 MB / 0.8698 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.0002937/4.965, allocations: 185.6 kB / 1.802 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/4.965, allocations: 140.8 kB / 1.802 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/4.967, allocations: 0.8855 MB / 1.803 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/4.967, allocations: 13.12 kB / 1.803 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.501e-06/4.967, allocations: 0 / 1.803 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/4.967, allocations: 3.891 kB / 1.803 GB, free: 134.1 MB / 0.8698 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.004303/4.972, allocations: 1.978 MB / 1.805 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/4.972, allocations: 8.672 kB / 1.805 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006096/4.972, allocations: 98.78 kB / 1.805 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003905/4.973, allocations: 79.78 kB / 1.805 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.252e-05/4.973, allocations: 17.39 kB / 1.805 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006097/4.974, allocations: 1.12 MB / 1.806 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.778e-06/4.974, allocations: 10.31 kB / 1.806 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/4.975, allocations: 1.056 MB / 1.807 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000774/4.976, allocations: 296.4 kB / 1.807 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002766/4.977, allocations: 17.95 kB / 1.807 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/4.978, allocations: 86.62 kB / 1.808 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/4.978, allocations: 36.36 kB / 1.808 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/4.978, allocations: 36.66 kB / 1.808 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001624/4.98, allocations: 0.8587 MB / 1.808 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.38e-07/4.98, allocations: 0 / 1.808 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003596/4.983, allocations: 0.7535 MB / 1.809 GB, free: 131.7 MB / 0.8698 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.002205/4.986, allocations: 1.028 MB / 1.81 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002448/4.988, allocations: 1.095 MB / 1.811 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/4.988, allocations: 4.719 kB / 1.811 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007672/4.989, allocations: 366.6 kB / 1.812 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003818/4.993, allocations: 0.6305 MB / 1.812 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004588/4.997, allocations: 1.651 MB / 1.814 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009355/4.998, allocations: 1.232 MB / 1.815 GB, free: 130 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002909/5.001, allocations: 424 kB / 1.815 GB, free: 130 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/5.002, allocations: 79.45 kB / 1.816 GB, free: 130 MB / 0.8698 GB Notification: Performance of SimCode: time 1.801e-06/5.002, allocations: 0 / 1.816 GB, free: 130 MB / 0.8698 GB Notification: Performance of Templates: time 0.07235/5.074, allocations: 35 MB / 1.85 GB, free: 128.9 MB / 0.8698 GB